No RRD files created

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
MediaServe
Posts: 7
Joined: Wed Jun 08, 2005 2:17 pm

No RRD files created

Post by MediaServe »

Hello,

I'm trying to setup Cacti for many hours now, so I think it's time to ask for help from some professionals. :)

I've setup Cacti as it's described in the manual, but the RRA directory remains empty. I've executed the "RRDtool fetch" command line from the cacti logfile. This gives me the error:

Code: Select all

ERROR: opening 'C:\cacti/rra/mediaserve_traffic_in_12.rrd': No such file or directory
I've already tried to execute these files manually: CMD.PHP, POLLER.PHP, CACTID, RRDTOOL. No results, except that the poller says that the cache is empty.

I'm using this software:
- ActivePerl 5.8
- PHP 5.04
- MySQL 4.1
- IIS 6.0 (Win2k3)
- Cacti 0.8.6d
- RRDtool 1.2.6 (from this website)

Any tips are welcome :)
MediaServe
Posts: 7
Joined: Wed Jun 08, 2005 2:17 pm

Post by MediaServe »

Maybe someone knows how to create an RRD database manually?
Thank you :)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Have you added devices and graphs? The one that comes with the installation is designed for Linux and does not work on a Windows host.

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?
MediaServe
Posts: 7
Joined: Wed Jun 08, 2005 2:17 pm

Post by MediaServe »

TheWitness wrote:Have you added devices and graphs? The one that comes with the installation is designed for Linux and does not work on a Windows host.
I have added my server as a device. It seems that the SNMP values are loaded correctly, it shows my computer name etc.
Thank you for your reply :)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Goto Settings->General and set Logging Level to DEBUG. Then open a command line and run the following one at a time.

"php <path_cacti>/cmd.php" -> post output
"php poller.php" -> post output

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?
MediaServe
Posts: 7
Joined: Wed Jun 08, 2005 2:17 pm

Post by MediaServe »

CMD.PHP
C:\cacti>php c:\cacti\cmd.php
#!/usr/bin/php -q
06/09/2005 11:32:46 AM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled

POLLER.PHP
C:\cacti>php c:\cacti\poller.php
There are no items in your poller cache or polling is disabled. Make sure you have at least one data source created. If you do, go to 'Utilities', and select 'Clear Poller Cache'.
MediaServe
Posts: 7
Joined: Wed Jun 08, 2005 2:17 pm

Post by MediaServe »

- Polling is enabled
- I've cleared the cache many times
- Poller chache remains empty
- I have one datasource, with one device:

MediaServe (localhost)
SNMP Information
System: Hardware: x86 Family 15 Model 3 Stepping 4 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)
Uptime: 38884564
Hostname: MEDIASERVE01

- User right must be OK, everything is executed with Administrator and the IIS website has no restrictions.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) install the patches http://www.cacti.net/download_patches.php

2) use the latest rrdtool. 1.2.9 at the time of this post.

3) You do have some data sources, which are associated with devices?

4) Does cacti consider the device(s) up? What uptime detection method are you using in CActi?
captjwh
Posts: 10
Joined: Mon Apr 26, 2004 12:15 am

Post by captjwh »

"1) install the patches http://www.cacti.net/download_patches.php "

i dl'd the files to do the patching, but 'patch' isn't working for win32... is there a way to do it other than manually going through the files.

additionally, i think i have the same problem. I have setup a cisco router as a device and created a graph of it, but no graph.. just the red X place holder.

here is cmd.php

D:\Inetpub\wwwroot\cacti>php d:\inetpub\wwwroot\cacti\cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.10

#!/usr/bin/php -q
06/16/2005 10:18:26 AM - CMDPHP: Poller[0] Time: 0.9650 s, Theads: N/A, Hosts: 2


---

and poller.php

D:\Inetpub\wwwroot\cacti>php d:\inetpub\wwwroot\cacti\poller.php
ERROR: change root is not supported by your OS or at least by this copy of rrdtool
Content-type: text/html
X-Powered-By: PHP/4.3.10

06/16/2005 10:20:18 AM - SYSTEM STATS: Time: 2.4989 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 3, Hosts/Proc
ess: 3


--


anything jumping out at you?

iis6, win2k3, php4.3.10, mysql 3.23.58-nt.

thanks

jason
captjwh
Posts: 10
Joined: Mon Apr 26, 2004 12:15 am

doh

Post by captjwh »

sorry, this appears to be a different prob... realted? duno.
captjwh
Posts: 10
Joined: Mon Apr 26, 2004 12:15 am

Post by captjwh »

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest