4 Replies Latest reply on Feb 13, 2018 6:12 PM by mthughes

    How to add a custom OID to monitor on a Cisco Router

    kange0010

      Hello Y`all,

      I'm hoping the community could help answer some questions:

       

      1) How would I add a custom OID in my NPM to be monitored on an existing Cisco Router?

      2) Specifically I'm looking to monitor states of BGP.  I'm not sure if Solarwinds has a way to monitor every state and if it can how would the colors look like if I placed it in Network Atlas?  I guess to make things easier, I want BGP to be green if the state is "established" and for any other state the color would be red.

      3) If Solarwinds can do what I'm looking for, how would that affect the state of the physical router itself as opposed to the state of BGP the router has configured?  For example, right now the router is physically up so the color of the node is obviously green but if the BGP goes down the node will still be green because the node is still up but how would I know that BGP is down?

       

      Sorry if this seems confusing but basically all I want to do is be able to monitor BGP for an existing node and have that come up as green or red depending on the states.

        • Re: How to add a custom OID to monitor on a Cisco Router
          mesverrum

          The tool for adding in custom SNMP OID monitors is called the universal device poller, SolarWinds Orion Network Performance Monitor Universal Device Poller UnDP - YouTube

           

          But The UNDP does not have any built in color coding to reflect states.  It can display the whatever the of the OID is, and you can show those in Atlas, but there is no scheme I've ever seen that would allow you to color code them, all responses are basically good responses for the GUI.

          Within custom SWQL/SQL resources you can use case logic to specify a color/icon to be used when the status comes back with a specific value, but that color wouldn't impact the color of the node, it would just apply within the report you build.

          • Re: How to add a custom OID to monitor on a Cisco Router
            mthughes

            You can poll the value using the Universal Device Poller (UnDP) as mentioned and display the results in a table on a summary page and on the node detail page. It is a little more difficult to get those results into Network Atlas but might not be possible yet to provide the status on the map object based on a UnDP value though. The OID you are looking for is the BGP4-MIB-bgpPeerState MIB (1.3.6.1.2.1.15.3.1.2).  Here is a simple UnDP table I use to display the BGP status for my three edge routers on the SolarWinds NPM Summary Home page.

             

            BGP Peer State Table

             

            Here is a section of a Network Atlas Map showing temperature of some racks in my Datacenter. The status of the device is not based on the temperature (in C) though - it is whether the device is up or not. I have never been able to get the custom polled data to provide a status change on a Network Atlas map.

             

            Network Atlas Temperature Map - UnDP polled data

             

            The answer to your question in summary:  Yes, SolarWinds can monitor SNMP OIDs not provided out of the box in NPM, and you can create alerts based on those values and get some visual feedback in the normal summary and node detail pages but as far as I know you can not get a visual feedback from a custom UnDP value on a Network Atlas map.

              • Re: How to add a custom OID to monitor on a Cisco Router
                kange0010

                Thank you both for the feedback.

                 

                 

                mthughes,

                 

                How did you make that so-called "simple UnDP table?"  That is definitely the direction I am looking for my Home Summary page.  Did you do a poller for each router or 1 poller for the 3?  I setup 1 UnDP for all the routers that have BGP and applied a chart to the "Node Details Summary" page because when I checked the box to have a chart on the Home Summary page it didn't make sense to me because it's just a line chart showing me that my routers are at "6" (established) but nothing distinguishes individuality; it looks like a group of BGP routers and if any lose their established state then the chart would be affected but it doesn't look like it would show which router has the down state.  Please advise.  I have also setup alerts to trigger when any BGP state has a value less than the numeric value of "6."

                  • Re: How to add a custom OID to monitor on a Cisco Router
                    mthughes

                    Hi Kang,

                     

                    You definitely want to use a table and not a custom chart. Add the Custom Table resource (it is considered category Reporting) to the page where you want to see the information.

                     

                    1. When you edit the Custom Table you will select Specific Objects (static selection) for the selection method and then choose Custom Node Pollers from the Show dropdown.

                     

                    Custom Table UnDP Pollers

                    Select the unique custom node pollers (they are shown per node) that you want displayed in the table. You should have already assigned your UnDP pollers to the correct nodes using the Universal Device Poller application on your SolarWinds Server.

                     

                    2. Then add the columns that you want displayed in the table. You will click on the + symbol to add columns and select Custom Node Poller as the Orion object and then Custom Poller or Custom Poller Current Stats and choose the appropriate object.

                    Custom Table Column Selection UnDP Poller

                     

                    3. Keep adding as many columns as you want and then you have the ability to sort and group the way you want, rename the Title of the Custom Table etc.  Be aware that when you rename the Title that it also renames it on the SolarWinds page layout customization view which can be very frustrating when you are trying to create a similar resource 6 months later and you can not remember what type of resource you used.

                     

                    Custom Table UnDP Pollers Settings

                    Side Notes:

                    If you do not want to remember the BGP SNMP status values you can enumerate them into their proper readable values in the UnDP poller. Here are the correct values and how to set them in the UnDP,

                    UnDP Poller BGP Enumeration

                    You will still be able to create alerts based on the raw value.

                     

                    If you needs any other pointers feel free to ask.

                    2 of 2 people found this helpful