mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Plugin zapchans: fix shellcheck issue
This commit is contained in:
parent
2f5a2a7913
commit
1ed78789c1
@ -47,6 +47,6 @@ fi
|
|||||||
# cron, and dumps its output to a separate file for this plugin to read later on. Letting
|
# cron, and dumps its output to a separate file for this plugin to read later on. Letting
|
||||||
# Munin plugins run as root is a security hole.
|
# Munin plugins run as root is a security hole.
|
||||||
|
|
||||||
zap=`asterisk -rx 'zap show channels' |grep -v "[[:digit:]]*[[:space:]] local" |grep -vc "Chan Extension"`
|
zap=$(asterisk -rx 'zap show channels' |grep -v "[[:digit:]]*[[:space:]] local" |grep -vc "Chan Extension")
|
||||||
|
|
||||||
echo "calls.value $zap"
|
echo "calls.value $zap"
|
||||||
|
Loading…
Reference in New Issue
Block a user