Hi All,
we have a few Linux servers which are fed through APC Smart UPSs.
Rather small ones, so no network management card, they are being
monitored by apcupsd.
We would be very happy to see the/some values of the UPSs in
Observium.
What I've done:
I extended snmpd with a script from
https://github.com/jirutka/apcupsd-snmp which makes some values from
apcupsd available under .1.3.6.1.4.1.318.1.1.1
which
in turn belongs to PowerNet-MIB (aka APC).
I can read those values with snmpwalk (see p.s.) so the script
works.
Observium already contains PowerNet-MIB, but no graph for these
values are appearing. I suppose Observium does not query for
PowerNet-MIB for anything other than APC OS, or maybe it looks for
some other conditions as well?
My question: is there a way to make Observium query and use these
values for other OS's (like Linux) as well ?
Regards,
Tylla
Ps: please feel free to correct any bad assumption/statement I made!
Ps: here is my current output (MIB errors excluded) from snmpwalk in
case it helps:
snmpwalk -m ALL -v 2c -c public localhost .1.3.6.1.4.1.318.1.1.1
PowerNet-MIB::upsBasicIdentModel.0 = STRING: "Smart-UPS 750"
PowerNet-MIB::upsBasicIdentName.0 = STRING: "test"
PowerNet-MIB::upsAdvIdentFirmwareRevision.0 = STRING: "COM 02.1 /
UPS.05.I"
PowerNet-MIB::upsAdvIdentSerialNumber.0 = STRING: "AS1108112010"
PowerNet-MIB::upsBasicBatteryTimeOnBattery.0 = Timeticks: (0)
0:00:00.00
PowerNet-MIB::upsAdvBatteryCapacity.0 = Gauge32: 100
PowerNet-MIB::upsAdvBatteryRunTimeRemaining.0 = Timeticks: (144000)
0:24:00.00
PowerNet-MIB::upsAdvBatteryNominalVoltage.0 = INTEGER: 24
PowerNet-MIB::upsAdvBatteryActualVoltage.0 = INTEGER: 27
PowerNet-MIB::upsBasicOutputStatus.0 = INTEGER: onLine(2)
PowerNet-MIB::upsAdvConfigAlarm.0 = INTEGER: never(3)
PowerNet-MIB::upsAdvConfigLowBatteryRunTime.0 = Timeticks: (30000)
0:05:00.00