Hi,
I have the same problem with the script. No output when running perl ntp.pl <hostname>.
When I run /usr/bin/ntpq -4 -p $host it does show output.
ntp.pl output:
Code: Select all
peer:U address:U stratum:U type:U when:U poll:U reach:U delay:U offset:U jitter:U
/usr/bin/ntpq -4 -p $host output: (ip addresses removed)
Code: Select all
remote refid st t when poll reach delay offset jitter
==============================================================================
------.-----.- .BCST. 16 u - 64 0 0.000 0.000 0.000
------.-----.- .BCST. 16 u - 64 0 0.000 0.000 0.000
------.-----.- .BCST. 16 u - 64 0 0.000 0.000 0.000
85.12.35.12 193.67.79.202 2 u 27h 1024 0 20.520 -10.931 0.000
The new script on the docs.cacti.net site isn't available, download link isn't working, so I couldn't try that one.
The perl version that is installed on my system is:
This is perl 5, version 18, subversion 1 (v5.18.1)
Somebody an idea how to solve this?
Grtz