NRPE: Unable to read output
Marc Powell
marc at ena.com
Fri May 16 14:09:07 CEST 2008
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Marcus
> Sent: Friday, May 16, 2008 4:06 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] NRPE: Unable to read output
>
> Hi Folks,
>
> i'm trying to get a plugin for openvpn
> (http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1315.html) to
work
> with nrpe, but it gives me the dreaded "NRPE: Unable to read
output"-error.
Thanks for including where you got the plugin.
> command[check_vpn]=/usr/local/nagios/libexec/check_openvpn -H
127.0.0.1
> -p 1195 -P mypwd -n
>
> When i issue
> nagios at u-23:/usr/local/nagios/libexec>
> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_vpn
>
> results in
>
> NRPE: Unable to read output
>
> Can anybody please give me a hint whats going wrong here. :-/
Try redirecting its output to a file so you can see the error output--
command[check_vpn]=/usr/local/nagios/libexec/check_openvpn -H 127.0.0.1
-p 1195 -P mypwd -n >/tmp/output 2>&1
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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