new install, ping services not working

Spencer Horn shorn at lssi.net
Tue May 4 16:21:17 CEST 2004


Anthony Lieuallen wrote:

>>-----Original Message-----
>>Anthony Lieuallen wrote:
>>    
>>
>>>I've recently set up nagios and am enjoying a number of the things it is
>>>capable of.  I'm having trouble setting up any services to do a "ping" of
>>>      
>>>
>a
>  
>
>>>host.  Below is what I think are the appropriate sections of my .cfg files
>>>      
>>>
>>May I see the line from your checkcommands.cfg file for check_ping?
>>    
>>
>
>Should be the default:
>
># 'check_ping' command definition
>define command{
>        command_name    check_ping
>        command_line    $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c
>$ARG2$ -p 5
>}
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: Oracle 10g
>Get certified on the hottest thing ever to hit the market... Oracle 10g. 
>Take an Oracle 10g class now, and we'll give you the exam FREE.
>http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
>_______________________________________________
>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
>  
>

Specify your warning and critical levels, for example here is mine.

define command{
        command_name    check_ping
        command_line    /usr/local/nagios/libexec/check_ping -H 
$HOSTADDRESS$ -w 600:20% -c 1000:100% -p 1
        }

sounds ling something is hosed with the macros $ARG1$ $ARG2$

Hope this helps.

Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040504/7d2bbb99/attachment.html>


More information about the Users mailing list