All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
I am experiencing a problem with the SNMP GET-test, when I use the "is < than" (is lower than, right?) and changes the alert-value from 1TB to eg. 3TB.
I am using the test on 2x QNAP-NAS.
This one fails:
If I then change the alert-value to 1TB, then it works..
Looks like your SNMP agent returns string, not a number.
String "24.22 TB" < "3 TB" because "2"<"3"
Perhaps this device can provide correct int64 counter as well?
Otherwise you will need to use Optional status processing options, e.g. Use warning status if (('%SuggestedReply%' getnumberwithdot 1)>2) and ('%SuggestedReply%' getword 2)=="TB"))
Please use the following expression for "Use Warning status if" expression: (('%SuggestedReply%' getnumberwithdot 1)<3) and (('%SuggestedReply%' getword 2)=="TB")
When Optional status processing module "sees" numbers it compares them as numbers. That's why I recommended to use Optional status processing.
2, 20, or 200 - no problem.
If Reply can use some other units, e.g. KB, MB, then adjust expression to your needs