no rrd files in rra directory
Moderators: Developers, Moderators
no rrd files in rra directory
Hello,
I just installed Cacti Version 0.8.6b on my fresh installed WIN XP maschine.
I used the XAMPP package, http://www.apachefriends.org/en/xampp-windows.html
XAMPP Windows 1.4.9 Apache HTTPD 2.0.52, MySQL 4.0.21, PHP 5.0.2 + 4.3.9 + PEAR + Switch, MiniPerl 5.8.3,
mod_ssl 2.0.51, Openssl 0.9.7d, PHPMyAdmin 2.6.0 pl1, Webalizer 2.01-10, Mercury Mail Transport System für Win32
und NetWare Systems v4.01a, FileZilla FTP Server 0.9.3, SQLite 2.8.15, ADODB 4.52, Zend Optimizer 2.5.3.
Für Windows 98, 2000, XP.
So far so good. I´m starting the webserver and I´m able to log into cacti. I´m able to import templates and I can add a
new device. And I can attach a template to the new device, a cisco router. When I go to data sources and to the 5Min CPU source,
I can see, that the data is polled from cacti.
But the data is not stored in the rra directory.
With an older version 0.8.5 I saw that it takes some polls to create the rrd-data, but on the new maschine there are no
rrd files. The RRA directory stays empty.
Where might be the mistake.
Best regards
Wimmo
Data Source Debug
c:\rrdtool\rrdtool.exe create \
C:\apachefriends\xampp\htdocs\cacti/rra/c2600_routerdus11_5min_cpu_19.rrd \
--step 300 \
DS:5min_cpu:GAUGE:600:0:100 \
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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
SNMP Information
System: Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-JS-M), Version 12.1(18),
RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Mon 02-Dec-02 23:54 by kellythw
Uptime: 107946454
Hostname: router-dus11
RRDTool Says:
ERROR: opening 'C:\apachefriends\xampp\htdocs\cacti/rra/c2600_routerdus11_5min_cpu_19.rrd': No such file or directory
I just installed Cacti Version 0.8.6b on my fresh installed WIN XP maschine.
I used the XAMPP package, http://www.apachefriends.org/en/xampp-windows.html
XAMPP Windows 1.4.9 Apache HTTPD 2.0.52, MySQL 4.0.21, PHP 5.0.2 + 4.3.9 + PEAR + Switch, MiniPerl 5.8.3,
mod_ssl 2.0.51, Openssl 0.9.7d, PHPMyAdmin 2.6.0 pl1, Webalizer 2.01-10, Mercury Mail Transport System für Win32
und NetWare Systems v4.01a, FileZilla FTP Server 0.9.3, SQLite 2.8.15, ADODB 4.52, Zend Optimizer 2.5.3.
Für Windows 98, 2000, XP.
So far so good. I´m starting the webserver and I´m able to log into cacti. I´m able to import templates and I can add a
new device. And I can attach a template to the new device, a cisco router. When I go to data sources and to the 5Min CPU source,
I can see, that the data is polled from cacti.
But the data is not stored in the rra directory.
With an older version 0.8.5 I saw that it takes some polls to create the rrd-data, but on the new maschine there are no
rrd files. The RRA directory stays empty.
Where might be the mistake.
Best regards
Wimmo
Data Source Debug
c:\rrdtool\rrdtool.exe create \
C:\apachefriends\xampp\htdocs\cacti/rra/c2600_routerdus11_5min_cpu_19.rrd \
--step 300 \
DS:5min_cpu:GAUGE:600:0:100 \
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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
SNMP Information
System: Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-JS-M), Version 12.1(18),
RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Mon 02-Dec-02 23:54 by kellythw
Uptime: 107946454
Hostname: router-dus11
RRDTool Says:
ERROR: opening 'C:\apachefriends\xampp\htdocs\cacti/rra/c2600_routerdus11_5min_cpu_19.rrd': No such file or directory
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Try changing all your paths from backslashes "\" to frontslashes "/" in Settings->Paths. Post your results.
TheWitness
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?
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Since you also have mysqladmin, goto the Cacti database, edit the settings table, look for a row titled path_webroot and change backslashes to forward slashes.
It is important to post your results on this.
TheWitness
It is important to post your results on this.
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?
[quote]Try changing all your paths from backslashes "\" to frontslashes "/" in Settings->Paths. Post your results.
TheWitness[/quote]
Hello,
we tried that first, but that didn´t help us.
Then we looked for path_webroot in the Cacti database, settings table but it´s not there. So we created the field. That didn´t help.
The xampp file contains only a mini-perl. Should we use a complete perl?
Or should we try to import the cacti db again to get the missing field?
Thanks,
Wimmo
TheWitness[/quote]
Hello,
we tried that first, but that didn´t help us.
Then we looked for path_webroot in the Cacti database, settings table but it´s not there. So we created the field. That didn´t help.
The xampp file contains only a mini-perl. Should we use a complete perl?
Or should we try to import the cacti db again to get the missing field?
Thanks,
Wimmo
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
I am concerned that your installation did not contain the path_webroot. That indicates to me an installation problem. You should re-attempt the upgrade. Make sure that you have replaced your config.php and all other files before upgrading though.
Attached is a graphic of my Settings table (or a portion of it anyway).
TheWitness
Attached is a graphic of my Settings table (or a portion of it anyway).
TheWitness
- Attachments
-
- settings Table.JPG (169.26 KiB) Viewed 5457 times
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?
Hi,
I got two problems with cacti. Since I've updated from the v.0.8.6 to 0.8.6a and today to the 0.8.6b, Cacti no more create the rrd files. I see no errors in the poller cache, or when the poller runs.
But: in the poller cache, I dont'see anything related with the new datasources I created.
My second problem, is that I had a few graphs who are no more updated. I can't find them in the poller cache. There are another datasources and graphs which are working well...
Can you help me ?
many many thanks !!
PS: I tried the tip with the path_webroot. I changed the backslashes to forward slashes, but everytime the poller runs, the path_webroot is reseted.`
--
MySQL 4.0.18-nt
PHP 4.3.8
Cacti 1.0.48
Win2k Server
I got two problems with cacti. Since I've updated from the v.0.8.6 to 0.8.6a and today to the 0.8.6b, Cacti no more create the rrd files. I see no errors in the poller cache, or when the poller runs.
But: in the poller cache, I dont'see anything related with the new datasources I created.
My second problem, is that I had a few graphs who are no more updated. I can't find them in the poller cache. There are another datasources and graphs which are working well...
Can you help me ?
many many thanks !!
PS: I tried the tip with the path_webroot. I changed the backslashes to forward slashes, but everytime the poller runs, the path_webroot is reseted.`
--
MySQL 4.0.18-nt
PHP 4.3.8
Cacti 1.0.48
Win2k Server
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It looks good. If you graphs are not updating, you should verify your poller cache or event clear it. Then run poller.php from the command line 1 time to look for RRD Error messages. Pipe the output to a file if you have to. Good luck!!
TheWitness
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?
errors while trying to create graph
try looking at the permissions on your rrd.log file -
When you go into graph management and then click on a graph choose the debug mode, what does it say?
When you go into graph management and then click on a graph choose the debug mode, what does it say?
Chevy 4x4 Rocks!
Still no rrd files in rra path
Hello,
I tried several things. First I put the path_webroot into the cacti database, that didn´t help.
Since it is a fresh installation I dropped the whole cacti db and imported it new from the cacti directory. No error messages.
Then I used mysqladmin to look into the fresh db and I didn´t found the path_webroot entry!
Then I looked at the cacti.sql file from 0.8.6.b and inside is no path_webroot entry. Where does the path_webroot come from, from where is that entry inserted into the cacti db?
Regards Wimmo
I tried several things. First I put the path_webroot into the cacti database, that didn´t help.
Since it is a fresh installation I dropped the whole cacti db and imported it new from the cacti directory. No error messages.
Then I used mysqladmin to look into the fresh db and I didn´t found the path_webroot entry!
Then I looked at the cacti.sql file from 0.8.6.b and inside is no path_webroot entry. Where does the path_webroot come from, from where is that entry inserted into the cacti db?
Regards Wimmo
Last edited by Wimmo on Tue Oct 12, 2004 7:06 am, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The Webroot is created I believe in either install/index.php or poller.php. Can't remember. In any event, you should startup your polling just to be certain.
TheWitness
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?
Hi...
I registered to the forum.. better this way
Well, I was not able to solve the problem, so I downgrade to the version 8.6... I mad a backup before upgrading to the 8.6a and 8.6b...
Now, everything works again
I know that some glitches appear somtimes, but I will do with it.. maybe, in a 8.7 version, all will work fine.
Thanks for your help anyway
--
dpjoff: the permissions to the log file where ok.. And in the debug mode, it was saying "ok"...
TheWitness: the poller cache was ok, filled with many datasources to poll. But There was some datasources missing, the ones which where not working... For the poller, it was not displaying any error message... so I was a bit "stuck" without knowing where to look for the mistake, or the bug.. so I decided to downgrade...
Again, thanks for your help
I registered to the forum.. better this way
Well, I was not able to solve the problem, so I downgrade to the version 8.6... I mad a backup before upgrading to the 8.6a and 8.6b...
Now, everything works again
I know that some glitches appear somtimes, but I will do with it.. maybe, in a 8.7 version, all will work fine.
Thanks for your help anyway
--
dpjoff: the permissions to the log file where ok.. And in the debug mode, it was saying "ok"...
TheWitness: the poller cache was ok, filled with many datasources to poll. But There was some datasources missing, the ones which where not working... For the poller, it was not displaying any error message... so I was a bit "stuck" without knowing where to look for the mistake, or the bug.. so I decided to downgrade...
Again, thanks for your help
Tiago Coimbra
Gruyère Energie
Gruyère Energie
Solved: no rrd creation or update:
Solved: no rrd creation or update:
I'd to use poller.php instead of cmd.php in crontab (or wthatever you will take to force the effect with W2k) to get it work.
After some source code auditing i faced that poller.php was never invoked elsewhere but it contains the function calls to handle rrd files.
Hope that helps
I'd to use poller.php instead of cmd.php in crontab (or wthatever you will take to force the effect with W2k) to get it work.
After some source code auditing i faced that poller.php was never invoked elsewhere but it contains the function calls to handle rrd files.
Hope that helps
Polarizer @ its best
http://www.codixx.de/polarizer.html
http://www.codixx.de/polarizer.html
Who is online
Users browsing this forum: No registered users and 4 guests