Mercurial > ~darius > hgwebdir.cgi > adslstats
comparison muninplugin @ 9:8b5958404f81
Add support for running as a munin plugin and a simple wrapper script.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Thu, 08 Jan 2015 11:17:40 +1030 |
parents | |
children | 0e1399e48678 |
comparison
equal
deleted
inserted
replaced
8:e69ad89061dc | 9:8b5958404f81 |
---|---|
1 #!/bin/sh | |
2 | |
3 # Create symlinks | |
4 # ln -fs /home/darius/projects/adslstats/muninplugin /usr/local/etc/munin/plugins/adslstats_signal | |
5 # ln -fs /home/darius/projects/adslstats/muninplugin /usr/local/etc/munin/plugins/adslstats_sync | |
6 # | |
7 # Add entry to /usr/local/etc/munin/plugin-conf.d/plugins.conf | |
8 # [adslstats_*] | |
9 # user darius | |
10 | |
11 /usr/local/bin/python2 /home/darius/projects/adslstats.dev/adslstats.py -m $0 $1 |