ヴィカス ヤダワ (vikas yadav) wrote: > Hi, > > I have munin on the server but I could not locate ti...@home munin > plugin code. Please point me the the svn/steps to setup. I read the wiki > but i can't underastand it (new to to python/django).
The munin plugins are not in SVN, as they are basically just wrappers
around an HTML call in most cases.
For example the tah_queue plugin is:
#!/bin/sh
# Plugin to monitor the t...@h pending queue
#%# family=auto
if [ "$1" = "autoconf" ]; then
echo no
exit 0
fi
if [ "$1" = "config" ]; then
echo "graph_order high medium low"
echo "graph_args --base 1000 -r --lower-limit 0"
echo 'graph_vlabel Pending Requests'
echo 'graph_title Pending t...@h Requests (by priority)'
echo 'graph_info Number of pending t...@h requests in the queue'
echo 'medium.label Medium'
echo 'medium.draw LINE3'
echo 'medium.min 0'
echo 'medium.info Number of pending t...@h requests with medium
priority'
echo 'low.label Low'
echo 'low.draw LINE1'
echo 'low.min 0'
echo 'low.info Number of pending t...@h requests with low priority'
exit 0
fi
wget -q -O- http://localhost/Request/stats/munin/pending/
----------
Similary, the tah_active plugin just calls
wget -q -O- http://localhost/Request/stats/munin/active/
and the tah_finished plugin calls
wget -q -O- http://localhost/Request/stats/munin/done/
HTH
spaetz
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Tilesathome mailing list [email protected] http://lists.openstreetmap.org/listinfo/tilesathome
