|
View previous topic :: View next topic |
Author |
Message |
StevenE
Joined: 27 Jul 2005 Posts: 97
|
Posted: Tue Sep 28, 2010 3:25 pm Post subject: Traffice monitoring and warning |
|
|
We have several devices being monitored for traffic monitoring. The warning is set to 5000 kb/sec. That is all working and has been for a while.
The problem I am having is I would like to setup so they show up as Warning at 2000, I have tried ("%Reply_Number%" > 2000 ) and it doesn't work.
It appears %Reply_Number% and %Reply_Integer% do not have the correct values, and it also appears those variables are not changing at all.
We are running 8.68c.
Is there something I missing or doing wrong ?
Thanks
Steven |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Tue Sep 28, 2010 5:22 pm Post subject: |
|
|
Quote: | It appears %Reply_Number% and %Reply_Integer% do not have the correct values, and it also appears those variables are not changing at all |
Correct. These number are not changed by HostMonitor at this stage.
Quote from the manual
===================
1) HostMonitor performs the test;
2) processes "Reverse alert" option;
3) sets "suggested" macro variables (%SuggestedStatus%, %SuggestedSimpleStatus%, %SuggestedReply%, %SuggestedRecurrences% and %FailureIteration%) without touching regular counters (%Status%, %Reply%, %Recurrences%, etc);
4) then HostMonitor evaluates "Warning", "Normal" and "Tune up Reply" expressions
5) and finally modifies current test status, reply field and statistics counters (Status, Reply, Alive%, Passed tests, Failed tests, etc).
===================
So you should use %SuggestedReply% variable.
Also '2000 KB' == 2048000, this means your expression should look like
'%SuggestedReply%' > 2048000
or
'%SuggestedReply%' > '2000 KB'
Regards
Alex |
|
Back to top |
|
|
StevenE
Joined: 27 Jul 2005 Posts: 97
|
Posted: Wed Sep 29, 2010 10:09 am Post subject: |
|
|
Duh... It has been a while since I have had to change anything.
Thanks that did it.
Steven |
|
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
|