view muninplugin @ 35:815e6b61d76e

Decode to string to work with Python 3.
author Daniel O'Connor <darius@dons.net.au>
date Sat, 14 Nov 2020 15:05:07 +1030
parents 08cddcdb0db3
children
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
# env.HOME /home/darius

/usr/local/bin/python2 /home/darius/projects/adslstats/adslstats.py -m $0 $1