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?
SNMP no voltageIndex?
-
aurelien personnaz - Member
- Posts: 17
- Joined: Wed Sep 23, 2015 8:10 am
- Location: Grenoble, France
- Has thanked: 3 times
- Been thanked: 7 times
-
Eric Stern - 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?
This seems to to have been overlooked, I'll add it to the list for 1.3.5.
Re: SNMP no voltageIndex?
Hi,
Have you managed to create template for getting port/switch voltages?
Thanks,
Dejan
Have you managed to create template for getting port/switch voltages?
Thanks,
Dejan
-
Eric Stern - 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?
I'm not sure what you are asking. Many people are using SNMP to get voltages from the switch.
-
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?
I attach my cacti device template (with dependencies).
I hope it helps.
I hope it helps.
- Attachments
-
- cacti_host_template_netonix-switch.xml
- (142.34 KiB) Downloaded 380 times
-
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?
Hi all,
Here is a new version of the cacti template with the temperature and fan speed graphs.
Hope it can be useful.
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 384 times
Re: SNMP no voltageIndex?
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!
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!
Re: SNMP no voltageIndex?
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.
:)
<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
8 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 34 guests