Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rrd not created, graph template data sources unassigned #3

Open
GoogleCodeExporter opened this issue Feb 13, 2016 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. follow the instructions at 
http://crunchtools.com/software/crunchtools/cacti/grpah-bgp-neighbors/#Instructi
ons


What is the expected output? What do you see instead?
I expect to see a graph with all the data sources properly selected.  Instead I 
get no graph, all but one data source is missing and the rrd file is never 
created.

What version of the product are you using? On what operating system?
Version 0.8.7i
Operating System: unix
PHP SNMP Support: yes

Please provide any additional information below.

I imported the data template successfully, but there may have been a problem 
(<oid_num_indexes> missing in XML file):

+ Running data query [21].
+ Found type = '3' [SNMP Query].
+ Found data query XML file at 
'/var/www/cacti/resource/snmp_queries/ebgp_ibgp.xml'
+ XML file parsed ok.
+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by 
counting oid_index entries
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.15.3.1.5' Index 
Count: 6
+ Index found at OID: '1.3.6.1.2.1.15.3.1.5.192.168.1.49' value: '192.168.1.50'
+ Index found at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.240' value: '10.10.1.252'
+ Index found at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.241' value: '10.10.1.252'
+ Index found at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.244' value: '10.10.1.252'
+ Index found at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.245' value: '10.10.1.252'
+ Index found at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.248' value: '10.10.1.252'
+ index_parse at OID: '1.3.6.1.2.1.15.3.1.5.192.168.1.49' results: 
'192.168.1.49'
+ index_parse at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.240' results: '10.10.1.240'
+ index_parse at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.241' results: '10.10.1.241'
+ index_parse at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.244' results: '10.10.1.244'
+ index_parse at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.245' results: '10.10.1.245'
+ index_parse at OID: '1.3.6.1.2.1.15.3.1.5.10.10.1.248' results: '10.10.1.248'
+ Located input field 'bgpIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.15.3.1.5'
+ Found item [bgpIndex='192.168.1.50'] index: 192.168.1.49 [from value]
+ Found item [bgpIndex='10.10.1.252'] index: 10.10.1.240 [from value]
+ Found item [bgpIndex='10.10.1.252'] index: 10.10.1.241 [from value]
+ Found item [bgpIndex='10.10.1.252'] index: 10.10.1.244 [from value]
+ Found item [bgpIndex='10.10.1.252'] index: 10.10.1.245 [from value]
+ Found item [bgpIndex='10.10.1.252'] index: 10.10.1.248 [from value]

When I go to view the graph in debug mode, I see three data sources for each 
prefixes, data, and sent. Only one of them, the second of the prefixes, has a 
data source set and i see

ERROR: opening '/var/www/cacti/rra/router-1_received_2371.rrd': No such file or 
directory

This is an operational installation of cacti with about 50 devices.  The device 
I'm polling does have other working graphs (SAA, interface statistics, 
temperature, etc.)  Related cacti log file entries:

