Nagios - Ping - You must specify a server address or host name

Andy Shellam andy.shellam-lists at mailnetwork.co.uk
Wed Aug 30 16:42:39 CEST 2006


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
>
> !DSPAM:37,44f59566143294315349427!
>
> 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
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
>
> !DSPAM:37,44f59566143294315349427!
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>
> !DSPAM:37,44f59566143294315349427!
>   


-------------------------------------------------------------------------
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
_______________________________________________
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