Need to Monitor Networkdevices NTP service through NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: Need to Monitor Networkdevices NTP service through Nagio

Post by progressive.nagiosXI »

Hi Support Team,

HP devices are Switch, firewall router and access point, we think that these are the customize Linux.

Yes, for network devices we use SNMP. Please share feasible solution for network devices NTP-Time-Sync monitoring.

Thanks,
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Need to Monitor Networkdevices NTP service through Nagio

Post by gsmith »

Hi,

"HP devices are Switch, firewall router and access point, we think that these are the customize Linux."
To test if we can use a plugin on these devices download check_ntp_server_sync.sh from https://exchange.nagios.org//
onto one of the devices. It was saved in Windows format so you will need to use a utility like dos2unix to fix it. Make sure the ntpd
service is running, and then from a command line run ./check_ntp_server_sync.sh
You should get a result like: "Synchronized with the server: 162.159.200.1 offset: -4.838"
If you get that result then I can help you to set up NCPA on the device(s).

"Yes, for network devices we use SNMP. Please share feasible solution for network devices NTP-Time-Sync monitoring."
Again, each make/model will be different (even from the same vendor sometimes) depending on the device.
Follow these steps please:
1) find the manufacturer and model of each device
2) find the OID from the vendor/their documentation/or their MIB files (that you would get from the vendor) that meets your needs (NTP sync status or even the current device time). It is up to the vendor if they even allow you to monitor those through SNMP on that specific network device.
3) Now you could use those OIDs in the SNMP wizard to monitor them. It is at this point that I would be able to give you help.

Thanks
Locked