Package: mon
Version: 1.2.0-1
Severity: normal

If I try to run snmpvar.monitor, this is what I get...

server:/usr/lib/mon/mon.d# ./snmpvar.monitor -l ups1
Can't locate object method "new" via package "SNMP::Session" at 
./snmpvar.monitor line 172.
Exit 2

I add the following line to the snmpvar.monitor:

use SNMP;

I run it again, and this is what I get...

server:/usr/lib/mon/mon.d# ./snmpvar.monitor -l ups1
Host        Variable                         min     value         max  stat
----------------------------------------------------------------------------
ups1        Battery Temperature                        35 C         45  OK
ups1        Recent Max Line Voltage                   123 V        245  OK
ups1        Recent Min Line Voltage          205      118 V             FAIL<
ups1        Output Load                                40 %         75  OK
ups1        UPS Status                    Online  Online(       Online  OK

Don't mind the fact that the line voltage alarms are set incorrectly.

Please patch.

Thanks,

Marc



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to