|
View previous topic :: View next topic |
Author |
Message |
genasea
Joined: 25 Sep 2002 Posts: 27
|
Posted: Wed Jan 03, 2007 1:41 pm Post subject: Handling 'Unknown' status with new status codes |
|
|
We get a lot of Unknown's through out the day - the vast majority being from snmp get tests and performance counter tests. Since snmp is udp, if the packet gets lost in transit, HM reports it as an 'Unknown' status. We also get dozens of Unknowns each day from performance counter based tests (using the local RMA agent on the server) which results in various reply's - (RMA: 301 - Error: A counter with a negative value ..., Inaccessible Value, RMA: Cannot read data, etc.) which all clear up after another retest or two.
Is there a way to use the new variables (to set normal or warning) to return a 'normal' or 'warning' if the snmp packet is lost in transit for 3 samples in a row, or if a performance counter (or an RMA agent request to get perf counter data) fails to respond with a value 3 times in a row?
Thank you |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jan 03, 2007 4:36 pm Post subject: |
|
|
Quote: | Is there a way to use the new variables (to set normal or warning) to return a 'normal' or 'warning' if the snmp packet is lost in transit for 3 samples in a row, or if a performance counter (or an RMA agent request to get perf counter data) fails to respond with a value 3 times in a row? |
Why not? Have you tried expression like ('%SuggestedSimpleStatus%'=='UNKNOWN') and (%CurrentStatusIteration%<3) ?
Do not forget to disable "Treat Unknown as Bad" option.
On the other hand, do you really need to replace Unknown status? It does not start alerts (if "Treat Unknown as Bad" option is disabled) and does not increments "bad" statistic counters.
Quote: | RMA: Cannot read data, etc.) |
Try to increase timeout specified for this agent.
BTW: We recommend to use WMI test instead of Performance Counter. WMI works more reliable.
Regards
Alex |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|