mrtg/mrtg.cfg

Mon, 28 Jan 2013 17:37:18 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 28 Jan 2013 17:37:18 +0100
changeset 758
a2c6460cfb16
parent 135
cd68ee26852b
permissions
-rw-r--r--

Correct socket error reporting improvement with IPv6 portable code,
after helpful recommendation by Saúl Ibarra Corretgé on OSips devlist.

     1 ##
     2 ##  mrtg.cfg -- MRTG Configuration
     3 ##
     5 WorkDir:           @l_prefix@/web/mrtg
     6 Imagedir:          @l_prefix@/share/mrtg/icons
     7 Logdir:            @l_prefix@/var/mrtg
     9 Refresh:           300
    10 RunAsDaemon:       no
    11 Interval:          15
    13 Target[lo]:        1:public@localhost
    14 MaxBytes[lo]:      1250000
    15 Title[lo]:         localhost : lo
    16 PageTop[lo]:       <H3>Traffic Analysis for lo</H3>
    17 Options[lo]:       growright,nobanner,nolegend,noinfo
    19 Target[eth0]:      2:public@localhost
    20 MaxBytes[eth0]:    1250000
    21 Title[eth0]:       localhost : eth0
    22 PageTop[eth0]:     <H3>Traffic Analysis for eth0</H3>
    23 Options[eth0]:     growright,nobanner,nolegend,noinfo
    25 #Target[cpu]:       1.3.6.1.4.1.4007.42.1.2.3.1&1.3.6.1.4.1.4007.42.1.2.3.2:public@localhost
    26 #Title[cpu]:        Processor Load
    27 #PageTop[cpu]:      <H3>Processor Load</H3>
    28 #MaxBytes[cpu]:     500
    29 #Unscaled[cpu]:     ymwd
    30 #Options[cpu]:      growright,nopercent,gauge,nobanner,nolegend,noinfo,integer
    31 #LegendI[cpu]:      &nbsp;load (5 minute)
    32 #LegendO[cpu]:      &nbsp;load (15 minute)
    33 #Ylegend[cpu]:      %
    34 #ShortLegend[cpu]:  %
    36 #Target[proc]:      1.3.6.1.4.1.4007.42.1.2.4.2&1.3.6.1.4.1.4007.42.1.2.4.2:public@localhost
    37 #Title[proc]:       Number of processes
    38 #PageTop[proc]:     <H3>Number of Processes</H3>
    39 #MaxBytes[proc]:    400
    40 #Unscaled[proc]:    dymw
    41 #Options[proc]:     gauge,nopercent,growright,nobanner,nolegend,noinfo
    42 #YLegend[proc]:     Processes
    43 #LegendI[proc]:     &nbsp;Nr. of Processes
    44 #LegendO[proc]:
    45 #ShortLegend[proc]: &nbsp;
    47 #Target[mem]:       1.3.6.1.4.1.4007.42.1.2.2.1.3&1.3.6.1.4.1.4007.42.1.2.2.2.3:public@localhost
    48 #MaxBytes[mem]:     1000
    49 #kMG[mem]:          k
    50 #Title[mem]:        Memory Usage
    51 #PageTop[mem]:      <H3>Memory Usage</H3>
    52 #Options[mem]:      growright,nopercent,gauge,nobanner,nolegend,noinfo
    53 #LegendI[mem]:      &nbsp;Real Mem Free
    54 #LegendO[mem]:      &nbsp;Swap Free
    55 #YLegend[mem]:      kbyte
    56 #ShortLegend[mem]:  &nbsp;byte
    58 #Target[root]:      1.3.6.1.4.1.4007.42.1.2.7.1.1.6.1&1.3.6.1.4.1.4007.42.1.2.7.1.1.4.1:public@localhost
    59 #Options[root]:     nopercent,growright,nobanner,nolegend,noinfo,integer,gauge
    60 #Title[root]:       Disk usage for /
    61 #MaxBytes[root]:    250
    62 #kMG[root]:         M
    63 #PageTop[root]:     <H3>Disk Usage /</H3>
    64 #LegendI[root]:     free
    65 #LegendO[root]:     total
    66 #YLegend[root]:     MByte
    67 #ShortLegend[root]: &nbsp;Byte
    69 #Target[var]:       1.3.6.1.4.1.4007.42.1.2.7.1.1.6.3&1.3.6.1.4.1.4007.42.1.2.7.1.1.4.3:public@localhost
    70 #Options[var]:      nopercent,growright,nobanner,nolegend,noinfo,integer,gauge
    71 #MaxBytes[var]:     2000
    72 #kMG[var]:          M
    73 #Title[var]:        Disk usage for /var
    74 #PageTop[var]:      <H3>Disk Usage /var</H3>
    75 #LegendI[var]:      free
    76 #LegendO[var]:      total
    77 #YLegend[var]:      MByte
    78 #ShortLegend[var]:  &nbsp;Byte
    80 #Target[usr]:       1.3.6.1.4.1.4007.42.1.2.7.1.1.6.4&1.3.6.1.4.1.4007.42.1.2.7.1.1.4.4:public@localhost
    81 #Options[usr]:      nopercent,growright,nobanner,nolegend,noinfo,integer,gauge
    82 #MaxBytes[usr]:     2000
    83 #kMG[usr]:          M
    84 #Title[usr]:        Disk usage for /usr
    85 #PageTop[usr]:      <H3>Disk Usage /usr</H3>
    86 #LegendI[usr]:      free
    87 #LegendO[usr]:      total
    88 #YLegend[usr]:      MByte
    89 #ShortLegend[usr]:  &nbsp;Byte
    91 #Target[d1]:        1.3.6.1.4.1.4007.42.1.2.7.1.1.6.5&1.3.6.1.4.1.4007.42.1.2.7.1.1.4.5:public@localhost
    92 #Options[d1]:       nopercent,growright,nobanner,nolegend,noinfo,gauge
    93 #MaxBytes[d1]:      30000
    94 #kMG[d1]:           M
    95 #Title[d1]:         Disk usage for /d1
    96 #PageTop[d1]:       <H3>Disk Usage cw, www</H3>
    97 #LegendI[d1]:       free
    98 #LegendO[d1]:       total
    99 #YLegend[d1]:       MByte
   100 #ShortLegend[d1]:   &nbsp;Byte
   102 #Target[d2]:        1.3.6.1.4.1.4007.42.1.2.7.1.1.6.6&1.3.6.1.4.1.4007.42.1.2.7.1.1.4.6:public@localhost
   103 #Options[d2]:       nopercent,growright,nobanner,nolegend,noinfo,gauge
   104 #MaxBytes[d2]:      40000
   105 #kMG[d2]:           M
   106 #Title[d2]:         Disk usage for /d2
   107 #PageTop[d2]:       <H3>Disk Usage mail, dmail, mail home</H3>
   108 #LegendI[d2]:       free
   109 #LegendO[d2]:       total
   110 #YLegend[d2]:       MByte
   111 #ShortLegend[d2]:   &nbsp;Byte
   113 #Target[boot]:      1.3.6.1.4.1.4007.42.1.2.7.1.1.6.2&1.3.6.1.4.1.4007.42.1.2.7.1.1.4.2:public@localhost
   114 #Options[boot]:     nopercent,growright,nobanner,nolegend,noinfo,integer,gauge
   115 #MaxBytes[boot]:    40
   116 #kMG[boot]:         M
   117 #Title[boot]:       Disk usage for /boot
   118 #PageTop[boot]:     <H3>Disk Usage Kernel</H3>
   119 #LegendI[boot]:     free
   120 #LegendO[boot]:     total
   121 #YLegend[boot]:     MByte
   122 #ShortLegend[boot]: &nbsp;Byte
   124 ## Server Uptime
   125 #Target[uptime]:      `@l_prefix@/share/mrtg/scripts/uptime.pl`
   126 #Options[uptime]:     growright,unknaszero,nopercent,gauge
   127 #MaxBytes[uptime]:    1000
   128 #Unscaled[uptime]:    dymw
   129 #Title[uptime]:       System uptime
   130 #PNGTitle[uptime]:    System uptime
   131 #PageTop[uptime]:     <H3>System Uptime</H3>
   132 #LegendI[uptime]:     Uptime
   133 #LegendO[uptime]:
   134 #Legend1[uptime]:     Maximum uptime days
   135 #YLegend[uptime]:     Time (days)
   136 #ShortLegend[uptime]: days
   138 ## HTTP Server Bytes
   139 #Target[httpbytes]:      `@l_prefix@/share/mrtg/scripts/webstats.pl bytes`
   140 #Options[httpbytes]:     growright,nopercent,noinfo,nobanner,integer,noi
   141 #MaxBytes[httpbytes]:    256000
   142 #Unscaled[httpbytes]:    ymwd
   143 #Title[httpbytes]:       HTTP server traffic
   144 #PNGTitle[httpbytes]:    Kbytes per second
   145 #PageTop[httpbytes]:     <H3>HTTP server traffic</H3>
   146 #LegendI[httpbytes]:
   147 #LegendO[httpbytes]:
   148 #YLegend[httpbytes]:     Kbytes/second
   149 #ShortLegend[httpbytes]: kB/s
   151 ## HTTP Server Hits
   152 #Target[httphits]:      `@l_prefix@/share/mrtg/scripts/webstats.pl hits`
   153 #Options[httphits]:     growright,nopercent,perhour,nobanner,noinfo,integer,noi
   154 #MaxBytes[httphits]:    12000
   155 #Unscaled[httphits]:    ymwd
   156 #WithPeak[httphits]:    wmy
   157 #Title[httphits]:       HTTP server hits
   158 #PNGTitle[httphits]:    Hits per hour
   159 #PageTop[httphits]:     <H3>HTTP server hits</H3>
   160 #LegendI[httphits]:
   161 #LegendO[httphits]:
   162 #Legend2[httphits]:     Hits per hour
   163 #Legend4[httphits]:     5 Minute peak
   164 #YLegend[httphits]:     Hits/hour
   165 #ShortLegend[httphits]: hits/hour

mercurial