Ping Response

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Ping Response

Post by wiproltdwiv »

hi team,

currently while pinging device for monitoring based on response of ping stastics summary which contains min, max and average RTA the warning and critical alerts has been triggered.

but practically while pinging the device the based on the continuous response, we calcualate the average fo ping response and take that one. without considering the ping statstics summary .

i kindly request you to comment on this issue
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Ping Response

Post by slansing »

Can you expand on this some more, I do not see a question in there. Thanks!
wiproltdwiv
Posts: 281
Joined: Sat Sep 08, 2012 12:52 am

Re: Ping Response

Post by wiproltdwiv »

hi..

we want clarity for how ping response is working on nagios tool.

for ex: if nagios is pinging one device , how RTA is calculating from the tool

i hope nagios will consider first 5 ping response and based on this response tool is calculation the RTA.

so, if first ping gives rta = 200ms
second ping gives rta = 200ms
third ping gives rta = 600ms
fourth ping gives rta =600ms
fifth ping gives rta = 1500ms

if warning threshold is 1200ms and critical threshold is 2000ms is configured in the tool


so in this case whether tool will take rta as 1500 and trigger warning alert ? or it will take average of rta ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Ping Response

Post by scottwilkerson »

It is the average, however you can specify the max interval with the -i in /usr/local/nagios/libexec/check_icmp

Code: Select all

/usr/local/nagios/libexec/check_icmp -h
Copyright (c) 2005 Andreas Ericsson <[email protected]>
Copyright (c) 2005-2008 Nagios Plugin Development Team
        <[email protected]>

Usage:
 check_icmp [options] [-H] host1 host2 hostN

Options:
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
 -H
    specify a target
 -w
    warning threshold (currently 200.000ms,40%)
 -c
    critical threshold (currently 500.000ms,80%)
 -s
    specify a source IP address or device name
 -n
    number of packets to send (currently 5)
 -i
    max packet interval (currently 80.000ms)
 -I
    max target interval (currently 0.000ms)
 -m
    number of alive hosts required for success
 -l
    TTL on outgoing packets (currently 0)
 -t
    timeout value (seconds, currently  10)
 -b
    Number of icmp data bytes to send
    Packet size will be data bytes + icmp header (currently 56 + 8)
 -v
    verbose

Notes:
 The -H switch is optional. Naming a host (or several) to check is not.

 Threshold format for -w and -c is 200.25,60% for 200.25 msec RTA and 60%
 packet loss.  The default values should work well for most users.
 You can specify different RTA factors using the standardized abbreviations
 us (microseconds), ms (milliseconds, default) or just plain s for seconds.

 The -v switch can be specified several times for increased verbosity.

Send email to [email protected] if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to [email protected]
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked