You should try to create a Universal Device Poller on the following OID:
Object cntpSysSrvStatus OID 126.96.36.199.188.8.131.52.184.108.40.206 Type INTEGER Permission read-only Status current Values 1 : unknown
2 : notRunning
3 : notSynchronized
4 : syncToLocal
5 : syncToRefclock
6 : syncToRemoteServer
1: server status is unknown
2: server is not running
3: server is not synchronized to any time source
4: server is synchronized to its own local clock
5: server is synchronized to a local hardware refclock (e.g. GPS)
6: server is synchronized to a remote NTP server"
This will return you the status of the clock on your switch. Then you can create an advanced alert which will trigger an action based on the value of that UnDP.
If that OID does not return anything you should browse the Cisco-NTP-MIB for another OID which might more relevant or verify that this MIB is supported on your switch.
To Create the advanced alert, ensure you have the "Type Of Property to monitor" set to Custom Node Poller in the Trigger Condition tab, otherwise you will not have the option to select the UnDP status in the conditions.
hi, thanks for that, thats a a great help,
the only part i cant complete is i cant find UnDP status in the conditions.
i have selected custom node poller in the trigger tab
also found that my 3750 switch's and 3660's routers dont suppoort that mib
unless i need to upgrade the MIB tables on solarwinds?
You can check which MIB are supported on your IOS/CatOS version there: http://tools.cisco.com/ITDIT/MIBS/servlet/index
The Cisco-NTPMIB is already in the latest Orion MIB Database. You can always update it by downloading it from your customer portal.
Concerning the alert, the conditions you will need to use for a simple one would be:
Poller Name is equal to "Name of your UnDP"
Status is not equal to "X"
To select poller name, go to Custom Node Pollers > Poller Name
and for the Status: Custom Node Pollers > Status
If that MIB is not supported by your Switches/Routers you should have a look at the Traps/Syslog features, you might be able to send a notification to Orion when your equipment cannot synchronize its clock with the NTP Server.
After googling few minutes I found the ntp logging command which might do the trick...
Let me know if you have the time to test it and if it works.
I have it working on a advance alert now :)
thanks for the help :)
Can you post how you wrote your alert please?