Warning/Normal status and Alert-Actions

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).
Post Reply
JuergenF
Posts: 331
Joined: Sun Jan 26, 2003 6:00 pm
Location: Germany, North Rhine-Westphalia

Warning/Normal status and Alert-Actions

Post by JuergenF »

Dear KS-Soft-Team,

as far as I see no "Bad" or "Good" Actions are triggered for "Warning" and "Normal" statuses.

Is it possible - perhaps in advanced mode - to perform some Actions when Test goes to Warning (or Normal)
I'm thinking of:
- Changing the test interval
- Sending eMail to Admin

Which variables may we use ? Are the %Suggestedxxx% still valid ?

Many thanks

Juergen
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

as far as I see no "Bad" or "Good" Actions are triggered for "Warning" and "Normal" statuses
Quote from the manual #1
=================
Normal” status is processed similar to other “good” statuses – “Ok” and “Host is alive”. When HostMonitor sets “Normal“ status, it increases “Alive” statistics counters and executes specified “good” actions. When test status changes from “Ok” to “Normal” or vice versa, HostMonitor does not reset “Recurrences” counter. The only difference between Normal and Ok (or “Host is alive”) status is that you may use different colors for Normal and Ok statuses and sort test items by status
=================
This means - if you setup alert profile to execute some actions on "good" status, these actions will be executed on Normal status.

Quote from the manual #2
=================
Behaviour of this status (Warning) is more complicated, it depends on additional option - “Treat Warning status as Bad”. “Warning” status is processed by HostMonitor similar to “Unknown” status, therefore ”Treat Warning status as Bad” option works similar to “Treat Unknown status as Bad” option that is used for Unknown test status.
...
Treat Unknown status as Bad” and “Treat Warning status as Bad” options do HAVE an influence on the following features:
....
Actions: most important - these options define HostMonitor’s behavior when test status changes.
If options are disabled, HostMonitor will reset recurrences counter for each status change (bad <-> unknown <-> warning). Also, if options are disabled, HostMonitor will not start standard actions for “Unknown” and/or “Warning” statuses (however you may use advanced actions). As a result this leads to reset of Acknowledged flag, so if you acknowledge Warning status and then status of the test changes to Bad, HostMonitor clears ACK flag and starts specified “bad” actions. Therefore you may need to acknowledge test status again.
If options are enabled, HostMonitor treats “bad”, “unknown” and “warning” as the same status and will not reset “recurrences” counter, will not clear ACK flag either but will start standard actions for “Unknown” and/or “Warning” statuses.
=================
In short - Warning status processed similar to Unknown status
Which variables may we use ? Are the %Suggestedxxx% still valid ?
You may use any macro variable, including %Suggestedxxx%

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

Hi Alex,


[quote]Also, if options are disabled, HostMonitor will not start standard actions for “Unknown” and/or “Warning” statuses (however you may use advanced actions)[/quote]

I want to use advanced action with a suitable expression.

In the action profile dialogue I can define "bad status action" and "good status actions". IMHO this means that they are executed only in case of Status = bad AND expression = true resp. Status = good AND expression = true.

Now you say that Warning Status is neither good nor bad (unless the box is ticked). So I have no idea where to put the advanced action expression to?

Can you help me?

Thomas

PS: How can I switch HTML on in this forum?
Last edited by thomasschmeidl on Tue Dec 26, 2006 3:25 pm, edited 2 times in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

There is no difference for HostMonitor where you put advanced action. It checks logical expressions. 2 groups - "bad" and "good" is for your convenience so you may separate actions without checking all properties every time

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

So:

It DOES make a difference where to put Actions with standard mode conditions.

It DOESN'T make a difference where to put actions with advanced mode conditions.

If I use advanced mode I have to form an expression like ('%SimpleStatus%'=='DOWN') AND ... to limit the action to bad test results.

Is that correct?

Thomas
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Correct

Regards
Alex
Post Reply