Hello:
I am using Icinga 1.3.0 with nagios-plugins-1.4.15 and check_nrpe 2.7
If this is not the correct place for this post, please excuse my indiscretion.
I’m having difficulty understanding the configuration options for check_load command on the monitoring server and the remote host.
Last night I had a Load Average of ~20 but the server failed to send out a notice.
I “thought” that a -w and -c values on the remote host would be sufficient to have Icinga send an email. Perhaps I was too hasty?
The command works manually and in the Monitor, but I am debugging why an email did not get sent.
the remote server has this nrpe.cfg:
the Icinga server ha***d*** this service definition:
which I have changed to
The check_nrpe.cfg on the Icinga host is:
[code]# this command runs a program $ARG1$ with arguments $ARG2$
define command {
command_name check_nrpe
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
}
this command runs a program $ARG1$ with no arguments
define command {
command_name check_nrpe_1arg
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}[/code]
the /var/log/mail.log* files do NOT have an entry for this event:
Icinga event log has this entry:
[05-15-2011 05:03:57] SERVICE ALERT:
ftbweb;Load;CRITICAL;SOFT;1;CRITICAL - load average: 14.57, 7.33, 3.35
Questions:
Are the “-w 5,10,15 -c 10,25,20” values on the remote host “enough” or does a comparable “!5,10,15!10,25,30” need to be present also on the Icinga server’s service definition?
or in other words…
Did changing check_nrpe!check_load on the Icinga server to check_nrpe!check_load!5,10,15!10,25,30
fix the problem, or can I expect it to fix this issue?
What I have read about this:
nagios.sourceforge.net/docs/nrpe/NRPE.pdf
Numerous dated posts on this forum (Thanks Google!)
crucialwebhost.com/blog/usin … -services/
debianhelp.co.uk/nagiosconfig.htm
debianclusters.org/index.php/Nag … figuration
and others.
Thank you for your time.