1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 10:28:36 +00:00

Initial version

This commit is contained in:
InboX 2009-01-16 18:15:18 +01:00 committed by Steve Schnepp
parent e41dd3ec88
commit 772423894a

28
plugins/other/stats_apache2 Executable file
View file

@ -0,0 +1,28 @@
#!/bin/sh
#
# By InboX
# site: http://munin.kazylax.net/
#######################################
if [ "$1" = "config" ]; then
echo "graph_title Serveur apache2"
echo 'graph_category Programmes'
echo 'graph_args --base 1000 -l 0'
echo 'graph_vlabel Apache2'
echo 'graph_scale no'
echo "up.label Apache en ligne"
echo 'up.draw AREA'
echo "down.label Apache hors ligne"
echo 'down.draw AREA'
exit 0
fi
if [ ! -f "/var/run/apache2.pid" ];
then
echo -n "down.value 0.6"
fi
if [ -f "/var/run/apache2.pid" ];
then
echo -n "up.value 1"
fi