aboutsummaryrefslogtreecommitdiffstats
path: root/syslog_munin/syslog_munin_plugin.sh
blob: 97e0951498b80eec80fb367b03657428eb60b759 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#
# This is the munin plugin that connects to
# ./syslog_munin.py and asks for config and/or
# values

if [ "$1" == "" ]; then
    echo "argument expected"
    exit 1
else
    echo $1 | nc 127.0.0.1 51401
fi