Would like a "report" of sorts to tell me the last time a port had an up status. Starting to dig around, but thought I'd bounce it out here first.
And I just found the NCM report I was looking for. Last Status Change for each interface.
Try this as a custom SQL report
Select Nodes.Caption, Interfaces.Caption, Interfaces.InterfaceLastChange
From Interfaces inner join Nodes on Interfaces.NodeID = Nodes.NodeID
Where Interfaces.Status='2'
This will only tell you when the status changed. I don't know a way to query what that status was when it changed.
Was hoping more of a custom snmp poller so I can just look as needed. Was playing around with sending syslog events and then filtering them out that way.
If you are recieving traps you could filter CISCO-IF-EXTENSION-MIB:cieLinkUp for the device
Does the MIB have a lastdateup or something like that?
Found ifLastChange. Now the fun part of getting the Universal Poller to walk the tree for all interfaces and show it in the Orion.
Well from the looks of things my Universal Poller will only pickup the ifLastChange of monitored interfaces. Am I missing something?
Here is the info you get from the trap
Yeah, was seeing something like that too. My problem is that I want to know what switch ports aren't in use, even though they may have a patch cable inserted. ifLastChange seems to be the thing I want, I just need to figure out how to display that for all ports in NPM/NCM and not just the ports I collect stats on.