Page 2 of 2

Re: How do I set up rta alerts against a router ?

Posted: Mon Dec 15, 2014 7:29 am
by vijilants
slansing wrote: As far as alerting goes, that is handled through the Alert Settings tab. Just make sure your time period is correct, as well as the types of alerts you'd like to receive, and how often you would like to receive follow-up alerts after the check has gone through it's retry interval. You also need to define the contact's who you'd like to send those notifications to. Once the changes have been made, click the save button, then apply configuration.
As far as the notifications are concerned none of the options available appear to tie in with sending a notification when the warning or critical values are reached ?

The only notification options are d, u, r , f and s ? and the stalkin options are d, o, and u ?

So what do I set to set to get a notification on the warning or critical arguments ?

Thanks

Re: How do I set up rta alerts against a router ?

Posted: Mon Dec 15, 2014 12:56 pm
by sreinhardt
The d option for host notifications is down. Hosts are only in an OK or Down state when considering the normal OK, Warning, and Critical. A host check that returns either warning or critical will actually put the host in a down state, which is similar to a critical service. You must have these enabled on the host and contact's settings.

Re: How do I set up rta alerts against a router ?

Posted: Wed Dec 17, 2014 8:54 am
by vijilants
sreinhardt wrote:The d option for host notifications is down. Hosts are only in an OK or Down state when considering the normal OK, Warning, and Critical. A host check that returns either warning or critical will actually put the host in a down state, which is similar to a critical service. You must have these enabled on the host and contact's settings.
On the alerts tab under the host in CCM I have checked none of the options but I am now getting notifications when the latency goes above 20ms. However the notification shoes as down.

I don't want it to show as down but as a warning.

Re: How do I set up rta alerts against a router ?

Posted: Wed Dec 17, 2014 12:59 pm
by lmiltchev
I don't want it to show as down but as a warning.
No matter what the return code is (0,1,2 or 3), the host state could be only "UP" or "DOWN"... You could modify the "use_aggressive_host_checking" directive in the "nagios.cfg" if you wish to change the host state on warnings. Read more on the topic here:

http://nagios.sourceforge.net/docs/3_0/pluginapi.html