Graphing NTP-server application returns NAN graphs

Tags: #<Tag:0x00007fb438f37688>

Hi Guys,

I’m trying to graph ntp-server application from our NTP servers. The graphs are returning -NAN values.
I have followed the document below and added the snmp extend in both target hosts:

https://docs.librenms.org/Extensions/Applications/#ntp-server-aka-ntpd

I have enabled application, services, and ntp modules in config.php:

Enable additiona poller modules

$config[‘poller_modules’][‘applications’] = true;
$config[‘poller_modules’][‘ntp’] = true;
$config[‘poller_modules’][‘services’] = true;

I have enabled NTP-server module in both hosts in the WEB-GUI

Running Discovery:

./discovery.php -h MYHOST | grep ntp
MYHOST 140 linux

Load disco module ntp

Runtime for discovery module ‘ntp’: 0.0000 seconds with 232 bytes

Unload disco module ntp

Running poller:
./poller.php -h MYHOST | grep ntp
Hostname: MYHOST
ntp-server: …

Load poller module ntp

Runtime for poller module ‘ntp’: 0.0002 seconds with 320 bytes

Unload poller module ntp

Running validate:

./validate.php

Component Version
LibreNMS 1.54
DB Schema 2019_07_03_132417_create_mpls_saps_table (139)
PHP 7.2.19-0ubuntu0.18.04.1
MySQL 10.1.40-MariaDB-0ubuntu0.18.04.1
RRDTool 1.7.0
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.9.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

ntp-1 ntp-2 ntp-3
Any advice on this please ?

Thanks

Try run through the comments at the top of the script and show outputs https://raw.githubusercontent.com/librenms/librenms-agent/master/snmp/ntp-server.sh