I use commands similar to what you are doing, did you enable command
processing from remote submissions?

In the windows version it says something about "don't blame me"

Greg Pangrazio
pangr...@gmail.com





On Tue, Dec 8, 2009 at 11:23 AM, Morris, Patrick <patrick.mor...@hp.com> wrote:
> ReynierPM wrote:
>> Hi every:
>> I've experimenting some problems when trying to use check_ssh and
>> check_ping plugins. The configuration at remote server (where NRPE
>> resides) is as follow:
>>
>> command[check_ssh]=/usr/local/nagios/libexec/check_ssh
>> command[check_ping]=/usr/local/nagios/libexec/check_ping!100.0,20%!500.0,60%
>>
>> And then at server where .cfg resides the config is this one:
>> define service{
>>          use                             generic-service
>>          host_name                       bacula-server
>>          service_description             SSH
>>          check_command                   check_nrpe!check_ssh
>>          notifications_enabled           0
>> }
>>
>> define service{
>>          use                             generic-service
>>          host_name                       bacula-server
>>          service_description             PING
>>          check_command                   check_nrpe!check_ping
>> }
>>
>> The error for check_ping command is this:
>> NRPE: Unable to read output
>> and for check_ssh is this:
>> check_ssh: Could not parse arguments
>>
>> What I'm doing wrong or what I'm not doing?
>>
> For check_ssh, you aren't passing any arguments, and it requires at
> least a host:
>
> [pmor...@sf3-bb6 ~]$ /opt/nagios/lib/plugins/check_ssh
> check_ssh: Could not parse arguments
> Usage:check_ssh [-46] [-t <timeout>] [-r <remote version>] [-p <port>]
> <host>
>
> For check_ping, you're not passing the arguments correctly. The "!"
> syntax only works in Nagios command definitions, and does not apply to NRPE.
>
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users@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
>

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to