[Nagiosplug-help] check_dxml_drvstate report incorrectly remotely

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Oct 14 18:40:16 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/10/08 08:21 AM, trevor obba wrote:

First of all please do not cross-post. This is a user problem for a 3rd
party plugin so there's no reason sending it to the devel mailing list,

> 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

Most likely permissions problems. Try running locally as the nagios user.

You can use Sudo to make NRPE run the plugin as root.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI9Mtw6dZ+Kt5BchYRAu1hAJ0bBP1YYHiN3ITRqVdu4brkSi2tBwCgzpvq
NRrYdVoWDmTNcu2/Yi6GkzI=
=iDlI
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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
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