Hi all,
I have an issue with NTP plugin. getting plugin output on ubuntu local server. but getting wrong output on monitoring server with NRPE.
Note : this issue only on ubuntu (Working fine on RHEL and Cetos)
used plugin link :https://exchange.nagios.org/directory/Plugins/Network-Protocols/NTP-and-Time/check_ntp%28chrony%29/details
check command in nrpe.cfg
command[checkntp]=/usr/lib/nagios/plugins/check_chrony.sh 5 10
"/usr/local/nagios/etc/nrpe.cfg" 371L, 12978C
plugin out on local server
:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/check_chrony.sh 5 10
OK - time is 0.000922904 slow of NTP Time
|Time Differences in=0.000922904
plugin out on remote server using NRPE.
[root@localhost plugins]# /usr/lib64/nagios/plugins/check_nrpe -H 192.168.191.134 -c checkntp
Please provide only number in the warining and critical values
requesting to provide a solution for this issue