nrpe / check_smart_ide

ibloodyhatespam at gmail.com ibloodyhatespam at gmail.com
Wed Nov 5 13:46:57 CET 2008


Odd problem this. I'm using nagios 3.0.4 and I've just installed nrpe 2.1.2.
Most checks through nrpe work fine on this host except for one:
check_smart_ide.

 

Suid bit has been set, and logging in as the nagios user and manually
performing a "./check_ide_smart -n -d /dev/sda" results in a nagios readable
result ("OK - Operational (17/17 tests passed)")

Nagios on this machine also checks an nrpe plugin on another one with two
check_ide_smart checks, and they do work fine within nagios.

 

For a check_smart_ide on the machine itself however, I get "NRPE: Unable to
read output".

 

nrpe.cfg:

command[check_ide_smart_sda]=/usr/local/nagios/libexec/check_ide_smart -n -d
/dev/sda

 

 

server.cfg:

define service{

        use generic-service

        host_name hera

        service_description SMART sda 80GB system

        check_command check_nrpe!check_ide_smart_sda

        }

 

If the nagios user itself can run the command, why wouldn't nagios/nrpe be
able to?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081105/a1467671/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
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