I been messing around with this script and have not been able to get the graphs to work.
I am able to get results from running the python scripts.
scripts]# ./asx-stats.py host1.ipbx.local sip.users
The problem seems to be the graphing when I run a verbose query for the graphs i get the below.
+ Running data query .
+ Found type = '4' [Script Query].
+ Found data query XML file at '/var/www/cacti/resource/script_queries/asx-stats.xml'
+ XML file parsed ok.
+ <arg_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting arg_index entries
+ Executing script for list of indexes '/var/www/cacti/scripts/asx-stats.py 172.16.50.150 --index' Index Count: 2
+ Found index: asterisk
+ Found index:
+ Executing script query '/var/www/cacti/scripts/asx-stats.py 172.16.50.150 --query device'
+ Found item [device='asterisk'] index: asterisk
Any help gettting this to work would be great as I have serveal asterisk server I would like to monitor.