As usually we replied to your e-mail couple hours ago (e-mails have higher priority)
Yes, you may compile powernet414.MIB file, there are over 6000 APC counters. MIB Browser needs couple minutes to build the tree.
Probably you need the following OIDs
1.3.6.1.4.1.318.1.1.1.2.1.1.0 (upsBasicBatteryStatus)
1.3.6.1.4.1.318.1.1.1.2.1.2.0 (upsBasicBatteryTimeOnBattery)
1.3.6.1.4.1.318.1.1.1.2.1.3.0 (upsBasicBatteryLastReplaceDate)
1.3.6.1.4.1.318.1.1.1.2.2.1.0 (upsAdvBatteryCapacity)
1.3.6.1.4.1.318.1.1.1.2.2.2.0 (upsAdvBatteryTemperature)
1.3.6.1.4.1.318.1.1.1.2.2.3.0 (upsAdvBatteryRunTimeRemaining - - no details in MIB file but Google says "This value is reported in 100ths of a second"
1.3.6.1.4.1.318.1.1.1.2.2.4.0 (upsAdvBatteryReplaceIndicator)
upsBasicBatteryStatus OBJECT-TYPE
SYNTAX INTEGER {
unknown(1),
batteryNormal(2),
batteryLow(3),
batteryInFaultCondition(4)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The status of the UPS batteries. A batteryLow(3) value indicates the UPS will be unable to sustain the current load, and its services will be lost if power is not restored. The amount of run time in reserve at the time of low battery can be configured by the upsAdvConfigLowBatteryRunTime. A batteryInFaultCondition(4)value indicates that a battery installed has an internal error condition."
::= { upsBasicBattery 1 }
upsBasicBatteryTimeOnBattery OBJECT-TYPE
SYNTAX TimeTicks
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The elapsed time since the UPS has switched to battery power."
::= { upsBasicBattery 2 }
upsBasicBatteryLastReplaceDate OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The date when the UPS system's batteries were last replaced in mm/dd/yy (or yyyy) format. For Smart-UPS models, this value is originally set in the factory. When the UPS batteries are replaced, this value should be reset by the administrator. For Symmetra PX 250/500 this OID is read only and is configurable in the local display only."
::= { upsBasicBattery 3 }
-- the upsAdvBattery group
upsAdvBatteryCapacity OBJECT-TYPE
SYNTAX Gauge
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The remaining battery capacity expressed in percent of full capacity."
::= { upsAdvBattery 1 }
upsAdvBatteryTemperature OBJECT-TYPE
SYNTAX Gauge
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The current internal UPS temperature expressed in Celsius."
::= { upsAdvBattery 2 }
upsAdvBatteryRunTimeRemaining OBJECT-TYPE
SYNTAX TimeTicks
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The UPS battery run time remaining before battery exhaustion."
::= { upsAdvBattery 3 }
upsAdvBatteryReplaceIndicator OBJECT-TYPE
SYNTAX INTEGER {
noBatteryNeedsReplacing(1),
batteryNeedsReplacing(2)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Indicates whether the UPS batteries need replacing."
::= { upsAdvBattery 4 }
.1.3.6.1.4.1.318.1.1.1.8.1 (to check if the system can communicate with the UPS.)
Any OID can be used for this purpose, e.g. counter supported by any SNMP agent 1.3.6.1.2.1.1.3.0 (syUptime)
1.3.6.1.4.1.318.1.1.1.2.2.4 (to check the battery replace alert)
.1.3.6.1.4.1.318.1.1.1.2.2.2 (to check the internal battery temperature)
I think this is single instance counter, add ".0"
1.3.6.1.4.1.318.1.1.1.2.2.4.0
1.3.6.1.4.1.318.1.1.1.2.2.3.0
>Could you please explain how do I set any SNMP test for this UPS?
You just need to find correct OID and SNMP connection parameters (host or IP address, port, SNMP version, community string).
How to find OID? There are several ways
a) ask manufacturer (APC and Canon)
b) find MIB files provided by manufacturer (may be it comes on CD with your devices), compile MIB file using MIB Browser and then find OID you need using MIB browser
c) Google
May be you need these counters?
1.3.6.1.4.1.318.1.1.1.2.2.1.0 - battery%
1.3.6.1.4.1.318.1.1.1.4.2.1.0 - output voltage
1.3.6.1.4.1.318.1.1.1.4.1.1.0 - state
Edit: after browsing lists of OIDs via MIB Browser I found some with green arrow that appear to be ones that can be used for tests, am I right?
Green arrow - read only counter
Yellow arrow - rear/write counter
There are thousands "green" counters, you need counters specific for your device.
Regards
Alex