check_icmp: use packet reception time to compute rtt (#1232)

Matthieu Kermagoret notifications at github.com
Mon Feb 3 17:08:52 CET 2014


Currently, check_icmp uses processing time to compute rtt. This can lead to
invalid values when the machine is heavily loaded. The patch I propose uses
the SO_TIMESTAMP feature of setsockopt to use the kernel reception time
instead. You can merge this Pull Request by running:

git pull https://github.com/ganoze/monitoring-plugins master

Or you can view, comment on it, or merge it online at:

https://github.com/monitoring-plugins/monitoring-plugins/pull/1232

-- Commit Summary --

* Use kernel reception time on ICMP packets to compute rtt.

* Restore check_icmp header style (spaces at EOL).

-- File Changes --

M plugins-root/check_icmp.c (55)

-- Patch Links --

https://github.com/monitoring-plugins/monitoring-plugins/pull/1232.patch
https://github.com/monitoring-plugins/monitoring-plugins/pull/1232.diff

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1232
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20140203/ea16b67f/attachment.html>


More information about the Devel mailing list