Page 1 of 2

Setting up PRTG to use SNMP with Netonix

Posted: Mon Nov 30, 2015 6:12 pm
by sirhc
We will assume you already have PRTG installed and running.
These instructions were tested with v1.3.9rc4 or newer firmware.
With v1.3.9 we changed from mini-snmpd to net-snmp, a more common and well tested snmp daemon.


If you have not already also download and install the MIB importer tool (https://www.paessler.com/tools/mibimporter)

To monitor Netonix specific things we need to import the Netonix MIB
- open the MIB importer tool
- click on File > Import MIB File ...
- select the "NETONIX-SWITCH-MIB.dat" file (http://forum.netonix.com/firmware/NETON ... CH-MIB.dat)
- click "Close" on the import log window
- click on File > Save Complete OIDLib
- change the directory to C:\Program Files (x86)\PRTG Network Monitor\snmplibs
- enter the File name as "Netonix.oidlib" and click Save

To monitor the PoE status of ports we need to import the SNMP Power MIB
- open the MIB importer tool
- click on File > Import MIB File ...
- select the "POWER-ETHERNET-MIB.txt" file (https://raw.githubusercontent.com/libre ... HERNET-MIB)
- click "Close" on the import log window
- click on File > Save Complete OIDLib
- change the directory to C:\Program Files (x86)\PRTG Network Monitor\snmplibs
- enter the File name as "Power.oidlib" and click Save
- open the PRTG Network Monitor
- click on "Devices" in the top menu
- click on "Add Device"
- select a group to add the device to and click "Continue >"
- change the "Device Name"
- enter the "IPv4 Address/DNS Name"
- select "Automatic device identification (standard, recommended)"
- click "Continue >"
- wait until Auto-Discovery is complete
- click on the Device Name

Auto-Discovery will only add ports that are currently in use. To add the other ports
- click on "Add Sensor"
- click on "SNMP Traffic"
- click the check box next to any ports that do not have a Status of "Connected"
- click "Continue >"

To monitor Netonix specific things like fan speeds, temperatures and voltages
- click on "Add Sensor"
- click on "SNMP Library"
- select "Netonix.oidlib" from the list and click OK
- click the checkbox just under "Library-OIDs" to select all of the sensors
- click "Continue >"

To monitor the PoE status of ports
- click on "Add Sensor"
- click on "SNMP Library"
- select "Power.oidlib" from the list and click OK
- click the checkbox just under "Library-OIDs" to select all of the sensors
- click "Continue >"

Re: Setting up PRTG to use SNMP with Netonix

Posted: Fri Sep 30, 2016 8:26 am
by bearm
While the power-ethernet MIB provides access to "per port" consumption in watts, it doesn't appear that the aggregate is directly pollable.
Is that true?

I generally see 11 to 12 watt consumption per the Total item (0W to 400W) in the webui on my WS-24-400A.
(Total consumption is low right now because I have not yet migrated radios to from a TS-8-PRO.)

It would be beneficial to have an aggregate wattage value exported via SNMP to see the overall WISP Switch power supply load.

Thanks,
Mike

Re: Setting up PRTG to use SNMP with Netonix

Posted: Fri Sep 30, 2016 8:59 am
by sirhc
bearm wrote:While the power-ethernet MIB provides access to "per port" consumption in watts, it doesn't appear that the aggregate is directly pollable.
Is that true?

I generally see 11 to 12 watt consumption per the Total item (0W to 400W) in the webui on my WS-24-400A.
(Total consumption is low right now because I have not yet migrated radios to from a TS-8-PRO.)

It would be beneficial to have an aggregate wattage value exported via SNMP to see the overall WISP Switch power supply load.

Thanks,
Mike


Are your running our latest firmware v1.4.5rc2 and using our MIB file?

Eric will comment when he comes on line.

Re: Setting up PRTG to use SNMP with Netonix

Posted: Fri Sep 30, 2016 9:34 am
by Eric Stern
bearm wrote:While the power-ethernet MIB provides access to "per port" consumption in watts, it doesn't appear that the aggregate is directly pollable.
Is that true?

I generally see 11 to 12 watt consumption per the Total item (0W to 400W) in the webui on my WS-24-400A.
(Total consumption is low right now because I have not yet migrated radios to from a TS-8-PRO.)

It would be beneficial to have an aggregate wattage value exported via SNMP to see the overall WISP Switch power supply load.

Thanks,
Mike


Search the forum for "total power".

viewtopic.php?f=6&t=2156&p=15469&hilit=total+power#p15469

Re: Setting up PRTG to use SNMP with Netonix

Posted: Fri Sep 30, 2016 1:57 pm
by bearm
Eric Stern wrote:Search the forum for "total power".

http://forum.netonix.com/viewtopic.php? ... wer#p15469


Chris and Eric,

Thanks for the point in the right direction.
I found the changelog for 1.4.5rc2 after commenting on this post (and decided the bug fixes were worth the upgrade). :roll:
I noticed ifAlias now works (basically swapped with ifDescr now) so I can update my graphs to reflect that change. :thumbsup:

Perfect -- take totalpower value and divide by 10.
It appeared I needed to get a copy of the newest MIB too since the human readable name wasn't complete. I have a copy of the latest MIB and it's still not translated to something entirely human readable. :eek: I have the OID I was hoping for (thanks!).

Same thing goes for the last 3 items when I walk just the Netonix Switch MIB
Code: Select all
NETONIX-SWITCH-MIB::netonixSwitch.6.0 = INTEGER: 150
NETONIX-SWITCH-MIB::netonixSwitch.7.0 = INTEGER: 0
NETONIX-SWITCH-MIB::netonixSwitch.8 = INTEGER: 0

Re: Setting up PRTG to use SNMP with Netonix

Posted: Thu Jul 27, 2017 12:42 pm
by cwachs
How about a MIB to track the total traffic across a LAG and not individual ports of that LAG?

Re: Setting up PRTG to use SNMP with Netonix

Posted: Mon Nov 27, 2017 1:58 pm
by Magician
I was trying to get input voltage to track how the solar site is doing. I can't seem to find the value has anyone done this... I see input current not input voltage

Re: Setting up PRTG to use SNMP with Netonix

Posted: Mon Nov 27, 2017 2:15 pm
by sirhc
Magician wrote:I was trying to get input voltage to track how the solar site is doing. I can't seem to find the value has anyone done this... I see input current not input voltage


What model switch are we talking about and what version of firmware are you running on the switch? (I hope v1.4.8)
Are you using our MIB: viewtopic.php?f=17&t=251#p935

Re: Setting up PRTG to use SNMP with Netonix

Posted: Mon Nov 27, 2017 9:02 pm
by Magician
sirhc wrote:
Magician wrote:I was trying to get input voltage to track how the solar site is doing. I can't seem to find the value has anyone done this... I see input current not input voltage


What model switch are we talking about and what version of firmware are you running on the switch? (I hope v1.4.8)
Are you using our MIB: viewtopic.php?f=17&t=251#p935


Switch is WS-12-250-DC
Firmware 1.4.8
and yes the referenced mib


in PRTG for "netonix switch/dcdc" input current I would expect the .4A the gui reports... We actually prtg reports 3.2 - 5.0 as a % but no field of input voltage which is the number I need.

Re: Setting up PRTG to use SNMP with Netonix

Posted: Tue Nov 28, 2017 11:38 am
by Eric Stern
The OID for input voltage on WS-12-250-DC is 1.3.6.1.4.1.46242.4.1.3.4