[Nagiosplug-help] "check_nrpe!check_users" with no args vs with args....
Bill Schoolcraft
billschoolcraft at yahoo.com
Fri Jul 9 06:55:16 CEST 2010
Whew... did not think this would work, but it's the only combo that DID work...
I only have two servers configured right now here at home, Ubuntu-10.04 (localhost with Nagios 3.20) and CentOS-5.4 (NRPE 2.12)
I had tried just "check_nrpe!check_users" with the args on the NRPE (remotehost) side and when running automatically, would get confusion on the Nagios interface [state-unknown] and [arg-suggestions]. Manually the handshakes with no args on the localhost and args on the NRPE remotehost, worked fine but as a last resort before hitting the sack I loaded up both sides with args and BINGO... the interface all turned green.
Bought the last copy of the new Wolfgang Barth book this week and in one week the book looks years old from usage but what I did below was just a hack and it worked... Maybe tomorrow morning after some sleep it will all seem logical...
Below is what finally turned the the remote host screen green...
#################################################################
check_command check_nrpe!check_users!5.0!10.0
command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10
#################################################################
check_command check_nrpe!check_procs!250!400
command[check_procs]=/usr/lib/nagios/plugins/check_procs -w 150 -c 200
#################################################################
check_command check_nrpe!check_load!5.0!4.0!3.0!10.0!6.0!4.0
command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20
#################################################################
check_command check_nrpe!check_disk!20%!10%
command[check_disk]=/usr/lib/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p /
#################################################################
--
Bill Schoolcraft
(415) 939-8058
http://billschoolcraft.com
More information about the Help
mailing list