Once you know how it works, it doesn't have to be very difficult to configure a watch in Spectrum. Snmp traps would be much easier to implement and is still the standard in my opinion, but in some cases you might not be able or allowed to use traps.
In short, this is what you have to do to set up a basic watch:
- Find the attribute you want to watch, for example chassisFanStatus from the ciscoStackMIB, and note the attribute type (Integer in this case). Make sure the attribute is mapped to an attribute ID in Spectrum (this can be done with MIB tools)
- Select a device of the model type for which you want to create the watch
- Open the Watches view under Thresholds and Watches on the Information tab
- Click the create watch button:
- Enter a name for the watch (for example "CiscoFanStatus") and select the correct data type
- Click the Attributes button and find the attribute you want to watch. If you can't find the attribute, make sure you selected the right model and that the attribute was mapped to a Spectrum attribute ID
- Once you click ok, your create watch screen should look something like this:
- On the properties tab, set the appropriate settings. For example Active By Default and Evaluate By Polling with a 300 second poll interval
- On the Threshold tab, select Attach a Threshold
- If you just want to look for a "not OK" value, you can set Threshold violated if value != 2 (the MIB defines values 2=ok, 3=minorFault, 4=majorFault, 1=other).
- In the Notification section, you can enable Generate Alarm. You can leave the default description, select an existing one from another alarm or create your own.
- You could remove the User clearable option in this case, since alarm will automatically reset once the fan status goes back to OK.
- Your threshold configuration would look something like this then:
This document was generated from the following discussion: Cisco environment monitoring Information