view muninplugin @ 38:6f85bedf9966

Authenticate properly in Python 3
author Daniel O'Connor <darius@dons.net.au>
date Wed, 02 Dec 2020 11:19:50 +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