[wellylug] MRTG issues

Pete Black pete at marchingcubes.com
Thu Apr 7 14:19:13 NZST 2005


Dont know if this is the exact issue - but I seem to recall that the 
SNMP OIDs for disk/swap/memory are different on Linux to other UNIX OSes 
- some snmp servers will support both query types, but others don't.

-Pete


>Can anyone suggest why the config below doesn't appear to produce any
>stats for memory, swap or disk but is fone with its CPU Idle?
>
>WorkDir: /var/www/mrtg
>ThreshDir: /var/www/mrtg
>LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt,
>/usr/share/snmp/mibs/TCP_MIB.$
>NoSpaceChar: ~
>Options[^]: noinfo,
>
>Target[cpuidle]: ssCpuRawIdle.0&ssCpuRawIdle.0:password at localhost
>MaxBytes[cpuidle]: 100
>Title[cpuidle]: CPU IDLE Time Percentage
>PageTop[cpuidle]: <H1>CPU IDLE Time Percentage</H1>
>ShortLegend[cpuidle]: %
>Options[cpuidle]:
>YLegend[cpuidle]: CPU Utilisation
>Colours[cpuidle]: Green:#00ff0c,Blue:#1000ff,Dark
>Green:#006600,Violet:#ff00ff
>Background[cpuidle]: #c0c0c0
>
>Target[memory]: memTotalReal.0&memTotal.0:password at localhost - memAvailReal
>MaxBytes[memory]: 256000
>Title[memory]: Physical Memory Usage
>PageTop[memory]: <H1>Physical Memory Usage</H1>
>Unscaled[memory]: ymwd
>YLegend[memory]: Memory Usage
>Legend1[memory]: Real memory in use
>LegendO[memory]:
>ShortLegend[memory]: B
>kMG[memory]: K,M,G,T,P
>Options[memory]: gauge,nopercent
>
>Target[swap_memory]: memTotalSwap.0&memTotalSwap.0:password at localhost -
>memAvailSwap
>MaxBytes[swap_memory]: 600000
>Title[swap_memory]: Swap memory usage
>PageTop[swap_memory]: <H1>Swap memory usage</H1>
>Unscaled[swap_memory]: ymwd
>YLegend[swap_memory]: Memory usage
>Legend1[swap_memory]: Swap memory usage
>ShortLegend[swap_memory]: B
>kMG[Swap_memory]: K,M,G,T,P
>Options[swap_memory]: gauge,nopercent
>
>Target[root_disk]: dskPercent.0&dskPercent.1:password at localhost
>Title[root_disk]: Disk Usage
>MaxBytes[root_disk]: 100
>PageTop[root_disk]: <H1>Disk Usage</H1>
>Unscaled[root_disk]: ymwd
>ShortLegend[root_disk]: %
>YLegend[root_disk]: Disk Utilisation
>Options[root_disk]: gauge,nopercent
>
>
>  
>




More information about the wellylug mailing list