1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00
tomarch 6a40ca1e9c fix munin agent (#148)
Without the full munin-scripts path, this script won't find munin file and return nothing.
2017-09-20 20:47:11 +01:00

16 lines
253 B
Plaintext
Executable File

# Lokale Einzelchecks
export MUNIN_LIBDIR=/usr/share/munin
if cd $MUNIN_LIBDIR/munin-scripts
then
for skript in $(ls)
do
if [ -x "$skript" ] ; then
echo "<<<munin-$skript>>>"
./$skript
./$skript config
fi
done
cd ..
fi