04/18/2012 01:31:07 PM - PCOMMAND: Poller[0] Host[65] WARNING: Recache Event 
Detected for Host 
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1967] SNMP: v1: 
172.16.0.252, dsname: http_trans_rtt, oid: .1.3.6.1.4.1.9.9.42.1.5.1.1.4.3, 
output: 101
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1967] SNMP: v1: 
172.16.0.252, dsname: http_tcp_rtt, oid: .1.3.6.1.4.1.9.9.42.1.5.1.1.3.3, 
output: 49
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1967] SNMP: v1: 
172.16.0.252, dsname: http_dns_rtt, oid: .1.3.6.1.4.1.9.9.42.1.5.1.1.2.3, 
output: 24
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1967] SNMP: v1: 
172.16.0.252, dsname: http_rtt, oid: .1.3.6.1.4.1.9.9.42.1.5.1.1.1.3, output: 
174
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1967] SNMP: v1: 
172.16.0.252, dsname: rtt, oid: .1.3.6.1.4.1.9.9.42.1.2.10.1.1.3, output: 174
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1966] SNMP: v1: 
172.16.0.252, dsname: rtt, oid: .1.3.6.1.4.1.9.9.42.1.2.10.1.1.3, output: 174
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1965] SNMP: v1: 
172.16.0.252, dsname: rtt, oid: .1.3.6.1.4.1.9.9.42.1.2.10.1.1.2, output: 36
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1964] SNMP: v1: 
172.16.0.252, dsname: rtt, oid: .1.3.6.1.4.1.9.9.42.1.2.10.1.1.1, output: 32
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1717] SNMP: v1: 
172.16.0.252, dsname: errors_in, oid: .1.3.6.1.2.1.2.2.1.14.17, output: 9214776
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1716] SNMP: v1: 
172.16.0.252, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.17, output: 
4119189826
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1715] SNMP: v1: 
172.16.0.252, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.14, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1393] SNMP: v1: 
172.16.0.252, dsname: discards_out, oid: .1.3.6.1.2.1.2.2.1.19.1, output: 
19867729
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1394] SNMP: v1: 
172.16.0.252, dsname: discards_in, oid: .1.3.6.1.2.1.2.2.1.13.8, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1394] SNMP: v1: 
172.16.0.252, dsname: discards_out, oid: .1.3.6.1.2.1.2.2.1.19.8, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1394] SNMP: v1: 
172.16.0.252, dsname: errors_out, oid: .1.3.6.1.2.1.2.2.1.20.8, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1715] SNMP: v1: 
172.16.0.252, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.14, output: 819997
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1716] SNMP: v1: 
172.16.0.252, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.17, output: 
2010158407
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1717] SNMP: v1: 
172.16.0.252, dsname: discards_in, oid: .1.3.6.1.2.1.2.2.1.13.17, output: 24
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1717] SNMP: v1: 
172.16.0.252, dsname: discards_out, oid: .1.3.6.1.2.1.2.2.1.19.17, output: 21041
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1717] SNMP: v1: 
172.16.0.252, dsname: errors_out, oid: .1.3.6.1.2.1.2.2.1.20.17, output: 9457613
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1694] SNMP: v1: 
172.16.0.252, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.13, output: 
2473446785
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1393] SNMP: v1: 
172.16.0.252, dsname: errors_out, oid: .1.3.6.1.2.1.2.2.1.20.1, output: 2978824
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1694] SNMP: v1: 
172.16.0.252, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.13, output: 
1742337447
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1695] SNMP: v1: 
172.16.0.252, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1695] SNMP: v1: 
172.16.0.252, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.15, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1398] CMD: perl 
/var/www/cacti/scripts/ping.pl 172.16.0.252, output: 6.27
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1397] CMD: perl 
/var/www/cacti/scripts/ping.pl 172.16.0.252, output: 5.38
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1394] SNMP: v1: 
172.16.0.252, dsname: errors_in, oid: .1.3.6.1.2.1.2.2.1.14.8, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1393] SNMP: v1: 
172.16.0.252, dsname: errors_in, oid: .1.3.6.1.2.1.2.2.1.14.1, output: 26000
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1393] SNMP: v1: 
172.16.0.252, dsname: discards_in, oid: .1.3.6.1.2.1.2.2.1.13.1, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1346] SNMP: v1: 
172.16.0.252, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 0
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1346] SNMP: v1: 
172.16.0.252, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 
419364229
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1345] SNMP: v1: 
172.16.0.252, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 
3887221737
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1345] SNMP: v1: 
172.16.0.252, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 
3210100018
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1344] SNMP: v1: 
172.16.0.252, dsname: cisco_tempthr, oid: .1.3.6.1.4.1.9.9.13.1.3.1.4.1, 
output: 50
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1343] SNMP: v1: 
172.16.0.252, dsname: cisco_tempcur, oid: .1.3.6.1.4.1.9.9.13.1.3.1.3.1, 
output: 28
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1342] SNMP: v1: 
172.16.0.252, dsname: cisco_memused, oid: .1.3.6.1.4.1.9.9.48.1.1.1.5.1, 
output: 364642140
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1341] SNMP: v1: 
172.16.0.252, dsname: cisco_memfree, oid: .1.3.6.1.4.1.9.9.48.1.1.1.6.1, 
output: 48927980
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] DS[1340] SNMP: v1: 
172.16.0.252, dsname: 5min_cpu, oid: .1.3.6.1.4.1.9.9.109.1.1.1.1.5.1, output: 
50
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] ASSERT: '3=' failed. Recaching host 
'172.16.0.252', data query #20
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] RECACHE DQ[20] OID: .3, 
output:
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for 
Host:'172.16.0.252', and OID:'.3'
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] ASSERT: '2=' failed. Recaching host 
'172.16.0.252', data query #20
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] RECACHE DQ[20] OID: .2, 
output:
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for 
Host:'172.16.0.252', and OID:'.2'
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] ASSERT: '1=' failed. Recaching host 
'172.16.0.252', data query #20
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] RECACHE DQ[20] OID: .1, 
output:
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for 
Host:'172.16.0.252', and OID:'.1'
04/18/2012 01:30:52 PM - CMDPHP: Poller[0] Host[65] RECACHE DQ[1] OID: 
.1.3.6.1.2.1.1.3.0, output: 2108271289 

Original issue reported on code.google.com by [email protected] on 18 Apr 2012 at 8:36

@GoogleCodeExporter
Copy link
Author

another hint may be that the graph's Title is "router-1 - eBGP/iBGP Monitor 
|query_bgpIndex|"

Original comment by [email protected] on 18 Apr 2012 at 10:01

@GoogleCodeExporter
Copy link
Author

I'm also facing the same problem. Does anyone know how to get this fixed?

Original comment by [email protected] on 6 Feb 2013 at 1:59

@GoogleCodeExporter
Copy link
Author

Same issue !

Original comment by [email protected] on 3 Oct 2014 at 8:08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant