Ikea has chairs too.I fell out of my chair lol
Glad you enjoyed the trip!
Ikea has chairs too.I fell out of my chair lol
I can't take credit for the idea. The "Lack Rack" has been floating around the internet for a while now, although my inset "rails" may be original.damn it looks like a legit rack lol if it's stupid and it works, it's not stupid
Now I fell out of my chair! LOL!
- You run the risk of bad puns from @Samir
EATON-EPDU-MIB.txt
in the standard location, which in my case is /usr/share/snmp/mibs
[[inputs.snmp]]
agents = ["pdu1", "pdu2"]
version = 1
community = "public"
agent_host_tag = "pdu"
[inputs.snmp.tags]
vendor = "Eaton"
[[inputs.snmp.field]]
oid = "EATON-EPDU-MIB::partNumber.0"
name = "model"
is_tag = true
[[inputs.snmp.field]]
oid = "EATON-EPDU-MIB::serialNumber.0"
name = "serial_number"
is_tag = true
[[inputs.snmp.table]]
name = "pdu_input"
inherit_tags = ["vendor", "model", "serial_number"]
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputFrequency"
name = "input_frequency"
conversion = "float(1)"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputVoltage"
name = "input_voltage"
conversion = "float(3)"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputCurrent"
name = "input_current"
conversion = "float(3)"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputTotalVA"
name = "input_total_VA"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputTotalWatts"
name = "input_total_watts"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputTotalWh"
name = "input_total_Wh"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputTotalWhTimer"
name = "input_total_Wh_timer"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputTotalPowerFactor"
name = "input_total_power_factor"
conversion = "float(3)"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::inputTotalVAR"
name = "input_total_VAR"
[[inputs.snmp.table]]
name = "pdu_outlets"
inherit_tags = ["vendor", "model", "serial_number"]
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletDesignator"
name = "outlet_id"
is_tag = true
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletName"
name = "outlet_name"
is_tag = true
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletControlStatus"
name = "outlet_control_status"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletCurrent"
name = "outlet_current"
conversion = "float(3)"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletVA"
name = "outlet_VA"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletWatts"
name = "outlet_watts"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletWh"
name = "outlet_Wh"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletWhTimer"
name = "outlet_Wh_timer"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletPowerFactor"
name = "outlet_power_factor"
conversion = "float(3)"
[[inputs.snmp.table.field]]
oid = "EATON-EPDU-MIB::outletVAR"
name = "outlet_VAR"
Did you have to change anything? I C+P'd verbatim, adding the mibs to /usr/share/snmp/mibs, and telegraf won't start, gives meI finally broke down and got influxdb+telegraf+grafana up and running.
Here's my dashboard view of the PDUs:
View attachment 21752
Here's an example of a host dashboard with a power panel:
View attachment 21753
Here's the telegraf config for the PDUs. This assumes you haveEATON-EPDU-MIB.txt
in the standard location, which in my case is/usr/share/snmp/mibs
Code:[[inputs.snmp]] agents = ["pdu1", "pdu2"] version = 1 community = "public" agent_host_tag = "pdu" [inputs.snmp.tags] vendor = "Eaton" [[inputs.snmp.field]] oid = "EATON-EPDU-MIB::partNumber.0" name = "model" is_tag = true [[inputs.snmp.field]] oid = "EATON-EPDU-MIB::serialNumber.0" name = "serial_number" is_tag = true [[inputs.snmp.table]] name = "pdu_input" inherit_tags = ["vendor", "model", "serial_number"] [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputFrequency" name = "input_frequency" conversion = "float(1)" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputVoltage" name = "input_voltage" conversion = "float(3)" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputCurrent" name = "input_current" conversion = "float(3)" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputTotalVA" name = "input_total_VA" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputTotalWatts" name = "input_total_watts" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputTotalWh" name = "input_total_Wh" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputTotalWhTimer" name = "input_total_Wh_timer" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputTotalPowerFactor" name = "input_total_power_factor" conversion = "float(3)" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::inputTotalVAR" name = "input_total_VAR" [[inputs.snmp.table]] name = "pdu_outlets" inherit_tags = ["vendor", "model", "serial_number"] [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletDesignator" name = "outlet_id" is_tag = true [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletName" name = "outlet_name" is_tag = true [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletControlStatus" name = "outlet_control_status" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletCurrent" name = "outlet_current" conversion = "float(3)" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletVA" name = "outlet_VA" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletWatts" name = "outlet_watts" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletWh" name = "outlet_Wh" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletWhTimer" name = "outlet_Wh_timer" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletPowerFactor" name = "outlet_power_factor" conversion = "float(3)" [[inputs.snmp.table.field]] oid = "EATON-EPDU-MIB::outletVAR" name = "outlet_VAR"
[telegraf] Error running agent: could not initialize input inputs.snmp: initializing table pdu_input: initializing field input_frequency: translating: cannot make EATON-EPDU-MIB::inputFrequency numeric, please ensure all imported mibs are in the path
/usr/share/snmp/mibs$ ls -la
total 344
drwxr-xr-x 2 root root 4096 Feb 20 13:15 .
drwxr-xr-x 5 root root 4096 Oct 2 2020 ..
-rw-r--r-- 1 root root 87119 Jun 5 2018 EATON-EPDU-MIB.txt
-rw-r--r-- 1 root root 7173 Jan 29 2019 EATON-OIDS.txt
-rw-r--r-- 1 root root 48983 Jan 29 2019 EATON-SENSOR-MIB.txt
-rw-r--r-- 1 root root 1913 Aug 17 2020 GNOME-SMI.txt
-rw-r--r-- 1 root root 5931 Feb 7 2019 LM-SENSORS-MIB.txt
-rw-r--r-- 1 root root 15901 Feb 7 2019 NET-SNMP-AGENT-MIB.txt
-rw-r--r-- 1 root root 9160 Feb 7 2019 NET-SNMP-EXAMPLES-MIB.txt
-rw-r--r-- 1 root root 9326 Feb 7 2019 NET-SNMP-EXTEND-MIB.txt
-rw-r--r-- 1 root root 2036 Feb 7 2019 NET-SNMP-MIB.txt
-rw-r--r-- 1 root root 1215 Feb 7 2019 NET-SNMP-MONITOR-MIB.txt
-rw-r--r-- 1 root root 3730 Feb 7 2019 NET-SNMP-PASS-MIB.txt
-rw-r--r-- 1 root root 2504 Feb 7 2019 NET-SNMP-PERIODIC-NOTIFY-MIB.txt
-rw-r--r-- 1 root root 1226 Feb 7 2019 NET-SNMP-SYSTEM-MIB.txt
-rw-r--r-- 1 root root 4814 Feb 7 2019 NET-SNMP-TC.txt
-rw-r--r-- 1 root root 5039 Feb 7 2019 NET-SNMP-VACM-MIB.txt
-rw-r--r-- 1 root root 2163 Feb 7 2019 UCD-DEMO-MIB.txt
-rw-r--r-- 1 root root 4965 Feb 7 2019 UCD-DISKIO-MIB.txt
-rw-r--r-- 1 root root 3087 Feb 7 2019 UCD-DLMOD-MIB.txt
-rw-r--r-- 1 root root 6476 Feb 7 2019 UCD-IPFILTER-MIB.txt
-rw-r--r-- 1 root root 8118 Feb 7 2019 UCD-IPFWACC-MIB.txt
-rw-r--r-- 1 root root 18274 Feb 7 2019 UCD-SNMP-MIB-OLD.txt
-rw-r--r-- 1 root root 52820 Feb 7 2019 UCD-SNMP-MIB.txt
The telegraf config is exactly what I'm running right now. It looks like you have the same mib that I do. Try this:Did you have to change anything? I C+P'd verbatim, adding the mibs to /usr/share/snmp/mibs, and telegraf won't start, gives me
Code:/usr/share/snmp/mibs$ ls -la total 344 drwxr-xr-x 2 root root 4096 Feb 20 13:15 . drwxr-xr-x 5 root root 4096 Oct 2 2020 .. -rw-r--r-- 1 root root 87119 Jun 5 2018 EATON-EPDU-MIB.txt -rw-r--r-- 1 root root 7173 Jan 29 2019 EATON-OIDS.txt -rw-r--r-- 1 root root 48983 Jan 29 2019 EATON-SENSOR-MIB.txt -rw-r--r-- 1 root root 1913 Aug 17 2020 GNOME-SMI.txt -rw-r--r-- 1 root root 5931 Feb 7 2019 LM-SENSORS-MIB.txt -rw-r--r-- 1 root root 15901 Feb 7 2019 NET-SNMP-AGENT-MIB.txt -rw-r--r-- 1 root root 9160 Feb 7 2019 NET-SNMP-EXAMPLES-MIB.txt -rw-r--r-- 1 root root 9326 Feb 7 2019 NET-SNMP-EXTEND-MIB.txt -rw-r--r-- 1 root root 2036 Feb 7 2019 NET-SNMP-MIB.txt -rw-r--r-- 1 root root 1215 Feb 7 2019 NET-SNMP-MONITOR-MIB.txt -rw-r--r-- 1 root root 3730 Feb 7 2019 NET-SNMP-PASS-MIB.txt -rw-r--r-- 1 root root 2504 Feb 7 2019 NET-SNMP-PERIODIC-NOTIFY-MIB.txt -rw-r--r-- 1 root root 1226 Feb 7 2019 NET-SNMP-SYSTEM-MIB.txt -rw-r--r-- 1 root root 4814 Feb 7 2019 NET-SNMP-TC.txt -rw-r--r-- 1 root root 5039 Feb 7 2019 NET-SNMP-VACM-MIB.txt -rw-r--r-- 1 root root 2163 Feb 7 2019 UCD-DEMO-MIB.txt -rw-r--r-- 1 root root 4965 Feb 7 2019 UCD-DISKIO-MIB.txt -rw-r--r-- 1 root root 3087 Feb 7 2019 UCD-DLMOD-MIB.txt -rw-r--r-- 1 root root 6476 Feb 7 2019 UCD-IPFILTER-MIB.txt -rw-r--r-- 1 root root 8118 Feb 7 2019 UCD-IPFWACC-MIB.txt -rw-r--r-- 1 root root 18274 Feb 7 2019 UCD-SNMP-MIB-OLD.txt -rw-r--r-- 1 root root 52820 Feb 7 2019 UCD-SNMP-MIB.txt
# snmpget -v1 -cpublic -m+ALL pdu1 inputFrequency.0.1
EATON-EPDU-MIB::inputFrequency.0.1 = INTEGER: 600
so tried that one one of my machines (FreeBSD if it matters), and got this:The telegraf config is exactly what I'm running right now. It looks like you have the same mib that I do. Try this:
The pdu defaulted the "public" community to "No access" and I did have to set it to "Read only".Code:# snmpget -v1 -cpublic -m+ALL pdu1 inputFrequency.0.1 EATON-EPDU-MIB::inputFrequency.0.1 = INTEGER: 600
# snmpget -v1 -cpublic -m+ALL 192.168.1.109 inputFrequency.0.1
EATON-EPDU-MIB::inputFrequency.0.1 = INTEGER: 600
homelab-a:/usr/share/snmp/mibs# snmpget -v1 -cpublic -m+ALL 192.168.1.109 inputFrequency.0.1
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf
Cannot find module (SNMPv2-MIB): At line 1 in (none)
Cannot find module (IF-MIB): At line 1 in (none)
Cannot find module (IP-MIB): At line 1 in (none)
Cannot find module (TCP-MIB): At line 1 in (none)
Cannot find module (UDP-MIB): At line 1 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 1 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 1 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 1 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 1 in (none)
Cannot find module (MTA-MIB): At line 1 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 1 in (none)
Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (HCNUM-TC): At line 37 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (SNMPv2-TC): At line 40 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'enterprises' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'CounterBasedGauge64' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
.
.
.
.
Cannot adopt OID in NET-SNMP-EXTEND-MIB: nsExtendOutLine ::= { nsExtendOutput2Entry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laIndex ::= { laEntry 1 }
Cannot adopt OID in UCD-SNMP-MIB: laNames ::= { laEntry 2 }
Cannot adopt OID in UCD-SNMP-MIB: laLoad ::= { laEntry 3 }
Cannot adopt OID in UCD-SNMP-MIB: laConfig ::= { laEntry 4 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadInt ::= { laEntry 5 }
Cannot adopt OID in UCD-SNMP-MIB: laLoadFloat ::= { laEntry 6 }
Cannot adopt OID in UCD-SNMP-MIB: laErrorFlag ::= { laEntry 100 }
Cannot adopt OID in UCD-SNMP-MIB: laErrMessage ::= { laEntry 101 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyRestart ::= { netSnmpNotifications 3 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyShutdown ::= { netSnmpNotifications 2 }
Cannot adopt OID in NET-SNMP-AGENT-MIB: nsNotifyStart ::= { netSnmpNotifications 1 }
inputFrequency.0.1: Unknown Object Identifier (Sub-id not found: (top) -> inputFrequency)
Did you try operating it on stock firmware before the upgrade?My life has been crazy lately, so I'm just now getting around to setting mine up. I guess I'm just dim witted, but I can't seem to get it to work.
Firmware updated OK. But, I've got alarms for "Section A Voltage Low Critical" and "Input Phase L1 Voltage Low Critical", both with values of "0", and both not mentioned in the list of Alarm/Error messages in the documentation.
Outlet status is "Unknown" in the web interface and attempting to turn individual outlets or "Section A" to ON in the web interface return a "changes saved" message, but nothing happens. Status lights on all the outlets are off, and (as indicated in the web interface) they are getting 0 Volts power. Power into the unit seems good (checked with a Kill-a-Watt)
I'm hoping its something totally simple that I'm not getting. Folks that have these running, any ideas/recommendations?
Well, the only problem is that you don't know if it is a firmware update issue or something else since you didn't know if it was working in stock form.Uh...yes. Was that a no-no?
Edit: pulled the power cable and restarted it, and now "Input phase L1 voltage is normal", but Section A and the outlets are still "dead".
Edit #2: Hmm..."Input Frequency Out of Range" Alert and then "Input phase L1 voltage" back to 0 again.
Ah. I did try to get it running as it came, but had no luck. Then I recalled the post from @Spartus about "remember to update the firmware," and thought maybe that was why. But, after update I had the same errors. Reflashing a second time didn't help either.Well, the only problem is that you don't know if it is a firmware update issue or something else since you didn't know if it was working in stock form.
I can't remember exactly how right now, but see if you can factory default it.
Thanks for the offer, but no photo. I didn't think to take a photo because it looked just fine. And its been a couple months. Tough to claim damage after I've had it so long. Plus, I don't think it being dead is from anything you or Canada Post did.@Markess
I'm sorry about your bad luck.
Did you happen to take a photo of the questionable condition it was received in (popped open and exposed). I might be able to do a claim from Shipping insurance included by default, but it's a very uphill battle. I'm willing to try for you.
Before you do that…are you able to reach the web console or is the LCD display working? If so, is your serial number listed? On mine the serial number field was blank.I ended up getting 2 of these but 1 worked the other did the same i had a dud, im gonna prob tear it open and find out what broke
I got me a new Thermal Cam so i might be able to see if something in the circuitry was just bad
Before you do that…are you able to reach the web console or is the LCD display working? If so, is your serial number listed? On mine the serial number field was blank.
I just read in the troubleshooting that a blank serial number is an indicator of a failed attempt at reloading the configuration file (after a hardware module replacement for example). The instruction in that case is to keep reloading the config file until the serial number shows up. I’ve tried that but the config file I downloaded keeps returning a “wrong file type” error. So maybe there’s something else wrong in my case.
Edit: To clarify, mine came with no serial number in the serial number field. I didn't try to reload the config file until after I read that a missing serial number is an indicator of a failed config file upload. In any case, I couldn't even get it to try reloading the file (at least the one I found on line). So, I'm guessing its just plain broken and the missing serial number is just a symptom, or could be that someone else had it first and was unsuccessful at re-uploading the config file, then resealed it back in the box, which was then sold. Who knows.