arg_num_indexes missing in XML file
Moderators: Developers, Moderators
arg_num_indexes missing in XML file
Hi everyone
I have been trying to add QoS template to use it with cisco router , all goes well until I added it to Associated Data Queries of the router
status show success bot 0 Items, 0 Rows so I used Verbose Query and the following came out
+ Running data query [11].
+ Found type = '4' [Script Query].
+ Found data query XML file at 'C:\Users\Administrator\Downloads\cisco-qos-64\cacti_data_query_cisco-qos-64.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 ' ' Index Count: 0
I have no knowledge in XML so can I do???
note :- I have tried two other templates but the same problem came out
I have been trying to add QoS template to use it with cisco router , all goes well until I added it to Associated Data Queries of the router
status show success bot 0 Items, 0 Rows so I used Verbose Query and the following came out
+ Running data query [11].
+ Found type = '4' [Script Query].
+ Found data query XML file at 'C:\Users\Administrator\Downloads\cisco-qos-64\cacti_data_query_cisco-qos-64.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 ' ' Index Count: 0
I have no knowledge in XML so can I do???
note :- I have tried two other templates but the same problem came out
Re: arg_num_indexes missing in XML file
Have you configured you cisco to allow the information via SNMP? By default it will be locked down.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: arg_num_indexes missing in XML file
Hi netniV
in fact I have an old working cacti server so I have mirrored configuration for the new one
I have even tried to export the QoS template used in the old cacti to use it in the new one but the same problem
in fact I have an old working cacti server so I have mirrored configuration for the new one
I have even tried to export the QoS template used in the old cacti to use it in the new one but the same problem
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: arg_num_indexes missing in XML file
On the Cisco, have you permitted the new IP to poll?
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: arg_num_indexes missing in XML file
yes I did I have a working cacti server and I have mirrored configuration for the new onecamerabob wrote:On the Cisco, have you permitted the new IP to poll?
- camerabob
- Cacti User
- Posts: 386
- Joined: Fri Feb 10, 2017 2:45 pm
- Location: Long Island, New York, USA
- Contact:
Re: arg_num_indexes missing in XML file
Show us the SNMP on the Cisco side please. Mask out anything you don't wish to be shown in public.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Re: arg_num_indexes missing in XML file
Dear camerabob ,camerabob wrote:Show us the SNMP on the Cisco side please. Mask out anything you don't wish to be shown in public.
thanks for your interest
==> on the monitored router
snmp-server community password RO Cacti
snmp-server host 10.30.1.251 password
ip access-list standard Cacti
permit 10.30.1.251
==> on a Cisco ASA (connecting the router to the LAN containing the cacti server)
access-list ACL-X extended permit udp host 10.30.1.251 host x.x.x.x eq snmp
Re: arg_num_indexes missing in XML file
Cisco have a decent page on the various things you can do to monitor the use of SNMP on the devices:
https://www.cisco.com/c/en/us/td/docs/s ... _snmp.html
Try monitoring the usage. Also, make sure that the device is definitely listening for UDP traffic on SNMP by using SNMPWALK
https://www.cisco.com/c/en/us/td/docs/s ... _snmp.html
Try monitoring the usage. Also, make sure that the device is definitely listening for UDP traffic on SNMP by using SNMPWALK
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: arg_num_indexes missing in XML file
I also have no problem in snmp on my new server since I can create graphs for my router (interface traffic and cpu) but just have a problem with templates
Who is online
Users browsing this forum: No registered users and 0 guests