Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
install:mrtg [2008/09/05 09:30] linkuff |
install:mrtg [2008/09/07 15:05] linkuff |
||
---|---|---|---|
Ligne 47: | Ligne 47: | ||
indexmaker --output / | indexmaker --output / | ||
</ | </ | ||
+ | |||
+ | |||
Ligne 56: | Ligne 58: | ||
< | < | ||
#!/bin/sh | #!/bin/sh | ||
- | P=`ping | + | P=`ping |
MIN=`echo $P|cut -d"/" | MIN=`echo $P|cut -d"/" | ||
MAX=`echo $P|cut -d"/" | MAX=`echo $P|cut -d"/" | ||
Ligne 166: | Ligne 168: | ||
Pour permettre l' | Pour permettre l' | ||
< | < | ||
- | chmod 700 /etc/mrtg/ping | + | chmod 700 /etc/mrtg/* |
- | chmod 700 / | + | |
- | chmod 700 / | + | |
- | chmod 700 / | + | |
- | chmod 700 / | + | |
</ | </ | ||
+ | |||
Ligne 179: | Ligne 178: | ||
Ajouter la configuration du script ping à / | Ajouter la configuration du script ping à / | ||
< | < | ||
- | #---------Ping YAHOO-------------------- | + | ## Ping ## |
Target[ping_yahoo]: | Target[ping_yahoo]: | ||
Options[ping_yahoo]: | Options[ping_yahoo]: | ||
Ligne 191: | Ligne 190: | ||
LegendO[ping_yahoo]: | LegendO[ping_yahoo]: | ||
Title[ping_yahoo]: | Title[ping_yahoo]: | ||
- | PageTop[ping_yahoo]: | + | PageTop[ping_yahoo]: |
WithPeak[ping_yahoo]: | WithPeak[ping_yahoo]: | ||
Legend4[ping_yahoo]: | Legend4[ping_yahoo]: | ||
Legend3[ping_yahoo]: | Legend3[ping_yahoo]: | ||
- | # | ||
- | #---------Memory-------------------- | + | ## Memory |
Target[mem]: | Target[mem]: | ||
Options[mem]: | Options[mem]: | ||
Ligne 214: | Ligne 212: | ||
Legend3[mem]: | Legend3[mem]: | ||
Legend4[mem]: | Legend4[mem]: | ||
- | # | ||
- | #---------CPU------------------- | + | ## CPU 1 ## |
Target[cpu]: | Target[cpu]: | ||
Options[cpu]: | Options[cpu]: | ||
Ligne 228: | Ligne 225: | ||
LegendO[cpu]: | LegendO[cpu]: | ||
Title[cpu]: CPU | Title[cpu]: CPU | ||
- | PageTop[cpu]: | + | PageTop[cpu]: |
WithPeak[cpu]: | WithPeak[cpu]: | ||
Legend3[cpu]: | Legend3[cpu]: | ||
Legend4[cpu]: | Legend4[cpu]: | ||
- | # | ||
- | #---------CPU------------------- | + | ## CPU 2 ## |
Target[cpu2]: | Target[cpu2]: | ||
Options[cpu2]: | Options[cpu2]: | ||
Ligne 243: | Ligne 239: | ||
LegendO[cpu2]: | LegendO[cpu2]: | ||
Legend2[cpu2]: | Legend2[cpu2]: | ||
- | PageTop[cpu2]: | + | PageTop[cpu2]: |
WithPeak[cpu2]: | WithPeak[cpu2]: | ||
Legend3[cpu2]: | Legend3[cpu2]: | ||
Legend4[cpu2]: | Legend4[cpu2]: | ||
- | # | ||
- | #---------Apache2 hits----------------------- | + | ## Apache2 hits ## |
Target[apache2_hits]: | Target[apache2_hits]: | ||
Options[apache2_hits]: | Options[apache2_hits]: | ||
Ligne 261: | Ligne 256: | ||
Title[apache2_hits]: | Title[apache2_hits]: | ||
WithPeak[apache2_hits]: | WithPeak[apache2_hits]: | ||
- | # | ||
- | #---------Apache2 Traffic----------------------- | + | ## Apache2 Traffic |
Target[apache2_traffic]: | Target[apache2_traffic]: | ||
Options[apache2_traffic]: | Options[apache2_traffic]: | ||
Ligne 276: | Ligne 270: | ||
WithPeak[apache2_traffic]: | WithPeak[apache2_traffic]: | ||
Legend4[apache2_traffic]: | Legend4[apache2_traffic]: | ||
- | # | ||
</ | </ | ||