Community discussions

MikroTik App
 
rpra
newbie
Topic Author
Posts: 45
Joined: Tue Jan 24, 2012 8:43 pm

UPS monitor via SNMP

Thu Jul 05, 2012 8:04 am

Just connected UPS to one of our nodes.
Want to monitor many parameters, like line and output voltage, battery charge etc.

SNMP shows just a few values:
[admin@mt] > system ups print oid 
Flags: X - disabled, I - invalid 
 0    model=.1.3.6.1.2.1.33.1.1.2 version=.1.3.6.1.2.1.33.1.1.3 
      status=.1.3.6.1.2.1.33.1.2.1 remaining=.1.3.6.1.2.1.33.1.2.3 
      voltage=.1.3.6.1.2.1.33.1.2.5 temperature=.1.3.6.1.2.1.33.1.2.7 
Maybe I can get them from telnet/ssh? But there are too few parameters:
[admin@mt] > system ups get 0 
alarm-setting  load              name                     on-line  value-name
comment        manufacture-date  nominal-battery-voltage  port     
disabled       min-runtime       offline-after            serial   
invalid        model             offline-time             version  
There is no line voltage, output voltage, charge, BUT all of them are shown on
[admin@mt] > system ups monitor 0
on-line: no
on-battery: yes
rtc-running: no
runtime-left: 1h12m
battery-charge: 53%
battery-voltage: 24.7V
line-voltage: 0V
output-voltage: 229.6V
load: 5%
temperature: 54.9C
frequency: 50Hz
replace-battery: no
smart-boost: no
smart-trim: no
overload: no
low-battery: no
How can I read them?
 
User avatar
matrot2
Frequent Visitor
Frequent Visitor
Posts: 79
Joined: Thu Jun 25, 2009 12:34 pm

Re: UPS monitor via SNMP

Thu Jul 05, 2012 11:37 am

Maybe this will help you.
-Working with WinBox
-Working with Dude
-Examples of scripts
http://tandem.ck.ua/ups_mtm-eng.php

Who is online

Users browsing this forum: haung05 and 146 guests