Threshhold
-
We have a number of access units that will report back to us the current number of associations that they have and the maximum allowed associations for the unit. We are trying to setup thresholds such that we get a warning at 75% capacity and critical at 90% capacity. So I tried setting up an item like the following under the value field:
GetDCIValue($node, FindDCIByName($node, "MaxAssociations")) * 0.90
Function: Last polled value
Samples: 1
Function: > : greater thenIt appears either my syntax is incorrect or the system does not perform evaluation for the Value field. How can this be accomplished? Thanks!
-
Value in thresholds can be only constant. You should create DCI which will use correct values and then use constants in thresholds. You can use transformation script to convert absolute value into percentage, like this:
$1 * 100 / GetDCIValueByDescription($node, "MaxAssociations")
Best regards,
VictorP.S. It is planned to add scripting support to thresholds, but this functionality most likely will be available in version 1.2.3 only.
-
Thanks for the reply, that of course gets the desired value as well for monitoring. However, since we want to track absolute associations we now have to collect two points.
Looking forward to the planned feature set of 1.2.3. This is already my favorite monitoring system I have used due to how extensible it is with scripting and such - and I have tried MANY. Only expect it to get better. Keep up the good work.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login