basically, what would be nice is to have an alert to tell me when switch's dont match the NTP server
we are using some routers as servers, which then update via the internet to a NTP server.
Hi Spiky,
You should try to create a Universal Device Poller on the following OID:
http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=cntpSysSrvStatus
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 UnDP => Create a Universal Device Poller (UnDP) in the Orion Platform - SolarWinds Worldwide, LLC. Help and Support
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.
Cheers
Yann
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?
Spiky,
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...http://www.cisco.com/en/US/docs/ios/12_3/configfun/command/reference/cfr_1g05.html#wp1059331
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
hello Spiky,
Please guide me on hwo do i enable NTP on networking device.
Did you ever get an answer to this question? Here is a link to a good tutorial below. (although it doesn't look like a link). It really depends on its function. All my network equipment is configured as server clients just to make it simple.
Here is the simplest way that I have found to do it.
hostname> conf t
hostname<config>#ntp server X.X.X.X
hostname<config>#ntp server Y.Y.Y.Y
Where X.X.X.X is your primary server and Y.Y.Y.Y is your secondary server. If you want one of the two to be the preferred server, then type in prefer after the IP. Make sure that your time servers don't require authentication. If they do, then there are a few other steps that you have to go through in order to synchronize to the ntp servers.
Verify that it is configured correctly by running commands such as show ntp status (hopefully it returns a message that shows your network device is synchronized.) You can also run show ntp associations, if synchronized you will see either a * which means that it is the ntp peer it synchronized to or a + which means it is a candidate. Also look for a stratum level which tells you which level the ntp server you synchronized to is at. Hope this helps!
How to Configure NTP in Cisco Router