NO RRD Files created -> NO GRAPHS
Moderators: Developers, Moderators
NO RRD Files created -> NO GRAPHS
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
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
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
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
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
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
RRD-Files won't create
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 ...
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 ...
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Hello,
First of all:
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
First of all:
There is a documentation issue, MIBSDIR should be MIBDIRS. Also, MIBS=ALL should be deleted.I set the environment SYSTEM-variables MIBS=ALL ... MIBSDIR=c:\php4\php.exe ... and ... PHPRC=c:\php4
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?
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?
umpfhh, it doesn't still work
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
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
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Are you running poller.php? How often?
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?
poller.php
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 ...
Thanks for every help,
3Jay
Manual starting of poller.php or cmd.php in command-line of windows always shows the same information - I already wrote in this thread ...
Thanks for every help,
3Jay
Who is online
Users browsing this forum: No registered users and 2 guests