Hello, I'm looking for clues on how to collect data from my daisy chained PDU (one Master network card with three other cards as slave units).
The snmpwalk output looks like this: #snmpwalk -v2c -c pr-RZ-TUC 139.174.33.11 ENLOGIC-PDU-MIB::pduUnitStatusTable [...] ENLOGIC-PDU-MIB::pduUnitStatusName.1 = STRING: PDU1 ENLOGIC-PDU-MIB::pduUnitStatusName.2 = STRING: PDU2 ENLOGIC-PDU-MIB::pduUnitStatusName.3 = STRING: PDU3 ENLOGIC-PDU-MIB::pduUnitStatusName.4 = STRING: PDU4 [...] ENLOGIC-PDU-MIB::pduUnitStatusActivePower.1 = INTEGER: 4155 ENLOGIC-PDU-MIB::pduUnitStatusActivePower.2 = INTEGER: 3177 ENLOGIC-PDU-MIB::pduUnitStatusActivePower.3 = INTEGER: 5157 ENLOGIC-PDU-MIB::pduUnitStatusActivePower.4 = INTEGER: 4785 [...] This table has the name and sums of measurements for the whole PDU. I'd like to combine this info with measurements from at least two other tables that look like this: # snmpwalk -v2c -c pr-RZ-TUC 139.174.33.11 ENLOGIC-PDU-MIB::pduInputPhaseStatusTable [...] ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.1.1 = INTEGER: 1307 <- PDU1,line1 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.1.2 = INTEGER: 1167 <- PDU1,line2 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.1.3 = INTEGER: 1552 <- PDU1,line3 <inserted for better readability> ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.2.1 = INTEGER: 738 <- PDU2,line1 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.2.2 = INTEGER: 1330 <- PDU2,line2 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.2.3 = INTEGER: 1146 <- PDU2,line3 <inserted for better readability> ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.3.1 = INTEGER: 2194 <- PDU3,line1 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.3.2 = INTEGER: 1552 <- PDU3,line2 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.3.3 = INTEGER: 1443 <- PDU3,line3 <inserted for better readability> ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.4.1 = INTEGER: 2095 <- PDU4,line1 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.4.2 = INTEGER: 1195 <- PDU4,line2 ENLOGIC-PDU-MIB::pduInputPhaseStatusActivePower.4.3 = INTEGER: 1479 <- PDU4,line3 [...] Here you see a the same measurement for each of the input phases (3 per PDU, so there's a multidimensional index...), and I'd have the same thing per breaker and, depending on PDU type even per outlet. How can I combine this to one measurement like: > ActivePower,agent_host=mypdu.company.com,host=mytelegrafhost,pduName=L1/1-2 > sum=4155,line1=1307,line2=1167,line3=1552,breaker1=.... > ActivePower,agent_host=mypdu.company.com,host=mytelegrafhost,pduName=L1/2-3 > sum=3177,line1=738,line2=1330,line3=1146,breaker1=.... [...] Is it possible with telegraf and snmp plugin or do I have to do it in a custom script? Thanks for your help! bye Christian -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/8a52e630-5128-464d-80fe-96625d65da51%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
