Hello Community
Is it possible to get an alert when an Interface is up/down as opposed to down/down
For example:
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.5.0.12 YES NVRAM up down
Thanks
Carlton
I have set the trigger as you have. But you're not going to get an alert unless you have a trigger and/or reset action.
Trigger Condition:
Trigger Actions:
Down/down being when the interface is physically down as opposed to administratively down?
To get alert when interface down, ensure device and interface in question being monitored and then create an alert with the following trigger condition:
Trigger Alert when all of the following apply
interface status is equal to Down
To avoid interface notifications when the node is down, define an additional condition group:
Trigger Alert when none of the following apply
Node status is equal to Down
Hi Martin,
Thanks for responding.
I actually mean when the interface is down but the protocol is up.
I understand when an interface is down/down or when the interface is admin down. However, as I mentioned there numerous situations where the interface is down/up i.e.
nterface IP-Address OK? Method Status Protocol
At present, I don't know how to compile a trigger for the above, i.e. up/down
Regards
How about:
Trigger Alert when all of the following apply:
Interface Status is equal to Down
Trigger Alert when none of the following apply:
Administrative Status is equal to Shutdown
Therefore, if an interface is down, only notify if the interface is administratively up.
Going to try that now...
You need to add another trigger condition for the status to trigger on. in this case, it would be 0 or down. Otherwise the alert will trigger simply based on the fact that the poller exists.
Do you mean like this?
This is more what you'd want:
Hi Harvey,
I tried your suggestion and I ddn't get a single alert: :-(
OK I had the wrong condition in there. Use Value is equal to Down. That should get things working
Harvey,
Thanks again for responding.
I tried your suggestion, but still no alerts;
You did set a trigger and/or reset action?
I have successfully tested this myself and managed to get alerts. I set an email action with message containing:
Trigger:
Administrative status of ${Interface.InterfaceName} is down
Reset:
Administrative status of ${Interface.InterfaceName} is up
Hello Martin,
I set the trigger is shown above. I will set the trigger as you have done and see ...
Martin,
Did you set the trigger condition as I have?
I'm talking about getting an alert in the first instant with the trigger condition
I have that in place.
Using a test Cisco 1841 router, I've added this into NPM along with interface fa0/1.
From UDP have assigned poller to fa0/1.
I've matched my alert condition and trigger to be the same as yours (apart from ${Interface.AlertInterface} and get the following email content when I admin shutdown fa0/1:
Down
RTR-1841-02 - FastEthernet0/1 - Fa0/1
FastEthernet0/1 - Fa0/1
FastEthernet0/1
2
When I bring the interface back up:
Up
1
When I physically drop the connection to int fa0/1 (so line protocol goes down):
When I reconnect:
Debatable if in this state, this achieves anything more than having an Interface down alert and/or interface shutdown alert.
I'm about to check the following:
Using Universal Device Poller you have assigned the interface(s) you want to monitor with this poller and have tested it returns a result (this is important, because I found this poller works for physical interfaces, but not sub-interfaces)