"check_nrpe!check_users" with no args vs with args...
Bill Schoolcraft
billschoolcraft at yahoo.com
Fri Jul 9 06:51:59 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 /
#################################################################
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list