Calculating and affecting Node degraded status

Here we will explain how NMIS will calculate that the Node status is degraded

The Event Configuration Table

All NMIS events are processed through the Event Configuration table (Events.nmis).  One of the attributes in that table is 'status'.  When the 'status' attribute for an event is set to False the event will not affect the Node's status.  See NMIS Event List for more detail on the Event Configuration Table.

Type of Events

Degraded state is only impacted by "Alert" and "Proactive" events.  This means it excludes other event types such as Service events and Interface State events. 

The Status Summary calculation

The Degraded state is detected by evaluating if the "status_summary" value is less than or equal to 99.  The status_summary being a value from 0 to 100 which is calculated by dividing the number of status objects which are OK by the overall number of status objects and multiplying by 100.

To see what status objects a device has and what state they are in refer to the Node's "status" tab in the Node's widget in NMIS or the Node's Status Summary page if you have opCharts (opCharts > View > Nodes > Node > Node Status Summary)

Conclusion

A node will always change to Degraded if one of it's Proactive or Alarm events are triggered UNLESS:

  1. That event has it's 'status' flag set to false in the Event Configuration table (Events.nmis).
  2. It is an Interface or Service Down event.
  3. Your device has more than 100 status items and fewer than 1% of them are not in a Normal state.