That would be pretty cool ![]()
Yes, it is possible to monitor voltage.
Open Dude,
-
Charts â> Data Sources â> Add new source
Put IP address of the router and oid.
OID is available from âsystem health print oidâ. -
Create new chart, which monitors voltage.
But there is no option to notify you, when low voltage is reached.
Why not create a probe? That way you can add the probe as a required service to the device and graph the voltage over time. Since it is a service it will show the graph on the tooltip. Then you can also have the error from the probe create an alert. Check out the probe threadâŚ
I know itâs an olt discussion butâŚ
- Charts â> Data Sources â> Add new source, put IP address of the router and oid.
Name: Voltage_radio1
Unit: ???
Device: 192.168.1.13
Code: oid(âiso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrHealth.8.0â)/10
the code has been taken from wiki, the OID of radio is:
voltage: .1.3.6.1.4.1.14988.1.1.3.8.0
Now I can see "voltage_radio1 function 24.7 on âData Sourcesâ tab, so I suppose it works.
2) Charts â> Add
Name: Voltage_chart
Elements â> Add Source â> Voltage_radio1 â> Apply: then I have the message âunknown typeâ.
Whatâs wrong?
The RB can also alert you.
http://wiki.mikrotik.com/wiki/Monitor_input_voltage_on_RB333/433AH
I run the following script. Itâs sends an email to my phone as a text msg. Put it on scheduler for however often you want to check it. Mine is on 30 minute intervals.
add name=email_voltage policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api source="/system health\
\r\
\n:if ([get voltage]<128) do={/tool e-mail send server=xx.xxx.xxx.xxx to=you@youremail.com subject=[/system identity \
get name] from=you@youremail.com body=(\"Low voltage. Current voltage is :\".[/system health get voltage])} else {:log \
info \"Voltage is ok.\"}\r\
\n"
Unfortunately I canât use e-mail from routerboard, the mail service has been disabled from system administratorâŚ
One thing I canât understand: why I read 0.0 value of voltage when I can reach and login to radio?