Mon, 28 Mar 2011 19:41:02 +0200
Completely rework package including...
Simpify 64-bit -fPIC logic, instruct make to build in parallel,
force error condition on failed profile dependency, build the
standard 'bootstrap' target as suggested, correct grammar, wording,
and punctuation in general, upgrade to latest upstream vendor version,
rearrange package dependencies mpc, mpfr, and gmp, correct buildconf
thanks to new lto-plugin forced, avoid failed platform specific stage
comparison, adjust patch code to reflect new version update, and most
importantly adjust optimization flags to platform. Please note that
block 'correct hardcoded paths' is likely no yet complete.
michael@130 | 1 | ## |
michael@130 | 2 | ## mrtg.cfg -- MRTG Configuration |
michael@130 | 3 | ## |
michael@130 | 4 | |
michael@130 | 5 | WorkDir: @l_prefix@/web/mrtg |
michael@135 | 6 | Imagedir: @l_prefix@/share/mrtg/icons |
michael@130 | 7 | Logdir: @l_prefix@/var/mrtg |
michael@130 | 8 | |
michael@130 | 9 | Refresh: 300 |
michael@130 | 10 | RunAsDaemon: no |
michael@130 | 11 | Interval: 15 |
michael@130 | 12 | |
michael@130 | 13 | Target[lo]: 1:public@localhost |
michael@130 | 14 | MaxBytes[lo]: 1250000 |
michael@130 | 15 | Title[lo]: localhost : lo |
michael@130 | 16 | PageTop[lo]: <H3>Traffic Analysis for lo</H3> |
michael@130 | 17 | Options[lo]: growright,nobanner,nolegend,noinfo |
michael@130 | 18 | |
michael@130 | 19 | Target[eth0]: 2:public@localhost |
michael@130 | 20 | MaxBytes[eth0]: 1250000 |
michael@130 | 21 | Title[eth0]: localhost : eth0 |
michael@130 | 22 | PageTop[eth0]: <H3>Traffic Analysis for eth0</H3> |
michael@130 | 23 | Options[eth0]: growright,nobanner,nolegend,noinfo |
michael@130 | 24 | |
michael@130 | 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 |
michael@130 | 26 | #Title[cpu]: Processor Load |
michael@130 | 27 | #PageTop[cpu]: <H3>Processor Load</H3> |
michael@130 | 28 | #MaxBytes[cpu]: 500 |
michael@130 | 29 | #Unscaled[cpu]: ymwd |
michael@130 | 30 | #Options[cpu]: growright,nopercent,gauge,nobanner,nolegend,noinfo,integer |
michael@130 | 31 | #LegendI[cpu]: load (5 minute) |
michael@130 | 32 | #LegendO[cpu]: load (15 minute) |
michael@130 | 33 | #Ylegend[cpu]: % |
michael@130 | 34 | #ShortLegend[cpu]: % |
michael@130 | 35 | |
michael@130 | 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 |
michael@130 | 37 | #Title[proc]: Number of processes |
michael@135 | 38 | #PageTop[proc]: <H3>Number of Processes</H3> |
michael@130 | 39 | #MaxBytes[proc]: 400 |
michael@130 | 40 | #Unscaled[proc]: dymw |
michael@130 | 41 | #Options[proc]: gauge,nopercent,growright,nobanner,nolegend,noinfo |
michael@130 | 42 | #YLegend[proc]: Processes |
michael@130 | 43 | #LegendI[proc]: Nr. of Processes |
michael@135 | 44 | #LegendO[proc]: |
michael@130 | 45 | #ShortLegend[proc]: |
michael@130 | 46 | |
michael@130 | 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 |
michael@130 | 48 | #MaxBytes[mem]: 1000 |
michael@130 | 49 | #kMG[mem]: k |
michael@130 | 50 | #Title[mem]: Memory Usage |
michael@135 | 51 | #PageTop[mem]: <H3>Memory Usage</H3> |
michael@130 | 52 | #Options[mem]: growright,nopercent,gauge,nobanner,nolegend,noinfo |
michael@130 | 53 | #LegendI[mem]: Real Mem Free |
michael@130 | 54 | #LegendO[mem]: Swap Free |
michael@130 | 55 | #YLegend[mem]: kbyte |
michael@130 | 56 | #ShortLegend[mem]: byte |
michael@130 | 57 | |
michael@135 | 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 |
michael@130 | 59 | #Options[root]: nopercent,growright,nobanner,nolegend,noinfo,integer,gauge |
michael@130 | 60 | #Title[root]: Disk usage for / |
michael@130 | 61 | #MaxBytes[root]: 250 |
michael@130 | 62 | #kMG[root]: M |
michael@135 | 63 | #PageTop[root]: <H3>Disk Usage /</H3> |
michael@130 | 64 | #LegendI[root]: free |
michael@130 | 65 | #LegendO[root]: total |
michael@130 | 66 | #YLegend[root]: MByte |
michael@130 | 67 | #ShortLegend[root]: Byte |
michael@130 | 68 | |
michael@130 | 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 |
michael@130 | 70 | #Options[var]: nopercent,growright,nobanner,nolegend,noinfo,integer,gauge |
michael@130 | 71 | #MaxBytes[var]: 2000 |
michael@130 | 72 | #kMG[var]: M |
michael@135 | 73 | #Title[var]: Disk usage for /var |
michael@135 | 74 | #PageTop[var]: <H3>Disk Usage /var</H3> |
michael@130 | 75 | #LegendI[var]: free |
michael@130 | 76 | #LegendO[var]: total |
michael@130 | 77 | #YLegend[var]: MByte |
michael@130 | 78 | #ShortLegend[var]: Byte |
michael@130 | 79 | |
michael@135 | 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 |
michael@130 | 81 | #Options[usr]: nopercent,growright,nobanner,nolegend,noinfo,integer,gauge |
michael@130 | 82 | #MaxBytes[usr]: 2000 |
michael@130 | 83 | #kMG[usr]: M |
michael@135 | 84 | #Title[usr]: Disk usage for /usr |
michael@135 | 85 | #PageTop[usr]: <H3>Disk Usage /usr</H3> |
michael@130 | 86 | #LegendI[usr]: free |
michael@130 | 87 | #LegendO[usr]: total |
michael@130 | 88 | #YLegend[usr]: MByte |
michael@130 | 89 | #ShortLegend[usr]: Byte |
michael@130 | 90 | |
michael@130 | 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 |
michael@130 | 92 | #Options[d1]: nopercent,growright,nobanner,nolegend,noinfo,gauge |
michael@130 | 93 | #MaxBytes[d1]: 30000 |
michael@130 | 94 | #kMG[d1]: M |
michael@130 | 95 | #Title[d1]: Disk usage for /d1 |
michael@135 | 96 | #PageTop[d1]: <H3>Disk Usage cw, www</H3> |
michael@130 | 97 | #LegendI[d1]: free |
michael@130 | 98 | #LegendO[d1]: total |
michael@130 | 99 | #YLegend[d1]: MByte |
michael@130 | 100 | #ShortLegend[d1]: Byte |
michael@130 | 101 | |
michael@135 | 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 |
michael@130 | 103 | #Options[d2]: nopercent,growright,nobanner,nolegend,noinfo,gauge |
michael@130 | 104 | #MaxBytes[d2]: 40000 |
michael@130 | 105 | #kMG[d2]: M |
michael@130 | 106 | #Title[d2]: Disk usage for /d2 |
michael@135 | 107 | #PageTop[d2]: <H3>Disk Usage mail, dmail, mail home</H3> |
michael@130 | 108 | #LegendI[d2]: free |
michael@130 | 109 | #LegendO[d2]: total |
michael@130 | 110 | #YLegend[d2]: MByte |
michael@130 | 111 | #ShortLegend[d2]: Byte |
michael@130 | 112 | |
michael@130 | 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 |
michael@130 | 114 | #Options[boot]: nopercent,growright,nobanner,nolegend,noinfo,integer,gauge |
michael@130 | 115 | #MaxBytes[boot]: 40 |
michael@130 | 116 | #kMG[boot]: M |
michael@130 | 117 | #Title[boot]: Disk usage for /boot |
michael@135 | 118 | #PageTop[boot]: <H3>Disk Usage Kernel</H3> |
michael@130 | 119 | #LegendI[boot]: free |
michael@130 | 120 | #LegendO[boot]: total |
michael@130 | 121 | #YLegend[boot]: MByte |
michael@130 | 122 | #ShortLegend[boot]: Byte |
michael@130 | 123 | |
michael@135 | 124 | ## Server Uptime |
michael@135 | 125 | #Target[uptime]: `@l_prefix@/share/mrtg/scripts/uptime.pl` |
michael@135 | 126 | #Options[uptime]: growright,unknaszero,nopercent,gauge |
michael@135 | 127 | #MaxBytes[uptime]: 1000 |
michael@135 | 128 | #Unscaled[uptime]: dymw |
michael@135 | 129 | #Title[uptime]: System uptime |
michael@135 | 130 | #PNGTitle[uptime]: System uptime |
michael@135 | 131 | #PageTop[uptime]: <H3>System Uptime</H3> |
michael@135 | 132 | #LegendI[uptime]: Uptime |
michael@135 | 133 | #LegendO[uptime]: |
michael@135 | 134 | #Legend1[uptime]: Maximum uptime days |
michael@135 | 135 | #YLegend[uptime]: Time (days) |
michael@137 | 136 | #ShortLegend[uptime]: days |
michael@135 | 137 | |
michael@135 | 138 | ## HTTP Server Bytes |
michael@137 | 139 | #Target[httpbytes]: `@l_prefix@/share/mrtg/scripts/webstats.pl bytes` |
michael@137 | 140 | #Options[httpbytes]: growright,nopercent,noinfo,nobanner,integer,noi |
michael@137 | 141 | #MaxBytes[httpbytes]: 256000 |
michael@137 | 142 | #Unscaled[httpbytes]: ymwd |
michael@137 | 143 | #Title[httpbytes]: HTTP server traffic |
michael@137 | 144 | #PNGTitle[httpbytes]: Kbytes per second |
michael@137 | 145 | #PageTop[httpbytes]: <H3>HTTP server traffic</H3> |
michael@135 | 146 | #LegendI[httpbytes]: |
michael@135 | 147 | #LegendO[httpbytes]: |
michael@137 | 148 | #YLegend[httpbytes]: Kbytes/second |
michael@137 | 149 | #ShortLegend[httpbytes]: kB/s |
michael@135 | 150 | |
michael@135 | 151 | ## HTTP Server Hits |
michael@137 | 152 | #Target[httphits]: `@l_prefix@/share/mrtg/scripts/webstats.pl hits` |
michael@137 | 153 | #Options[httphits]: growright,nopercent,perhour,nobanner,noinfo,integer,noi |
michael@137 | 154 | #MaxBytes[httphits]: 12000 |
michael@137 | 155 | #Unscaled[httphits]: ymwd |
michael@137 | 156 | #WithPeak[httphits]: wmy |
michael@137 | 157 | #Title[httphits]: HTTP server hits |
michael@137 | 158 | #PNGTitle[httphits]: Hits per hour |
michael@137 | 159 | #PageTop[httphits]: <H3>HTTP server hits</H3> |
michael@135 | 160 | #LegendI[httphits]: |
michael@135 | 161 | #LegendO[httphits]: |
michael@137 | 162 | #Legend2[httphits]: Hits per hour |
michael@137 | 163 | #Legend4[httphits]: 5 Minute peak |
michael@137 | 164 | #YLegend[httphits]: Hits/hour |
michael@137 | 165 | #ShortLegend[httphits]: hits/hour |
michael@135 | 166 |