|
Hello All , I am probably just missing an extremely obvious item in the config below . History, The config below should produce an over/under graph of BW-IN/OUT & interface error counts (as a rate) (& Factor[xxx]:) -10000000 the large value is to make even a minor rate show up as visible in the graphing . The BW-IN/OUT works flawlessly , in fact that is all I get out of this config . I have (several)other configs that do produce both the BW&InterfaceError (*I-IE) that are very simular configurations . The only physical differance is that this device is a switch .
At the very end is a 'rrdtool info' for the IE .
An snmpget using the iod's for IE work just fine & return valid numbers . fe: # snmpget -c2c -c XXXXXXXX to-sw01 .1.3.6.1.2.1.2.2.1.14.1 IF-MIB::ifInErrors.1 = Counter32: 0 # snmpget -c2c -c XXXXXXXX to-sw01 .1.3.6.1.2.1.2.2.1.20.1 IF-MIB::ifOutErrors.1 = Counter32: 0
If I goto the Information URL in the Targets Menu I see -all- the proper url's and when I select a *IE I do see that this produces the Interface Error display with error rate summary .
Any insights are welcome . babydr(JimL)
<<< Begin Config >>> # Created by Babydr(JimL)
### Global Config Options
# for UNIX # WorkDir: /home/http/mrtg
# or for NT # WorkDir: c:\mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits
EnableIPv6: no PathAdd: /usr/local/rrdtool/bin LogFormat: rrdtool options[_]: growright, bits XSize[_]: 600 YSize[_]: 250 WithPeak[_]: ymw WorkDir: /var/www/htdocs/router2cgi/graphs routers.cgi*Options[_]: active routers.cgi*ShortDesc: TO-SW01 Tok routers.cgi*Desc: TO-SW01 Branch Switch , Tok
###################################################################### # System: TO-SW01 # Description: HP J4813A ProCurve Switch 2524, revision F.05.59, ROM F.02.01 (/sw/code/build/info(s02)) # Contact: HelpDesk helpdesk@XXXXXXXX x300 # Location: TO - switch room - 1st Floor, Rack 01 front TOP ######################################################################
### Interface 1 >> Descr: '1' | Name: '1' | Ip: '' | Eth: '30-78-30-30-30-64-39-64-37-33-34-63-36-31' ###
Target[to-sw01_1]: 1:XXXXXXXX@to-sw01:::::2 SetEnv[to-sw01_1]: MRTG_INT_IP="" MRTG_INT_DESCR="1" Directory[to-sw01_1]: to-sw01 MaxBytes[to-sw01_1]: 12500000 Title[to-sw01_1]: 01 -- TO-SW01 routers.cgi*ShortDesc[to-sw01_1]:01 # routers.cgi*InMenu[to-sw01_1]: No routers.cgi*InSummary[to-sw01_1]: No routers.cgi*InCompact[to-sw01_1]: No routers.cgi*InOut[to-sw01_1]: No # PageTop[to-sw01_1]: <h1>01 -- TO-SW01</h1> <div id="sysdetails"> <table> <tr> <td>System:</td> <td>TO-SW01 in TO - switch room - 1st Floor, Rack 01 front TOP</td> </tr> <tr> <td>Maintainer:</td> <td>HelpDesk helpdesk@XXXXXXXX x300</td> </tr> <tr> <td>Description:</td> <td>1 </td> </tr> <tr> <td>ifType:</td> <td>ethernetCsmacd (6)</td> </tr> <tr> <td>ifName:</td> <td>1</td> </tr> <tr> <td>Max Speed:</td> <td>100.0 Mbits/s</td> </tr> </table> </div>
### Interface 1 >> Descr: '1 Error Rates IN/OUT' | Name: '1' | Ip: '' | Eth: '' ### # Target[to-sw01_01IE]: .1.3.6.1.2.1.2.2.1.14.1&.1.3.6.1.2.1.2.2.1.20.1:XXXXXXXX@to-sw01: SetEnv[to-sw01_01IE]: MRTG_INT_IP="" MRTG_INT_DESCR="1 Error Rates IN/OUT" Directory[to-sw01_01IE]: to-sw01 MaxBytes[to-sw01_01IE]: 1250000 Title[to-sw01_01IE]: TO-SW01 in TOK , Interface 1 Error Rates IN/OUT -- to-sw01.dsb.local; Factor[to-sw01_01IE]: -10000000 Legend1[to-sw01_01IE]: Incoming Interface Errors/sec Legend2[to-sw01_01IE]: Outgoing Interface Errors/sec LegendI[to-sw01_01IE]: In Errors: LegendO[to-sw01_01IE]: Out Errors: routers.cgi*ShortDesc[to-sw01_1IE]:01IE # routers.cgi*InMenu[to-sw01_01IE]: No routers.cgi*InSummary[to-sw01_01IE]: No routers.cgi*InCompact[to-sw01_01IE]: No routers.cgi*InOut[to-sw01_01IE]: No # PageTop[to-sw01_01IE]: <h1>TO-SW01 in TOK , Interface 1 Error Rates IN/OUT -- to-sw01.dsb.local <div id="sysdetails"> <table> <tr> <td>System:</td> <td>to-sw01.dsb.local in DSB</td> </tr> <tr> <td>Maintainer:</td> <td>IT helpdesk@XXXXXXXX</td> </tr> <tr> <td>Description:</td> <td>TO-SW01 in TOK , Interface 1 Error Rates IN/OUT </td> </tr> <tr> <td>ifType:</td> <td></td> </tr> <tr> <td>ifName:</td> <td>1</td> </tr> </table> </div>
### Combined traffic(above zero) & Error rate (below zero), User Defined graph ...
routers.cgi*Graph[to-sw01_1]: to-sw01_01I-IE routers.cgi*Graph[to-sw01_01IE]: to-sw01_01I-IE routers.cgi*InMenu[to-sw01_01I-IE]: Yes routers.cgi*InSummary[to-sw01_01I-IE]: Yes routers.cgi*Desc[to-sw01_01I-IE]: 01 1 TO-SW01 in TOK
<<< End Config >>>
# rrdtool info graphs/to-sw01/to-sw01_01ie.rrd filename = "graphs/to-sw01/to-sw01_01ie.rrd" rrd_version = "0003" step = 300 last_update = 1207873865 ds[ds0].type = "COUNTER" ds[ds0].minimal_heartbeat = 600 ds[ds0].min = 0.0000000000e+00 ds[ds0].max = 1.2500000000e+06 ds[ds0].last_ds = "0" ds[ds0].value = 0.0000000000e+00 ds[ds0].unknown_sec = 0 ds[ds1].type = "COUNTER" ds[ds1].minimal_heartbeat = 600 ds[ds1].min = 0.0000000000e+00 ds[ds1].max = 1.2500000000e+06 ds[ds1].last_ds = "0" ds[ds1].value = 0.0000000000e+00 ds[ds1].unknown_sec = 0 rra[0].cf = "AVERAGE" rra[0].rows = 800 rra[0].pdp_per_row = 1 rra[0].xff = 5.0000000000e-01 rra[0].cdp_prep[0].value = NaN rra[0].cdp_prep[0].unknown_datapoints = 0 rra[0].cdp_prep[1].value = NaN rra[0].cdp_prep[1].unknown_datapoints = 0 rra[1].cf = "AVERAGE" rra[1].rows = 800 rra[1].pdp_per_row = 6 rra[1].xff = 5.0000000000e-01 rra[1].cdp_prep[0].value = 0.0000000000e+00 rra[1].cdp_prep[0].unknown_datapoints = 0 rra[1].cdp_prep[1].value = 0.0000000000e+00 rra[1].cdp_prep[1].unknown_datapoints = 0 rra[2].cf = "AVERAGE" rra[2].rows = 800 rra[2].pdp_per_row = 24 rra[2].xff = 5.0000000000e-01 rra[2].cdp_prep[0].value = 0.0000000000e+00 rra[2].cdp_prep[0].unknown_datapoints = 0 rra[2].cdp_prep[1].value = 0.0000000000e+00 rra[2].cdp_prep[1].unknown_datapoints = 0 rra[3].cf = "AVERAGE" rra[3].rows = 800 rra[3].pdp_per_row = 288 rra[3].xff = 5.0000000000e-01 rra[3].cdp_prep[0].value = 0.0000000000e+00 rra[3].cdp_prep[0].unknown_datapoints = 0 rra[3].cdp_prep[1].value = 0.0000000000e+00 rra[3].cdp_prep[1].unknown_datapoints = 0 rra[4].cf = "MAX" rra[4].rows = 800 rra[4].pdp_per_row = 1 rra[4].xff = 5.0000000000e-01 rra[4].cdp_prep[0].value = NaN rra[4].cdp_prep[0].unknown_datapoints = 0 rra[4].cdp_prep[1].value = NaN rra[4].cdp_prep[1].unknown_datapoints = 0 rra[5].cf = "MAX" rra[5].rows = 800 rra[5].pdp_per_row = 6 rra[5].xff = 5.0000000000e-01 rra[5].cdp_prep[0].value = 0.0000000000e+00 rra[5].cdp_prep[0].unknown_datapoints = 0 rra[5].cdp_prep[1].value = 0.0000000000e+00 rra[5].cdp_prep[1].unknown_datapoints = 0 rra[6].cf = "MAX" rra[6].rows = 800 rra[6].pdp_per_row = 24 rra[6].xff = 5.0000000000e-01 rra[6].cdp_prep[0].value = 0.0000000000e+00 rra[6].cdp_prep[0].unknown_datapoints = 0 rra[6].cdp_prep[1].value = 0.0000000000e+00 rra[6].cdp_prep[1].unknown_datapoints = 0 rra[7].cf = "MAX" rra[7].rows = 800 rra[7].pdp_per_row = 288 rra[7].xff = 5.0000000000e-01 rra[7].cdp_prep[0].value = 0.0000000000e+00 rra[7].cdp_prep[0].unknown_datapoints = 0 rra[7].cdp_prep[1].value = 0.0000000000e+00 rra[7].cdp_prep[1].unknown_datapoints = 0
|