Unable to create Graphs
Moderators: Developers, Moderators
Unable to create Graphs
Hi.
I have recently installed CACTI ( for the first time ), and i am unable to create any grpahs. I'm getting an error from RRDTool which is unable to create the .rrd files required. I'm running Xampp v1.4.14 on Window 2000. Cacti v 0.8.6, All seems ok with the poller script. Attached are my log files..... Any help would be great.
I have recently installed CACTI ( for the first time ), and i am unable to create any grpahs. I'm getting an error from RRDTool which is unable to create the .rrd files required. I'm running Xampp v1.4.14 on Window 2000. Cacti v 0.8.6, All seems ok with the poller script. Attached are my log files..... Any help would be great.
- Attachments
-
- cacti.log.txt
- (15.13 KiB) Downloaded 129 times
-
- rrd output.txt
- (1.2 KiB) Downloaded 155 times
1) all those double slashes are bad in your paths.
2) Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the log file (./cacti/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
3) You might have to switch over to the real versions of php, mysql, perl and apache if Xampp doesn't work out.
2) Turn the polling level in cacti to debug (Settings | Polling level) for one cycle and paste the output of the log file (./cacti/cacti.log). If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.
3) You might have to switch over to the real versions of php, mysql, perl and apache if Xampp doesn't work out.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Are the rrd files even getting created? If not, make sure the user running the scheduled task has the proper rights in your rrd folder to created/modify files.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
What happens if you run poller.php with an admin account?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
As an admin perform the following steps:
1) Turn logging to DEBUG
2) Open a Command Prompt
3) CD to the Cacti directory
4) Run the following command: c:\php\php.exe poller.php
5) You should see a number of OK messages. If you get errors post them.
6) Check your RRA directory for output.
7) If you don't get the OK messages, do the following:
a) mysql -u root -p cacti
>truncate table poller_output;
>quit
Then run c:\php\php.exe poller.php again.
TheWitness
1) Turn logging to DEBUG
2) Open a Command Prompt
3) CD to the Cacti directory
4) Run the following command: c:\php\php.exe poller.php
5) You should see a number of OK messages. If you get errors post them.
6) Check your RRA directory for output.
7) If you don't get the OK messages, do the following:
a) mysql -u root -p cacti
>truncate table poller_output;
>quit
Then run c:\php\php.exe poller.php again.
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?
Update
I ran the poller command as you instructed using php-win.exe sas i'm running php5. There were no messages at all. I ran the command using php.exe and i recieved a variety of warnings, which are attached.
I aloso performed the mysql command and ran the poller again with both php.exe and php-win.exe to no avail. No files are being created in the rra directory. Also, i have attacherd my updated cacti.log
Cheers,
J.
I aloso performed the mysql command and ran the poller again with both php.exe and php-win.exe to no avail. No files are being created in the rra directory. Also, i have attacherd my updated cacti.log
Cheers,
J.
- Attachments
-
- cacti.log.txt
- (35.44 KiB) Downloaded 190 times
-
- php output.txt
- (2.82 KiB) Downloaded 123 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
If you are running cacti 0.8.6g, you need to take the config.php.dist and copy it over config.php and run again. cmd.php is running fine, you are not creating RRD files though. I don't understand the backslash issue either. But start with the new config.php.
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?
Update
I was running cacti version 0.8.6f... I upgraded to 0.8.6g and followed the 'upgrade wizard'.... There doesn't apear to be a config.php.dist on my system anywhere. I have to amend the config.php file so the mysql password is correct and that its using mysqli instead of mysql. Other than that it's standard. Ran cmd.php again to no avail.
If you're more comfortable with linux, maybe.
1) Are you using the cygwin build of rrdtool?
2) You might need to install php and mysql instead of Xampp. I recall another user having problems with that too.
1) Are you using the cygwin build of rrdtool?
2) You might need to install php and mysql instead of Xampp. I recall another user having problems with that too.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
WRONG!
Did you pay attention to the sticky at the top of the forum or the Windows install instructions? You must use the rrdtool cygwin build, NOT Win32.
Did you pay attention to the sticky at the top of the forum or the Windows install instructions? You must use the rrdtool cygwin build, NOT Win32.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests