1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Updated asterisk_channels plugin to connect to running asterisk (probably what was intended) instead of starting new process.

This commit is contained in:
Dave Fennell 2012-12-19 10:09:50 +00:00
parent 430d68ffd9
commit 1a3ca61248

View file

@ -27,5 +27,5 @@ if [ "$1" = "config" ]; then
exit 0
fi
asterisk -x "core show channels" | awk '/active channels/ { print "channels.value " $1 }'
asterisk -rx "core show channels" | awk '/active channels/ { print "channels.value " $1 }'
exit 0