Graph Problem
Moderators: Developers, Moderators
-
- Posts: 7
- Joined: Thu Jul 05, 2007 9:47 am
Graph Problem
I have instaled Cacti on my windows server but i cant see the graphs, i am a new user so i dont now how to resolve it.
The annex shows how the graphs look likes.
Please help me.
Im from Brazil, sorry for my english.
The annex shows how the graphs look likes.
Please help me.
Im from Brazil, sorry for my english.
- Attachments
-
- Graph images
- gra.JPG (18.98 KiB) Viewed 4481 times
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Moved to Windows forum.
Please confirm that you have rrdtool installed and the path is correctly set in the Cacti Settings.
Please confirm that you have rrdtool installed and the path is correctly set in the Cacti Settings.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Additionally, read http://forums.cacti.net/viewtopic.php?t=11747
| 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: 7
- Joined: Thu Jul 05, 2007 9:47 am
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
1) Do you have RRD files in the <path_cacti>/rra folder?
2) What happens when you goto Graph Management, view a Graph and then Press the "Debug" link?
Based upon that investigation, reread BSOD's post.
TheWitness
2) What happens when you goto Graph Management, view a Graph and then Press the "Debug" link?
Based upon that investigation, reread BSOD's post.
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: 7
- Joined: Thu Jul 05, 2007 9:47 am
1) Only one file: .placeholder. No rrd files.
2)
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Used Space - C: Label: Seri" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd': No such file or directory
2)
RRDTool Command:
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Used Space - C: Label: Seri" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30:"Used" \
GPRINTLAST:" Current\:%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd': No such file or directory
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please login as the poller user and then run the following command:
TheWitness
Code: Select all
cd \Inetpub\wwwroot\cacti
php -q poller.php
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?
I'm getting that same error message and just tried to run php -q poller.php.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Inetpub\wwwroot\cacti>php -q poller.php
07/06/2007 01:04:42 PM - SYSTEM STATS: Time:7.0801 Method:cmd.php Processes:1 Th
reads:N/A Hosts:5 HostsPerProcess:5 DataSources:5 RRDsProcessed:0
When debug is turned on
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/localhost_rrdsprocessed_15.rrd': No such file or directory
When I look for any files in that directory I only see .placeholder. I have tried to update php 5.2.1 to 5.2.3
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Inetpub\wwwroot\cacti>php -q poller.php
07/06/2007 01:04:42 PM - SYSTEM STATS: Time:7.0801 Method:cmd.php Processes:1 Th
reads:N/A Hosts:5 HostsPerProcess:5 DataSources:5 RRDsProcessed:0
When debug is turned on
RRDTool Says:
ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/localhost_rrdsprocessed_15.rrd': No such file or directory
When I look for any files in that directory I only see .placeholder. I have tried to update php 5.2.1 to 5.2.3
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Look at this. I think you should do the following with logging at MEDIUM:
php -q <path_cacti>/cmd.php
Then, verify that your Settings->Paths properly shows the rrdtool.exe path including the file name. It would appear that for some reason it is not being called, or can not be called.
BSOD, typically recommends filemon from sysinternals.com, recently acquired by Microsoft, to debug permissions problems.
TheWitness
php -q <path_cacti>/cmd.php
Then, verify that your Settings->Paths properly shows the rrdtool.exe path including the file name. It would appear that for some reason it is not being called, or can not be called.
BSOD, typically recommends filemon from sysinternals.com, recently acquired by Microsoft, to debug permissions problems.
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: 7
- Joined: Thu Jul 05, 2007 9:47 am
I did it and thats the result:Please login as the poller user and then run the following command:
Code:
cd \Inetpub\wwwroot\cacti
php -q poller.php
TheWitness
C:\Inetpub\wwwroot\cacti>php -q poller.php
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
07/06/2007 04:38:57 PM - SYSTEM STATS: Time:4.4130 Method:cmd.php Processes:1 Th
reads:N/A Hosts:3 HostsPerProcess:3 DataSources:5 RRDsProcessed:0
I have tried the sysinternals.com and i dont have any access denied on it, so a think its not a permission problem right?
What i have to do?
Last edited by filipe.montenegro on Fri Jul 06, 2007 2:43 pm, edited 2 times in total.
C:\Inetpub\wwwroot\cacti>php -q poller.php
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
07/06/2007 03:36:09 PM - SYSTEM STATS: Time:7.0443 Method:cmd.php Processes:1 Th
reads:N/A Hosts:5 HostsPerProcess:5 DataSources:5 RRDsProcessed:0
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
07/06/2007 03:36:09 PM - SYSTEM STATS: Time:7.0443 Method:cmd.php Processes:1 Th
reads:N/A Hosts:5 HostsPerProcess:5 DataSources:5 RRDsProcessed:0
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please reread my post. I need you to run cmd.php and not poller.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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Closer, now your need to run in MEDIUM log level per my original post
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: 9
- Joined: Fri Jul 20, 2007 9:18 pm
I've got the exact same problem. When I run cmd.php directly I get the error:
When running with Cactid as the poller I get the following in the log:
http://forums.cacti.net/viewtopic.php?t=22448
I've changed logging to medium FYI.07/22/2007 12:38:53 PM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!
When running with Cactid as the poller I get the following in the log:
Please see my origional post for additional information:07/22/2007 12:46:46 PM - SYSTEM STATS: Time:292.2244 Method:cactid Processes:5 Threads:20 Hosts:3 HostsPerProcess:1 DataSources:14 RRDsProcessed:0
07/22/2007 12:46:46 PM - POLLER: Poller[0] Maximum runtime of 292 seconds exceeded. Exiting.
http://forums.cacti.net/viewtopic.php?t=22448
Who is online
Users browsing this forum: No registered users and 2 guests