Community discussions

MikroTik App
 
User avatar
hero1c
just joined
Topic Author
Posts: 6
Joined: Sun Nov 19, 2017 5:23 pm

Voltage OID: RB260GSP

Sun Nov 19, 2017 9:42 pm

Hello,

I'm graphing the voltage of my networks and I'm facing problem with RB260GSP switches although CCRs and CRSs are working and graphing consistently

I've figured that the voltage OID is not included in RB260GSP MIB as printed by snmpwalk function.
OID: .1.3.6.1.4.1.14988.1.1.3.8.0
Is there a voltage OID for RB260GSP? (I'm using version 1.7)

I looked in the entire forum for an answer but unfortunately I couldn't find anything helpful so any help is much appreciated.

Thanks.

:D
 
changeip
Forum Guru
Forum Guru
Posts: 3829
Joined: Fri May 28, 2004 5:22 pm

Re: Voltage OID: RB260GSP

Wed Jan 12, 2022 9:49 pm

wget -q -O - http://admin:password@10.10.10.1/sys.b | awk -F"," '{print $23}' | awk --non-decimal-data -F":" '{print $2+0 "\n" $2+0 "\n\n" }'

I use that to spit out 4 lines that MRTG likes to use.

And then use this in mrtg to run the script.

Target[switch_voltage]: `/home/username/stats/a2d-get-switch-voltage.sh`

would way rather use snmp however ... this is a pain in the ass. Also, this works on 2.13 but need to change the print statement for a different column on older versions.

Who is online

Users browsing this forum: No registered users and 9 guests