-
Notifications
You must be signed in to change notification settings - Fork 43
Description
the problem is with 'show queue' output processing
[root@thirdlane plugins]# munin-run asteriskstats
ERROR: IOError('Failure in storing plugin state in file: /var/lib/munin/plugin-state/nobody/asteriskstats-',)
Traceback (most recent call last):
File "/etc/munin/plugins/asteriskstats", line 9, in
load_entry_point('PyMunin==0.9.28', 'console_scripts', 'pymunin-asteriskstats')()
File "/usr/lib/python2.6/site-packages/pymunin/plugins/asteriskstats.py", line 422, in main
sys.exit(muninMain(MuninAsteriskPlugin))
File "/usr/lib/python2.6/site-packages/pymunin/init.py", line 957, in muninMain
plugin = pluginClass(argv, env, debug)
File "/usr/lib/python2.6/site-packages/pymunin/plugins/asteriskstats.py", line 229, in init
self.saveState(self._queues)
File "/usr/lib/python2.6/site-packages/pymunin/init.py", line 463, in saveState
% self._stateFile)
IOError: Failure in storing plugin state in file: /var/lib/munin/plugin-state/nobody/asteriskstats-
[root@thirdlane PyMunin]# asterisk -rx "queue show"
sales-1001 has 0 calls (max 10) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
SIP/102-1001 (realtime) (Unavailable) has taken no calls yet
No Callers
sales-1002 has 0 calls (max 10) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
SIP/102-1002 (realtime) (Unavailable) has taken no calls yet
SIP/101-1002 (realtime) (Unavailable) has taken no calls yet
No Callers
support-1001 has 0 calls (max 10) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
Members:
SIP/103-1001 (realtime) (Unavailable) has taken no calls yet
No Callers
sales-thirdlane has 0 calls (max 10) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
No Members
No Callers
[root@thirdlane PyMunin]# asterisk -rx "core show version"
Asterisk 1.8.23.0 built by root @ distro-el6.thirdlane.com on a x86_64 running Linux on 2013-07-17 10:06:10 UTC