Hey everyone.
I'm trying to poll some Cisco ISR4431 and ISR4451 routers to see if they are in sync with the NTP servers.
Yes, I've searched for the specific OID (.1.3.6.1.4.1.9.9.168.1.1.11), and it exists, just not on my 4431 and/or 4451 routers. I already created a custom poller for the OID I found, but for these specific routers I'm kinda stuck.
So, I know that if I go to the CLI and do a 'sh ntp status' it will return a bunch of info. The very first line of which is whether the clock is synchronize or not.
"Clock is synchronized, stratum 3, reference is blah, blah, blah"
My question is this...
Is there a way for me to script a 'sh ntp status', have it run against those specific routers, get the data returned back, scrub the text looking for "Clock is synchronized", and then be able to put the status in the node somehow? Or at the very least, be able to send me an alert when it is NOT synchronized?
As we move forward, it seems like SNMP is fading out of existence and being replace with alternative polling methods. My Palo Alto's, for instance, offer a wide variety of information, as long as you are polling via API calls. Is SolarWinds exploring the use of various polling methods beyond SNMP? Should we look to get SolarWinds on this path now?