Nagios - Ping - You must specify aserver

Ranjeet Kumar ranjeetk at aztecsoft.com
Thu Aug 31 14:15:44 CEST 2006


Hi Andy,



In my case I used the following configuration : -



# 'check_ping' command definition

define command{

        command_name    check_ping

        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
$ARG2$ -p 5

        }



In service definition: -

check_command
check_nrpe!check_ping!100.0,20%!500.0,60%



Please help me in solving this issue.



Thanks,

Ranjeet



Hi Ranjeet



Can you post your command string for this plugin and similarly the

host/service that uses this command?

I'm using exactly the same versions as you except it's on Fedora 5, and

not had a problem (both local and remote commands.) Mine are as follows:



Command definition:



define command {

command_name Check_PING

command_line /usr/local/nagios/libexec/check_ping -H $ARG1$ -p 10 -w

500,50% -c 1000,100%

}



In the host definitions:



check_command Check_PING!$HOSTADDRESS$



Regards



Andy.



Ranjeet Kumar wrote:

>

> Hi,

>

> I am able to get all information from the server except ping. It gives

> the error ?You must specify a server address or host name ?.

>

> Please help me in solving this issue.

>

> I am using following:

>

> Nagios 2.5

>

> Nagios-plugins 1.4.3

>

> NRPE 2.5.2

>

> OS: Fedora Core 4

>

> Thanks,

>

> Ranjeet

>







Thanks,

Ranjeet






The information contained in, or attached to, this e-mail, contains confidential information and is intended solely for the use of the individual or entity to whom they are addressed and is subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.

www.aztecsoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060831/c33c76bc/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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