문제

I want monitor my ntpd services and ntpd service is used udp protocol。nagios have a method that is named check_udp,As follows: [root@localhost]# ./check_udp -H 127.0.0.1 -p 123 With UDP checks, a send/expect string must be specified.

I want to know how to use check_udp...

도움이 되었습니까?

해결책

I suggest saving yourself some effort and use one of the many NTP nagios plugins like the one below from the official nagios plugins package.

http://nagiosplugins.org/man/check_ntp_peer

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top