Hi, i'm having some problems with my cacti setup now.
After i imported the new template i get this error on all interfaces:
Data Query [SNMP - Interface Statistics]
Error in data query.
When i try to edit Data Queries [edit: SNMP - Interface Statistics] i see this message:
Could not locate XML file.
Really strange
Any help would be apreciated.
------------------------------------------------------------------
Solved, after i imported the template my path to cacti changed, don't know why.
What i had in Data Queries [edit: SNMP - Interface Statistics]:
path_cacti/resource/snmp_queries/interface.xml
What should be in Data Queries [edit: SNMP - Interface Statistics]:
<path_cacti>/resource/snmp_queries/interface.xml
The same was for the new interfaces too...
This was tested on Gentoo 64bit
-------------------------------------------------------------------
The next problem is i don't get any output after NIC detection with the debugging script:
/root/monitor/snmp_persist-test.pl
Found NIC=eth1
Found NIC=eth0
Found NIC=lo
Found NIC=teql0
Found NIC=eth0
Found NIC=eth0
And the strange part is that it detects 3 eth0 cards...
--------------------------------------------------------------------
Ok solved this one too in a way:
Code: Select all
Use of uninitialized value in numeric gt (>) at /usr/local/sbin/snmp_persist.pl line 249, <STDIN> line 2.
This is what i'm getting after i run your script with the apropriate <CR>...
And i don't get it one time, it dosen't stops, i've let it run for 30sec and then ctrl +c...
And this is the message when i am running your debugging script:
Code: Select all
Matched bytes pkts dropped overlimits requeues
Use of uninitialized value in numeric gt (>) at ./snmp_persist-test.pl line 251, <STDIN> line 2.
Use of uninitialized value in numeric gt (>) at ./snmp_persist-test.pl line 251, <STDIN> line 2.
Use of uninitialized value in numeric gt (>) at ./snmp_persist-test.pl line 251, <STDIN> line 2.
Use of uninitialized value in numeric gt (>) at ./snmp_persist-test.pl line 251, <STDIN> line 2.
Use of uninitialized value in numeric gt (>) at ./snmp_persist-test.pl line 251, <STDIN> line 2.
Use of uninitialized value in concatenation (.) or string at ./snmp_persist-test.pl line 142, <STDIN> line 2.
Use of uninitialized value in concatenation (.) or string at ./snmp_persist-test.pl line 142, <STDIN> line 2.
Use of uninitialized value in concatenation (.) or string at ./snmp_persist-test.pl line 142, <STDIN> line 2.
Use of uninitialized value in concatenation (.) or string at ./snmp_persist-test.pl line 142, <STDIN> line 2.
Use of uninitialized value in concatenation (.) or string at ./snmp_persist-test.pl line 142, <STDIN> line 2.