No rrd files created so obviously no graphs
Moderators: Developers, Moderators
I've had this type of thing happen to me once before and that was the fix.
Last thing you could try is:
mysql -u root -p cacti
>truncate table poller_output;
>quit
If that doesn't work, then we'll need a dev to figure out what the heck is going on.
Last thing you could try is:
mysql -u root -p cacti
>truncate table poller_output;
>quit
If that doesn't work, then we'll need a dev to figure out what the heck is going on.
| 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:
After 7:00pm EDT. I'll give you a swing..
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?
-
- Posts: 26
- Joined: Fri Sep 30, 2005 4:23 am
Also issues with no rrd files being created
Hi,
I'm also having issues where no rrd files are created :
this is an extract from my log :
strange are the 2 ways it uses the slash... would that be the problem?
I'm running :
Cacti 0.8.6g
Mysql 4.11-nt
RRDtool 1.2.10
Windows 2003 server
any ideas?
L.
I'm also having issues where no rrd files are created :
this is an extract from my log :
09/30/2005 12:36:25 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_out:traffic_in N:64:64
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe create D:/Wwwroot/cacti/rra/HOSTNAME.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
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_in:traffic_out N:64:64
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe create D:/Wwwroot/cacti/rra/HOSTNAME.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_in:traffic_out N:130:130
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe create D:/Wwwroot/cacti/rra/HOSTNAME.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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
09/30/2005 12:36:26 PM - POLLER: Poller[0] CACTI2RRD: d:\rrdtool\rrdtool.exe update D:\Wwwroot\cacti\rra\HOSTNAME.rrd --template traffic_in:traffic_out N:130:130
strange are the 2 ways it uses the slash... would that be the problem?
I'm running :
Cacti 0.8.6g
Mysql 4.11-nt
RRDtool 1.2.10
Windows 2003 server
any ideas?
L.
-
- Posts: 26
- Joined: Fri Sep 30, 2005 4:23 am
Lmiller wrote:D:\Wwwroot\cacti\rra\HOSTNAME.rrd
This line does not seem right. Now I am by no means an expert in this, but here is what I can see. HOSTNAME you should probably have localhost if you are trying to monitor your local machine. Second, do you really have cacti extracted to the wwwroot directory?
actually ... in order to hide the real hostsnames (for security) I changed the text of the log, that is all
yes... currently I have it extracted to a subdirectory of the wwroot folder
-
- Posts: 26
- Joined: Fri Sep 30, 2005 4:23 am
1) php <path_cacti>/cmd.php
2) php poller.php
In 1) you should get messages with valid data being polled
In 2) you should get a bunch of "Ok" messages
If you get no "Ok" messages and it appears to run error free:
3) mysql -u root -p cacti
>truncate table poller_output;
>quit
Clear your cacti log file then post the results of all. Perhaps this will shed some light on things.
To be honest, when I was at this point I got frustrated and uninstalled everything, then reinstalled with different versions. Thats what finally got me to generate graphs. (mind you they had no data in them, but that was an easy fix)
When I reinstalled I installed the following versions of stuff and it finally worked....
apache_1.3.33-win32-x86-no_src.exe
net-snmp-5.2.2.pre1-1.win32.exe
mysql-3.23.57-win.zip
php-4.3.6-Win32
ActivePerl-5.8.7.813-MSWin32-x86-148120.msi
php-4.3.6-installer.exe
rrdtool-1.0.49-win32-bin
2) php poller.php
In 1) you should get messages with valid data being polled
In 2) you should get a bunch of "Ok" messages
If you get no "Ok" messages and it appears to run error free:
3) mysql -u root -p cacti
>truncate table poller_output;
>quit
Clear your cacti log file then post the results of all. Perhaps this will shed some light on things.
To be honest, when I was at this point I got frustrated and uninstalled everything, then reinstalled with different versions. Thats what finally got me to generate graphs. (mind you they had no data in them, but that was an easy fix)
When I reinstalled I installed the following versions of stuff and it finally worked....
apache_1.3.33-win32-x86-no_src.exe
net-snmp-5.2.2.pre1-1.win32.exe
mysql-3.23.57-win.zip
php-4.3.6-Win32
ActivePerl-5.8.7.813-MSWin32-x86-148120.msi
php-4.3.6-installer.exe
rrdtool-1.0.49-win32-bin
Lmiller: Yikes, mysql 3.x?! I guess it would work, but dang thats old dude. The versions in my signature have been workin' fine for me.
lightningbit: the direction of the slashes really does not matter in this situation.
lightningbit: the direction of the slashes really does not matter in this situation.
| 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 |
-
- Posts: 26
- Joined: Fri Sep 30, 2005 4:23 am
still no rrd files
I check the cmd.php and poller.php
and they seem to run fine, they do get data back
but still no rrd files
I attached the log of 1 run
and they seem to run fine, they do get data back
but still no rrd files
I attached the log of 1 run
- Attachments
-
- Copy of cacti.zip
- (18.92 KiB) Downloaded 160 times
So if valid data is being returned, then you probably have a permission problem. Are you sure the user running the scheduled task has rights to create/write/read to the /rrd and /log folder?
Do rrd files get created if you run it under an admin account?
Do rrd files get created if you run it under 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 |
-
- Posts: 26
- Joined: Fri Sep 30, 2005 4:23 am
If you manually run a create commnd, like rrdtool create D:/Wwwroot/cacti/rra/switchas_domain_com_traffic_in_99.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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 , does the rrd file get created?
Try rrdtool 1.2.11 while you're at it.
Try rrdtool 1.2.11 while you're at it.
| 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 |
-
- Posts: 26
- Joined: Fri Sep 30, 2005 4:23 am
ah yes... it does.... the file is now thereBSOD2600 wrote:If you manually run a create commnd, like rrdtool create D:/Wwwroot/cacti/rra/switchas_domain_com_traffic_in_99.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in: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 , does the rrd file get created?
Try rrdtool 1.2.11 while you're at it.
so... no user permission issue?
I tried with RRDTOOL 1.2.10
I will try again 1.2.11
Who is online
Users browsing this forum: No registered users and 0 guests