Service Rule for Number of Threads - How to only alert on relative values

I have some linux hosts wich have a threads-max of 884840.

The default altert threashold has the following conditions:

  • WARN / CRIT @ 2000 / 4000
  • WARN / CRIT @ 80% / 90%

I created a rule for these hosts with the only the relative conditions active. In my naive anticipation I expected this rule to overwrite the absolute criteria, but it did not.

I dont want to add a rule with aboslute values for every host.

My questions are:

  • how can I get rid of the absolute criteria?
  • What sense does it make to have absolute and relative values as threashold at the same time?

Thnx in advance.

You could add one rule that sets absurdly high values for the absolute thresholds which would never be reached thus not generating a notification.

Easy explanation. You have a host with your absolute threshold set to 5000 and the system itself has a threads-max of 10000. Now your absolute value will win every time. But if the system value is lower than your absolute value then the relative value will win and produces the alarm.

Aye, this is what I actually did for these hosts. Hoped there might be another solution.

Thnx.

Yes, I understand that this is the effect - but it does not really make sense to me. I had expected that I can disable one of these rules.

But anyway, finally I got that work-around.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.