Condition/Alert Question
Condition/Alert Question
Let's say you have four pc's and you are testing them with a PING test.
If one fails you generate an alert condition saying that the PC is down.
If all four fail, is there anyway to generate a different alert condition saying that the router/hub/network is down?
If one fails you generate an alert condition saying that the PC is down.
If all four fail, is there anyway to generate a different alert condition saying that the router/hub/network is down?
I think you may use "advanced" mode action:
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
Use expression like ('%::Test1::SimpleStatus%'=='DOWN') and ('%::Test2::SimpleStatus%'=='DOWN') and ('%::Test3::SimpleStatus%'=='DOWN') and('%::Test4::SimpleStatus%'=='DOWN') and
((%::Test1::Recurrences%==1) or (%::Test2::Recurrences%==1) or (%::Test3::Recurrences%==1) or (%::Test4::Recurrences%==1))
Regards
Alex
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
Use expression like ('%::Test1::SimpleStatus%'=='DOWN') and ('%::Test2::SimpleStatus%'=='DOWN') and ('%::Test3::SimpleStatus%'=='DOWN') and('%::Test4::SimpleStatus%'=='DOWN') and
((%::Test1::Recurrences%==1) or (%::Test2::Recurrences%==1) or (%::Test3::Recurrences%==1) or (%::Test4::Recurrences%==1))
Regards
Alex
I was wrong
You may use "HMScript" action and SetUserVariable script command
www.ks-soft.net/hostmon.eng/mframe.htm# ... #actScript
Regards
Alex

You may use "HMScript" action and SetUserVariable script command
www.ks-soft.net/hostmon.eng/mframe.htm# ... #actScript
Regards
Alex
I used the HMScript to change the value of my UDV, but in the .html file that is built, the UDV name still shows up, instead of it's value.
When I use a HM defined variable like %Folder% it shows correctly<meta http-equiv="REFRESH" CONTENT=%udv_refresh_time%>
<meta http-equiv="REFRESH" CONTENT=Root>
There is list of macro variables that can be used in the report
www.ks-soft.net/hostmon.eng/mframe.htm# ... m#RepMacro
HostMonitor does nto support UDV macros in the report template
Regards
Alex
www.ks-soft.net/hostmon.eng/mframe.htm# ... m#RepMacro
HostMonitor does nto support UDV macros in the report template
Regards
Alex