The test suite for UPS MIB is intended to test the SNMP agents that implements the Uninterruptible Power Supply MIB (RFC 1628). It validates the syntax, protocol compliance, functionality, boundary conditions, and traps.
UPS MIB-specific Tests
The UPS MIB-specific tests include:
Checking the boundary conditions of all the MIB objects.
Checking the alarm generation of upsWellKnownAlarm objects, such as upsAlarmBatteryBad, upsAlarmOnBattery, upsAlarmLowBattery, upsAlarmDepletedBattery, and so on.
Checking the trap generation of upsTraps objects.
Checking the UPS Battery status.
Checking for bad value error for erroneous set values of upsControl MIB objects.
It is assumed that the instance of the alarmID as 1 for upsAlarmBatteryBad, 2 for upsAlarmOnBattery, 3 for upsAlarmLowBattery, and so on. This has to be changed to appropriate instances while validating.