monitoring-plugins/plugins-root
Sven Nierlein 0488426c7e check_icmp: keep performance data order in case of none-reachable hosts
For responding hosts nothing changes:

    ./check_icmp -H 10.0.0.1
    OK - 10.0.0.1 rta 0.336ms lost 0%|rta=0.336ms;200.000;500.000;0; rtmax=0.471ms;;;; rtmin=0.000ms;;;; pl=0%;40;80;0;100

In case the host is down, the performance data now contain 'U' according to:
https://www.monitoring-plugins.org/doc/guidelines.html#AEN201

Old:
    ./check_icmp -H 10.0.0.99
    CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|pl=100%;40;80;0;100

Old:
    ./check_icmp -H 10.0.0.99
    CRITICAL - 10.0.0.99: Host unreachable @ 10.0.1.138. rta nan, lost 100%|rta=U;;;; rtmax=U;;;; rtmin=U;;;; pl=100%;40;80;0;100

This confuses some performance graphing tools, ex.: pnp.

Signed-off-by: Sven Nierlein <sven@consol.de>
2024-03-01 09:03:17 +01:00
..
t check_icmp: keep performance data order in case of none-reachable hosts 2024-03-01 09:03:17 +01:00
check_dhcp.c check_dhcp: Make implicit conversion explicit to dismiss warning 2023-12-29 00:59:58 +01:00
check_icmp.c check_icmp: keep performance data order in case of none-reachable hosts 2024-03-01 09:03:17 +01:00
Makefile.am Prevent -lcrypto from showing up in Makefile dependencies 2023-12-06 11:40:18 -05:00
pst3.c Fix a lot of typos reported by codespell 2023-04-14 18:35:00 +00:00