The initial problem was due to the plug-in’s log file been own by root. Nagios could not write to the log hence the plug-in was not working when executed as nagios, deleting /tmp/check_dxml_drvstate.err and nagios automatically recreate the log file with permission to write to it fix the problem.
----- Original Message ---- From: trevor obba <[EMAIL PROTECTED]> To: nagiosplug <[EMAIL PROTECTED]>; nagios-user <[email protected]> Sent: Tuesday, 14 October, 2008 13:21:52 Subject: [Nagios-users] check_dxml_drvstate report incorrectly remotely I running check_dxml_drvstate version 1.6 on a Sles10 (x86_64) check_dxml_drvstate has 755 permission When i execute check_dxml_drvstate plugin locally like ./check_dxml_drvstate-u nagiosdriver.services.unl -p password -d mail.urs-drivers.services.unl I get these responses Driver mail.urs-drivers.services.unl is RUNNING. as expected. However when i execute check_dxml_drvstate plugin through nagios nrpe.cfg using check_nrpe I get the following responses Driver idworks.urs-drivers.services.unl is STARTING. Even when the driver has been stopped I still get the response Driver idworks.urs-drivers.services.unl is STARTING. this only report incorrectly when I run remotely via nrpe.cfg using check_nrpe I am running version 2.5.1 of check_nrpe. How can i fix the problem? can you help? please ------------------------------------------------------------------------- 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=/ _______________________________________________ Nagios-users mailing list [email protected] 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 Send instant messages to your online friends http://uk.messenger.yahoo.com ------------------------------------------------------------------------- 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=/ _______________________________________________ Nagios-users mailing list [email protected] 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
