NRPE: Unable to read output
Fritz Bloom
fritz_bloom at yahoo.de
Thu Jun 24 10:56:17 CEST 2004
Hello,
I installed the nagios server and on a remote machine
NRPE. Running a check_command via nrpe I get the
output
| $ check_nrpe -H keep -c check_users_fix
| NRPE: Unable to read output
Syslog on my remote machine says:
| Jun 24 10:48:48 keep nrpe[8653]: Connection from
XXX.XXX.XXX.XXX port 23990
| Jun 24 10:48:48 keep nrpe[8653]: Host address checks
out ok
| Jun 24 10:48:48 keep nrpe[8653]: Handling the
connection...
| Jun 24 10:48:48 keep nrpe[8653]: Host is asking for
command 'check_users_fix' to be run...
| Jun 24 10:48:48 keep nrpe[8653]: Running command:
/homes/magi/nagios/libexec/check_users -w 5 -c 10
| Jun 24 10:48:48 keep nrpe[8653]: Command completed
with return code 3 and output:
| Jun 24 10:48:48 keep nrpe[8653]: Return Code: 3,
Output: NRPE: Unable to read output
| Jun 24 10:48:48 keep nrpe[8653]: Connection from
129.70.14.22 closed.
The nrpe.cfg on the remote machine contains the line
|
command[check_users]=/homes/magi/nagios/libexec/check_users
-w $ARG1$ -c $ARG2$
Running the plugin locally on the remote machine works
fine:
| $ /homes/magi/nagios/libexec/check_users -w 5 -c 10
| USERS OK - 1 users currently logged in
The results are the same when running with and without
ssl-support.
Can anyone help me?
Thanks in advance.
Holger.
___________________________________________________________
Bestellen Sie Y! DSL und erhalten Sie die AVM "FritzBox SL" für 0.
Sie sparen 119 und bekommen 2 Monate Grundgebührbefreiung.
http://de.adsl.yahoo.com
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
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