view muninplugin @ 33:7d8bee5e3c80

Retain backwards compatibility with 2.7
author Daniel O'Connor <darius@dons.net.au>
date Sat, 14 Nov 2020 14:56:05 +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