Mercurial > ~darius > hgwebdir.cgi > adslstats
view muninplugin @ 23:4b6c811e77df
Save & load session cookie so we don't have to reauth every time.
It seems even successful auth attemps are rate limited and get a 503.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sat, 17 Jun 2017 15:59:23 +0930 |
parents | 0e1399e48678 |
children | 08cddcdb0db3 |
line wrap: on
line source
#!/bin/sh # Create symlinks # ln -fs /home/darius/projects/adslstats/muninplugin /usr/local/etc/munin/plugins/adslstats_signal # ln -fs /home/darius/projects/adslstats/muninplugin /usr/local/etc/munin/plugins/adslstats_sync # # Add entry to /usr/local/etc/munin/plugin-conf.d/plugins.conf # [adslstats_*] # user darius /usr/local/bin/python2 /home/darius/projects/adslstats/adslstats.py -m $0 $1