I am trying to graph the current load and threshold of several Servertech Power Towers. Below is the output from the snmpwalk for both MIB OIDs:
snmpwalk -v 2c -c ubaVcj8PYF ptxl0101a-eqla3.stk 1.3.6.1.4.1.1718.3.2.2.1.7.1.2 Sentry3-MIB::infeedLoadValue.1.2 = INTEGER: 463 hundredth Amps snmpwalk -v 2c -c ubaVcj8PYF ptxl0101a-eqla3.stk 1.3.6.1.4.1.1718.3.2.2.1.7.1.1 Sentry3-MIB::infeedLoadValue.1.1 = INTEGER: 338 hundredth Amps Below is my cfg file set up: EnableIPv6: no WorkDir: /var/www/mrtg/rrd Options[_]: growright,bits LogFormat: rrdtool LoadMIBs: /usr/share/snmp/mibs/SENTRY3.MIB.txt /usr/share/snmp/mibs/SENTRY3_NO_BITS.MIB.txt /usr/share/snmp/mibs/ENTRY3OIDTREE.txt /usr/share/snmp/mibs/SENTRY3_SERVERTECH_1ST.MIB.txt /usr/share/snmp/mibs/SENTRY3_SMIV1.MIB.txt Target[ptxl0101a-eqla3.stk.tower-a-infeed-a]: (1.3.6.1.4.1.1718.3.2.2.1.7.1.1&1.3.6.1.4.1.1718.3.2.2.1.8.1.1:[email protected]:::::2) MaxBytes[ptxl0101a-eqla3.stk.tower-a-infeed-a]: 20 Title[ptxl0101a-eqla3.stk.tower-a-infeed-a]: TowerA_InfeedA Utilization PageTop[ptxl0101a-eqla3.stk.tower-a-infeed-a]: <b>ptxl0101a-eqla3.stk Tower A</b> Utilization for TowerA_InfeedA \n WithPeak[ptxl0101a-eqla3.stk.tower-a-infeed-a]: wmy LegendI[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization LegendO[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization Legend1[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization Legend2[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization YLegend[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization ShortLegend[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Amps Options[ptxl0101a-eqla3.stk.tower-a-infeed-a]: absolute,gauge,growright,unknaszero,integer When I run mrtg with the debug options to make sure everything is working I get the following output with NAN/NAN values: 2008-12-30 18:46:45 -- Started mrtg with config '/etc/mrtg/ptxl0101a-eqla3.stk.power.cfg' 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[1]: EnableIPv6: no 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[2]: WorkDir: /var/www/mrtg/rrd 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[3]: Options[_]: growright,bits 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[4]: LogFormat: rrdtool 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[5]: 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[6]: LoadMIBs: /usr/share/snmp/mibs/SENTRY3.MIB.txt /usr/share/snmp/mibs/SENTRY3_NO_BITS.MIB.txt /usr/share/snmp/mibs/ENTRY3OIDTREE.txt /usr/share/snmp/mibs/SENTRY3_SERVERTECH_1ST.MIB.txt /usr/share/snmp/mibs/SENTRY3_SMIV1.MIB.txt 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[7]: 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[8]: Target[ptxl0101a-eqla3.stk.tower-a-infeed-a]: (1.3.6.1.4.1.1718.3.2.2.1.7.1.1&1.3.6.1.4.1.1718.3.2.2.1.8.1.1:[email protected]:::::2) 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[9]: MaxBytes[ptxl0101a-eqla3.stk.tower-a-infeed-a]: 20 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[10]: Title[ptxl0101a-eqla3.stk.tower-a-infeed-a]: TowerA_InfeedA Utilization 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[11]: PageTop[ptxl0101a-eqla3.stk.tower-a-infeed-a]: <b>ptxl0101a-eqla3.stk Tower A</b> Utilization for TowerA_InfeedA \n 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[12]: WithPeak[ptxl0101a-eqla3.stk.tower-a-infeed-a]: wmy 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[13]: LegendI[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[14]: LegendO[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[15]: Legend1[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[16]: Legend2[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[17]: YLegend[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Utilization 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[18]: ShortLegend[ptxl0101a-eqla3.stk.tower-a-infeed-a]: Amps 2008-12-30 18:46:45 -- --cfg: /etc/mrtg/ptxl0101a-eqla3.stk.power.cfg[19]: Options[ptxl0101a-eqla3.stk.tower-a-infeed-a]: absolute,gauge,growright,unknaszero,integer 2008-12-30 18:46:45 -- --log: Called: RRDs::tune(/var/www/mrtg/rrd/ptxl0101a-eqla3.stk.tower-a-infeed-a.rrd -a ds0:20 -a ds1:20 -d ds0:GAUGE -d ds1:GAUGE) 2008-12-30 18:46:45 -- --log: Calling: RRDs::update(/var/www/mrtg/rrd/ptxl0101a-eqla3.stk.tower-a-infeed-a.rrd, '1230662805:338:4') 2008-12-30 18:46:45 -- --log: Called: RRDs::info(/var/www/mrtg/rrd/ptxl0101a-eqla3.stk.tower-a-infeed-a.rrd) 2008-12-30 18:46:45 -- --log: Called: RRDs::fetch(/var/www/mrtg/rrd/ptxl0101a-eqla3.stk.tower-a-infeed-a.rrd,'AVERAGE','-s',1230662700,'-e',1230662700) 2008-12-30 18:46:45 -- --log: got: NaN/NaN Any help with this would be greatly appreciated. -Patrick _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
