Hello all, this might be a stupid mistake, but I have gone through my permisions, and some graphs are working just fine. When I add device, and try to add a graph it says it was created sucessfully, but when I try to view it I get the ERROR: ........."No such file or directory" <Graph Debug.
Data source debug
/usr/bin/rrdtool create \
...../cacti/site/rra/aplta_2_4_traffic_in_65.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Data Querx Debug
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Radio port'] index: 1 [from value]
+ Found item [ifDescr='Ethernet port'] index: 2 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='8000000'] index: 1 [from value]
+ Found item [ifSpeed='10000000'] index: 2 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:00:10:E7:A4:2F:DD'] index: 1 [from value]
+ Found item [ifHwAddr='00:00:10:E7:A4:2F:DD'] index: 2 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='192.168.13.100'] index: 1 [from regexp oid parse]
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
All help is appreciated
Graphing not working
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Have you made sure that the poller has run at least one time?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
-
- Posts: 8
- Joined: Thu Apr 21, 2005 5:46 pm
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Run poller.php manually 1 time as root, see if the graph get's created. This could be a poller id permissions problem.
Also, review the poller_cache for the correct entry for this data source.
TheWitness
Also, review the poller_cache for the correct entry for this data source.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 8
- Joined: Thu Apr 21, 2005 5:46 pm
Hi TheWitness,
I did run the poller.php manually, I got a "Timeout: No Response from 192.168.13.100:161." The time out is set to 1500. When I run a Data Query Debug information I get :
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Radio port'] index: 1 [from value]
+ Found item [ifDescr='Ethernet port'] index: 2 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='8000000'] index: 1 [from value]
+ Found item [ifSpeed='10000000'] index: 2 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:00:10:E7:A4:2F:DD'] index: 1 [from value]
+ Found item [ifHwAddr='00:00:10:E7:A4:2F:DD'] index: 2 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='192.168.13.100'] index: 1 [from regexp oid parse]
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
And this is the poller cache:
Data Source: AP-Léta 2.4 - Traffic - Ethernet port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_66.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.2 (Host: 192.168.13.100, Community: public)
Data Source: AP-Léta 2.4 - Traffic - Ethernet port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_66.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.2 (Host: 192.168.13.100, Community: public)
Data Source: AP-Léta 2.4 - Traffic - 192.168.13.100/Radio port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_65.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 192.168.13.100, Community: public)
Data Source: AP-Léta 2.4 - Traffic - 192.168.13.100/Radio port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_65.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 192.168.13.100, Community: public)
THIS FILE DOES NOT EXIST.
ERROR: opening '/var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_65.rrd': No such file or directory
Permisions should be fine, because I was able to create a local host graph, and Graphs for a Cisco Router as well ????
I did run the poller.php manually, I got a "Timeout: No Response from 192.168.13.100:161." The time out is set to 1500. When I run a Data Query Debug information I get :
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='Up'] index: 1 [from value]
+ Found item [ifOperStatus='Up'] index: 2 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='Radio port'] index: 1 [from value]
+ Found item [ifDescr='Ethernet port'] index: 2 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='ethernetCsmacd(6)'] index: 1 [from value]
+ Found item [ifType='ethernetCsmacd(6)'] index: 2 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='8000000'] index: 1 [from value]
+ Found item [ifSpeed='10000000'] index: 2 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:00:10:E7:A4:2F:DD'] index: 1 [from value]
+ Found item [ifHwAddr='00:00:10:E7:A4:2F:DD'] index: 2 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='192.168.13.100'] index: 1 [from regexp oid parse]
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/usr/share/cacti/resource/snmp_queries/interface.xml'
And this is the poller cache:
Data Source: AP-Léta 2.4 - Traffic - Ethernet port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_66.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.2 (Host: 192.168.13.100, Community: public)
Data Source: AP-Léta 2.4 - Traffic - Ethernet port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_66.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.2 (Host: 192.168.13.100, Community: public)
Data Source: AP-Léta 2.4 - Traffic - 192.168.13.100/Radio port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_65.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 192.168.13.100, Community: public)
Data Source: AP-Léta 2.4 - Traffic - 192.168.13.100/Radio port
RRD: /var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_65.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 192.168.13.100, Community: public)
THIS FILE DOES NOT EXIST.
ERROR: opening '/var/www/adm.sohonet.hu/admin.all/cacti/site/rra/aplta_2_4_traffic_in_65.rrd': No such file or directory
Permisions should be fine, because I was able to create a local host graph, and Graphs for a Cisco Router as well ????
Who is online
Users browsing this forum: No registered users and 2 guests