nrpe issue with solaris 9?

Andreas Ericsson ae at op5.se
Fri Nov 2 17:50:27 CET 2007


Luis Cerezo wrote:
> Hi folks,
> 
> I am seeing an odd issue with nrpe check on solaris 9.
> 
> from the solaris host: (nrpe 2.0)
> 
> bash-2.05# grep check_fs /etc/nagios/nrpe.cfg 
> command[check_fs]=/usr/lib/nagios/plugins/check_fs_space -w 85% -c 95%
> bash-2.05# /usr/lib/nagios/plugins/check_fs_space -w 85% -c 95%
> WARNING: /users is at 85%.
> bash-2.05#
> 
>>From the nagios host:
> 
> [root at linmgr ~]# /usr/lib/nagios/plugins/check_nrpe -H sanman -c
> check_fs
> File system utilization is OK
> 
> 
> Has anyone seen this?


About a billion times. You're running the check on the nrpe side as root,
but nrpe runs it as someone else, and the plugin is crap so it prints
"ok" when it fails to get the proper numbers. I'm guessing you wrote the
plugin check_fs_space yourself, and only tested it as root, right?

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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