Projet

Général

Profil

Révision c7efedf6

IDc7efedf66a591e07f177d876399f9218a1b77794
Parent 942bda31
Enfant aa2691a4

Ajouté par Kenyon Ralph il y a plus de 13 ans

remove fairly useless, trivial plugin

Voir les différences:

plugins/programmes/stats_apache2
1
#!/bin/sh
2
#
3
# By InboX
4
# site: http://munin.kazylax.net/
5
#######################################
6

  
7
if [ "$1" = "config" ]; then
8
        echo "graph_title Serveur apache2"
9
        echo 'graph_category Programmes'
10
        echo 'graph_args --base 1000 -l 0'
11
        echo 'graph_vlabel Apache2'
12
        echo 'graph_scale no'
13
        echo "up.label Apache en ligne"
14
        echo 'up.draw AREA'
15
        echo "down.label Apache hors ligne"
16
        echo 'down.draw AREA'
17
        exit 0
18
fi
19

  
20
if [ ! -f "/var/run/apache2.pid" ];
21
then
22
echo -n "down.value 0.6"
23
fi
24

  
25
if [ -f "/var/run/apache2.pid" ];
26
then
27
echo -n "up.value 1"
28
fi

Formats disponibles : Unified diff