This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Interface up down notification

Does anyone know how to create an alert notification for when an interface goes up or down? I'm only interested in getting a notification from the interfaces I'm monitoring. for example I have a switch with 200 ports, but I only want to get alerted on up down status of the two uplinks it has and not on all the user ports. I have about a hundred of these switches/routers.

Parents
  • The way I would do this is create a Custom Property under Interfaces with the Custom Property Editor on the SolarWinds Server.. Call it Uplink and use the True/False values to populate your uplinks.

    Then use the Advanced Alert Manager to create an alert using the Custom Property you created.

    Using the Interface as the type of property to monitor create the following alert.

    Trigger Alert when all of the following apply

         Uplink is equal to True

         Interface Status is equal to Down

    You can structure the alert how you need or add conditions if you need to filter out devices another way.

  • Thank you Rich. I might just unmanage the other interafces and not worry about the custom property, but that is a neat trick.

    Playing around with these alerts I discovered that an interface can have several different states other than up and down. Do you happen to know what they mean? Especially the 'Warning" and "Unknown"?

  • Warning is when the interface is going down and hasn't responded to ICMP for a set amount of time. It's now in a fast poll state where the polling engine is sending ICMP more rapidly to verify the down status.  If it does reply during the fast poll it goes back to an Up status.  If the interface never responds during the fast poll it's assumed down and moved to that status.  You can change the polling and fast poll rates on the polling engines under settings. Unknown is a status that Orion uses if it can't poll the interface for the initial poll after being set up.

    I also don't monitor any ports with the exception of my uplinks.  These are always in most cases user ports, and I don't need statistics from those ports.  Plus the added job weight to our pollers adds up very quickly with about 30stacks of 48port switches that are in a 4 to 5 stack totaling over 120 switches.

    If you like the statistics you can also set the non-uplink ports as "Unpluggable"  from the Edit Properties option of the Node Interface you want to set.  This is a great option to keep collecting stats, but it will ignore any alerts you built against interfaces since you have labeled that interface as an interface that can be offline, up, down, warning.. anything basically and it won't care since you listed the interface as having the ability to be unplugged.

  • I'm not sure if the warning state has anything to do with icmp. I have layer two interfaces in warning and unknown states and when I go into these interfaces details, poll stats are showing intermittent.

Reply Children
  • Well I didn't explain it the best since Interfaces aren't technically polled with ICMP at least I can't see how they would be since they aren't Layer 3 devices and don't adhere to any Layer 3 routing on the port.  My statement should have said nodes or Layer 3 devices with IP addresses for the example I gave..  I would imagine interfaces are polled with SNMP in some form or fashion, but the status should still mean the same thing.  Warning = Missing polls/dropping polls Unknown = Never has responded to a poll. 

    I'm not sure how a device would ever be unknown if it has polled since it knew the status at one point anything other than up would be down.

  • I guess you're right. It's the polling that is being missed. But I respectfully dont agree with your last statement.

    The Orion may encounter any number of issues trying to reach a specific device or poll that device, or interfaces for that matter, but does not necessarily mean the device or interface is "down". It happens to be that one of the switches I'm having these 'warning' and 'unknown' issues with is the very switch I'm connected to. If these uplink interfaces were really in a "down" state I'd be looking for another job by now. emoticons_happy.png

    I found this article online but I have no firewalls in between these switches and the NPM:

    http://knowledgebase.solarwinds.com/kb/questions/1193/Why+are+my+interfaces+changing+to+%22unknown%22+status%2C+even+when+I+know+they+are+active%3F