nrpe and NetBackup Plugin

Andreas Ericsson ae at op5.se
Thu Oct 20 17:06:00 CEST 2005



Tao Yaoning wrote:
>>
>>>I can use check_nrpe to monitor Netbackup server's disk space. But when
>>
>>I
>>
>>>use check_nrpe to communicate netbackup plugins, it always tell me that
>>
>>they
>>
>>>get error data from daemon. In fact, the netbackup plugin has standard
>>>output,
> 
> 
> Does it still look like that if you run the command as the nrpe user and
> 
> 
>>pipes stderr to /dev/null?
> 
> 
> 
> Yes, it's stilll same error "CHECK_NRPE: Error receiving data from daemon."
> 

....

See below.


> 
>>but my nagios couldn't get these standard output. When I use strace
>>
>>>to debug, I find on nagios machine it read (3, "\0" ). The netbackup
>>
>>plugin
>>
>>>use perl script and use print function to print the standard output.
>>
>>Permission issues. I'm sure you tried the command on the remote server,
>>but as root.
> 
> 
> 
> I try to run under nagios, it's still same, and I can run the plugin on
> local machine as root
> and get correct result. My files' owner are nagios.nagios
> 

I meant that you should run it on the remote host as the user it's 
running under there and see if it still seems to generate output on 
stdout. It won't, but you'll most likely get an error message. If you 
post on this subject again, I want to see that error message.

-- 
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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