R: plugin 1.4 - check_ping

Marco Borsani m.borsani at it.net
Tue Sep 13 16:51:12 CEST 2005


Ton,

I check both config.h (1.3.1 & 1.4) . I am not sure to understand yor
question about "the command specified in config.h", but I can tell you than
in both files I see same command
#define PING_COMMAND "/usr/sbin/ping %s -n %d"

Running check_ping -v -v -v (??) I see little differences :

1.3.1 check_ping :
<wrta> was not set
Could not parse argumentsUsage:
 check_ping -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%
       [-p packets] [-t timeout] [-L]
 check_ping (-h | --help) for detailed help
 check_ping (-V | --version) for version information

1.4 check_ping :
<wrta> was not set
check_ping: Could not parse arguments
Usage: check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
                     [-p packets] [-t timeout] [-L] [-4|-6]

Regards.
Marco

-}-----Messaggio originale-----
-}Da: Ton Voon [mailto:tonvoon at mac.com]
-}Inviato: martedi 13 settembre 2005 16.27
-}A: Marco Borsani
-}Cc: NAGIOS
-}Oggetto: Re: [Nagios-users] plugin 1.4 - check_ping
-}Priorita: Alta
-}
-}
-}Marco,
-}
-}I've just tried this on a HP testdrive server and I get a failure
-}too. Looks like the ping command has not been picked up in the
-}configure options.
-}
-}Can you try your 1.3.1 plugins and let me know what the command
-}specified in config.h is? You may be able to do a check_ping -v -v -v
-}to see the ping command used.
-}
-}Ton
-}
-}On 13 Sep 2005, at 13:42, Marco Borsani wrote:
-}
-}> Hi all !
-}>
-}> I am testing plugin 1.4 on my HP-UX 11.0 and Nagios 2 system , but
-}> when I
-}> run check_ping command (release 1.45) a receive a "Memory fault
-}> (coredump)"
-}> #> ./check_ping -H IPADDRESS -w 100,10% -c 200,20%
-}>
-}> Same command using check_ping release 1.11 works fine.
-}>
-}> Do you know why?
-}>
-}> Regards
-}>
-}> Marco Borsani
-}> Unix & Monitoring System Administrator
-}> Technical Operation
-}> Tel.    +39 010 4310115
-}> Fax     +39 010 4327454
-}> E-mail: m.borsani at IT.net
-}>
-}> ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni
-}> S.p.A.
-}> Internet Service Provider
-}> Sede legale:                     Via C.G.Viola, 48 - 00148 Roma
-}> Dir. Centrale e Amministrativa:      Via Pacinotti, 39
-}>                                  16151 Genova (Italy)
-}>
-}> http://www.it.net
-}> mailto:info at IT.net
-}> _______________________________________________________________
-}> Altre sedi ITnet:
-}> MILANO tel.: +39 02 30114900    info-milano at IT.net
-}> ROMA    tel.: +39 06 83116707    info-roma at IT.net
-}> _______________________________________________________________
-}> ITnet is associated to CIX (Commercial IP eXchange) and RIPE
-}> ITnet is associated to AIIP (Associazione Italiana Internet Providers)
-}>
-}>
-}>
-}>
-}> -------------------------------------------------------
-}> SF.Net email is Sponsored by the Better Software Conference & EXPO
-}> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
-}> Practices
-}> Agile & Plan-Driven Development * Managing Projects & Teams *
-}> Testing & QA
-}> Security * Process Improvement & Measurement * http://www.sqe.com/
-}> bsce5sf
-}> _______________________________________________
-}> 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
-}>
-}>
-}> This message has been scanned for viruses by MailController -
-}> www.MailController.altohiway.com
-}>
-}



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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