I have a nagios3 Lenny server looking at many nrpe agents in Lenny clients, I got this to work by commenting out the last part of this line
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
so it looks like
command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
otherwise it would either only return
NRPE v2.5.1
if I left off -c $ARG1$ off the end, or if I left -a $ARG2$ on the end it would display
NRPE: Unable to read output
after I figured it out things were fine, but now I’m trying to monitor nrpe on etch, and keep either getting the
NRPE: Unable to read output
if I use any arguments, even though the commands are hardcoded on the client in nrpe.cfg. If I don’t use arguments, all I get is
NRPE v2.5.1
so I know it’s talking to the agent. I don’t see anything in Etch client syslog even after I turn on debug that gives clues. How do I get Etch agent to give me the rest of the data?