NO RRD Files created -> NO GRAPHS

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

Moderators: Developers, Moderators

Post Reply
netana
Posts: 20
Joined: Wed Feb 16, 2005 6:36 am

NO RRD Files created -> NO GRAPHS

Post by netana »

I need your help. I installed cacti successfully.
I have troubles to generate graphs - cacti has snmp access to the device, but the graph debug ...
ERROR: opening 'D:\Apache Group\Apache2\htdocs\cacti/rra/core_router_traffic_in_10.rrd': No such file or directory
My question is what could be the reason that there are no rrd-files created in the rra directory?

Some additonal infos:
d:\rrd\rrdtool.exe
c:\php\php.exe
d:\Apache Group\Apache2\htdocs\cacti and I am using
apache_2.0.54-win32-x86-no_ssl.msi
php-4.3.4-Win32.zip
mysql-4.0.18-win.zip
cacti-cactid-0.8.6d
ActivePerl-5.8.6.811-MSWin32-x86-122208.msi
rrdtool-1.0.49-win32-bin

Thanks a lot
netana
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

Make sure that the IUSR accounts have read/write/create access to this folder. It's probabaly a security issue writing to those folders.
netana
Posts: 20
Joined: Wed Feb 16, 2005 6:36 am

Post by netana »

Sorry I am new here. How can I check the permission for the IUSR? Enclosed you can find further information. I checked something I have found in the forum.

D:\Apache Group\Apache2\htdocs\cacti>c:\php\php.exe d:\Apache Group\Apache2\htdocs\cacti\poller.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.4
No input file specified.

Thanks in advance
netana
User avatar
skaminski
Cacti User
Posts: 92
Joined: Tue May 11, 2004 1:42 pm

Post by skaminski »

I just noticed that you are running Apache which I think uses a different account. However, I'll give it a shot.

Right click on your RRA Directory and go to Security. Makre sure that the Services Account that Apache uses has Write Access into this folder. Apache may have a similar account setup to IIS which has a Process Acount and a Guest Account. As I'm using IIS, I granted Write Access to the Process Account.

Sorry I can't be more specific as I'm not using Apache
3jay
Posts: 3
Joined: Wed Feb 23, 2005 11:51 am
Location: Dresden, Germany
Contact:

RRD-Files won't create

Post by 3jay »

Hi there,

I want to use this great Tool - CACTI - for monitoring some Unix-Systems from a W2k-Host.

For on my installation on W2k I used following files:
Apache Webserver 2.0.52 - path is "c:\apache2"
PHP 4.3.10 - path is "c:\php4"
MySQL 4.1 - path is "c:\mysql"
cacti-0.8.6c - path is "c:\devhost\unix\cacti"
cactid-0.8.6d - path is "c:\cactid"
net-snmp-5.2.1-1.win32 - path is "c:\net-smtp"

Set User for database and fill with data from file cacti.sql ... no problem.
Everthing fine. I configured the Scheduler. I set the environment SYSTEM-variables MIBS=ALL ... MIBSDIR=c:\php4\php.exe ... and ... PHPRC=c:\php4

Login to cacti ... it seem to looks good ;-)

create some devices and graphs - check snmp to any unix machines ... wonderfull.

I set up the cacti.log to collect data in DEBUG-Mode to find any inconsistence and troubles ...

now i want to see some results in GRAPH ... mmmhhhh angry nothing to see ... only the stupid X - no images created!

A look into rrd-directory shows nothing. (the rrd-dir has r/w rights for EVERYONE and SERVICE)

the cacti.log-file has some information about:
> ... fetch C:\devhost\unix\cacti/rra/f30xyd2_traffic_in_35.rrd ... (ok good)
> ... graph ... DEF:a="C\:\devhost\unix\cacti/rra/f30xyd2_mem_free_34.rrd":mem_free:AVERAGE ... (??? a backslash after "c" -> "c\:\dehost..." )

ok, the next step was trying to check poller.php from cmd-line ...

c:\php4\php.exe c:\devhost\unix\cacti\poller.php (and the result is)
Content-type: text/html
X-Powered-By: PHP/4.3.10

<br><strong>This script is only meant to run at the command line.</strong>

... whatever ...trying c:\php4\php.exe c:\devhost\unix\cacti\cmd.php is the same result

Switching in "Setting->Poller" to cmd.php instead of cactid don't change anything ...

NO RRD-FILES and NO GRAPHs.


Is there anybody out there who can help me?


Thanks ...
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hello,

First of all:
I set the environment SYSTEM-variables MIBS=ALL ... MIBSDIR=c:\php4\php.exe ... and ... PHPRC=c:\php4
There is a documentation issue, MIBSDIR should be MIBDIRS. Also, MIBS=ALL should be deleted.

Then, you need to schedule the following every 5 minutes:

<php_path>\php.exe <cacti_path>\poller.php

After a few cycles, your graphs will start to appear.

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?
3jay
Posts: 3
Joined: Wed Feb 23, 2005 11:51 am
Location: Dresden, Germany
Contact:

umpfhh, it doesn't still work

Post by 3jay »

Mhhhhhh,

It's a pity ... but these don't solve my problem - creating rrd-files.

My PHP,SNMP,Apache works fine ...

In Cacti-Management -> "Devices", the machines I want to monitore, show a status "unknown" ... clicking on it is showing an established SNMP-Connection with no errors. Maybe an bug?!?

Please help,

thanks a lot,

3Jay
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Are you running poller.php? How often?

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?
3jay
Posts: 3
Joined: Wed Feb 23, 2005 11:51 am
Location: Dresden, Germany
Contact:

poller.php

Post by 3jay »

I'm using the windows scheduler an set the timer to 5 minutes.

Manual starting of poller.php or cmd.php in command-line of windows always shows the same information - I already wrote in this thread ...

:roll:

Thanks for every help,

3Jay
maria
Posts: 3
Joined: Fri Feb 25, 2005 12:13 pm

Post by maria »

Hi
i am new here because I have a problem with cacti: it does not graph the errors /discarts and the simple SNMP OID, it only graph the interfaces and the CPU load, but I don´t know whats wrong, I need someone to help me
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests