Are you sure your configs are correct? I noticed your config seems to specify two differnet locations for the check_tcp plugin:
> Feb 25 15:17:55 ebox nrpe[10779]: Running > command: /usr/lib/nagios/libexec/check_tcp -H localhost -p 22 > Feb 25 15:18:49 ebox nrpe[10827]: Running > command: /usr/lib/nagios/plugins/check_tcp -H localhost -p 22 My guess is that the second one is erroring out because the plugin is not there. On Thu, 25 Feb 2010, Joao Ferreira gmail wrote: > Hello, > > I have a strange issue with nrpe > > - nrpe compiled with support for arguments > - option dont_blame_nrpe = 1 > > plugins fail if I pass arguments; tested with check_tcp, check_icmp and > check_load; none of them works if arguments come from the nagios > station; they all work if arguments are statically written in nrpe.cfg > > I've tested the same command: > - 1st with all args typed directly in nrpe.cfg: works fine > - 2nd with args passed from the "client": fails. > > bellow a log with details; the only difference between the 1st and the > second is that the 2nd receives args from the "client" nagios station > > Thank you > Joao > > > > #nrpe boot > Feb 25 15:17:27 ebox nrpe[10773]: Added > command[check_ssh_localhost]=/usr/lib/nagios/libexec/check_tcp -H > localhost -p 22 > Feb 25 15:17:27 ebox nrpe[10773]: Added > command[check_tcp_host_port]=/usr/lib/nagios/plugins/check_tcp -H $ARG1$ > -p $ARG2$ > Feb 25 15:17:27 ebox nrpe[10773]: INFO: SSL/TLS initialized. All network > traffic will be encrypted. > Feb 25 15:17:27 ebox nrpe[10774]: Starting up daemon > Feb 25 15:17:27 ebox nrpe[10774]: Warning: Daemon is configured to > accept command arguments from clients! > Feb 25 15:17:27 ebox nrpe[10774]: Listening for connections on port > 5666 > > #command check_ssh_localhost > Feb 25 15:17:55 ebox nrpe[10779]: Connection from 172.16.151.1 port > 23788 > Feb 25 15:17:55 ebox nrpe[10779]: Handling the connection... > Feb 25 15:17:55 ebox nrpe[10779]: Host is asking for command > 'check_ssh_localhost' to be run... > Feb 25 15:17:55 ebox nrpe[10779]: Running > command: /usr/lib/nagios/libexec/check_tcp -H localhost -p 22 > Feb 25 15:17:55 ebox nrpe[10779]: Command completed with return code 0 > and output: TCP OK - 0.030 second response time on port 22| > time=0.030150s;;;0.000000;10.000000 > Feb 25 15:17:55 ebox nrpe[10779]: Return Code: 0, Output: TCP OK - 0.030 > second response time on port 22|time=0.030150s;;;0.000000;10.000000 > Feb 25 15:17:55 ebox nrpe[10779]: Connection from 172.16.151.1 closed. > > #command check_tcp_host_port > Feb 25 15:18:49 ebox nrpe[10827]: Connection from 172.16.151.1 port > 25836 > Feb 25 15:18:49 ebox nrpe[10827]: Handling the connection... > Feb 25 15:18:49 ebox nrpe[10827]: Host is asking for command > 'check_tcp_host_port' to be run... > Feb 25 15:18:49 ebox nrpe[10827]: Running > command: /usr/lib/nagios/plugins/check_tcp -H localhost -p 22 > Feb 25 15:18:49 ebox nrpe[10827]: Command completed with return code 3 > and output: > Feb 25 15:18:49 ebox nrpe[10827]: Return Code: 3, Output: NRPE: Unable > to read output > Feb 25 15:18:49 ebox nrpe[10827]: Connection from 172.16.151.1 closed. > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > [email protected] > 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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] 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
