SNMP no voltageIndex?

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

SNMP no voltageIndex?

Tue Sep 29, 2015 6:55 am

Hello,

I am trying to create a cacti Data query/DataSource/GraphTemplate to monitor the voltages supplied by the switches.
I have followed that link http://forums.cacti.net/viewtopic.php?t=4143

Everything seems good, but the voltageIndex OID does not seem to return a list of available indexes. So cacti can't find the items to graph.

Here is what I get for the index itself:

# snmpwalk -v 2c -m ALL -c COMMUNITY XXX.XXX.XXX.XXX voltageIndex
NETONIX-SWITCH-MIB::voltageIndex = No Such Object available on this agent at this OID


And here is the table :

# snmptable -v 2c -m ALL -c COMMUNITY XXX.XXX.XXX.XXX voltageTable
SNMP table: NETONIX-SWITCH-MIB::voltageTable
voltageDescription voltage
Board 48V 50.17
Board 24V 24.85
Board 3V 3.30
DCDC Input Voltage 46.21
DCDC Output Voltage 49.87


We have 4 WS-12-DC and WS-8-250-DC all in 1.3.2 and 1.3.3.

Am I doing something wrong?

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: SNMP no voltageIndex?

Tue Sep 29, 2015 6:28 pm

This seems to to have been overlooked, I'll add it to the list for 1.3.5.

jdejansb
Member
 
Posts: 6
Joined: Mon Oct 16, 2017 3:38 pm
Has thanked: 1 time
Been thanked: 1 time

Re: SNMP no voltageIndex?

Wed Jan 17, 2018 4:56 am

Hi,

Have you managed to create template for getting port/switch voltages?

Thanks,
Dejan

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: SNMP no voltageIndex?

Wed Jan 17, 2018 3:07 pm

I'm not sure what you are asking. Many people are using SNMP to get voltages from the switch.

User avatar
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

Re: SNMP no voltageIndex?

Fri Jan 19, 2018 5:14 am

I attach my cacti device template (with dependencies).
I hope it helps.
Attachments
cacti_host_template_netonix-switch.xml
(142.34 KiB) Downloaded 380 times

User avatar
aurelien personnaz
Member
 
Posts: 17
Joined: Wed Sep 23, 2015 8:10 am
Location: Grenoble, France
Has thanked: 3 times
Been thanked: 7 times

Re: SNMP no voltageIndex?

Wed Feb 28, 2018 5:51 am

Hi all,

Here is a new version of the cacti template with the temperature and fan speed graphs.

Hope it can be useful.
Attachments
cacti_host_template_netonix-switch.xml
New version with temperature and fan speed graphs
(164.02 KiB) Downloaded 385 times

User avatar
mcnnetops
Member
 
Posts: 36
Joined: Wed Nov 07, 2018 2:58 pm
Has thanked: 1 time
Been thanked: 1 time

Re: SNMP no voltageIndex?

Thu Dec 27, 2018 8:19 pm

Any chance you have the file: netonix_voltage.xml

That is referred to in: <xml_path><path_cacti>/resource/snmp_queries/netonix_voltage.xml</xml_path> ?

Kinda need that to make the voltage stuff work!

User avatar
mcnnetops
Member
 
Posts: 36
Joined: Wed Nov 07, 2018 2:58 pm
Has thanked: 1 time
Been thanked: 1 time

Re: SNMP no voltageIndex?

Fri Jan 04, 2019 2:43 pm

So, I kinda of wrote my own netonix_voltage.xml file that should satisfy the requirement for what the template is looking for in the ...cacti/resource/snmp_queries folder.

<path_cacti>/resource/snmp_queries/netonix_voltage.xml.

This seems to be wanted by a data query - and when I created this file, and put it in the proper place for cacti - I started getting voltage graphing.

I did have to create a new CDEF to multiply by 0.010 (Or your voltages are 2760 say for 27.6 Volts.)

ItemItem Value
Item #1
Special Data Source: CURRENT_DATA_SOURCE
Item #2
Custom String: 0.010
Item #3
Operator: *

Assign that to your graph template and change the CDEF Function to the conversion and you should be good!

So, if some other poor sap happens upon this post and wants cacti graphing - I hope all of the parts of the puzzle are here now!

As an aside 1.3.6.1.4.1.46242 is where all of the good stuff is to grab SNMP data for temp and voltage from these switches.

:)
Attachments
netonix_voltage.xml
Wanted by Data query...
(855 Bytes) Downloaded 392 times

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 66 guests