Another 'no graphs' thread
Moderators: Developers, Moderators
Another 'no graphs' thread
I would like to apologize if this has been fixed. I did the search and spent several hours reading and was unable to come up with a solution. Hopefully you all can help.
This is a small trial for us which we will port to a *nix machine, depending on the outcome.
Here is the info:
Windows XP SP1
IIS 5.1
MySQL 4.1
net-snmp-5.2.1
PHP 5.0.4
Cacti-0.8.6d
So my problem is that I can't get any graphs to display. Just red 'X'es. I have gone through all of the permissions (I think) and set them to everyone has full control. I have some .rrd files in the \rra folder but the time stamp on them doesn't seem to be advancing.
I have an image of what I get.
nograph.JPG
Any ideas?
This is a small trial for us which we will port to a *nix machine, depending on the outcome.
Here is the info:
Windows XP SP1
IIS 5.1
MySQL 4.1
net-snmp-5.2.1
PHP 5.0.4
Cacti-0.8.6d
So my problem is that I can't get any graphs to display. Just red 'X'es. I have gone through all of the permissions (I think) and set them to everyone has full control. I have some .rrd files in the \rra folder but the time stamp on them doesn't seem to be advancing.
I have an image of what I get.
nograph.JPG
Any ideas?
In Cacti | Settings | general | Poller Logging Level. Change to debug for one cycle and post the output.
| 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 |
I have exactly the same problem
My log file (only one graph):
06/02/2005 11:47:49 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1117703868 --end=1117705668 --title="FVS338 - Traffic - 127.0.0.1 (lo)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 11\:17\:48 To 2005/06/02 11\:47\:48\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="c\:\program files\easyphp1-8\www/rra/fvs338_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="c\:\program files\easyphp1-8\www/rra/fvs338_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s"
06/02/2005 11:47:49 AM - WEBLOG: Poller[0] CACTI2RRD: c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1117703868 --end=1117705668 --title="FVS338 - Traffic - 127.0.0.1 (lo)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 11\:17\:48 To 2005/06/02 11\:47\:48\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="c\:\program files\easyphp1-8\www/rra/fvs338_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="c\:\program files\easyphp1-8\www/rra/fvs338_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINTLAST:" Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINTLAST:"Current\:%8.2lf %s" GPRINTAVERAGE:"Average\:%8.2lf %s" GPRINTMAX:"Maximum\:%8.2lf %s"
Jerry^: dont highjack others threads. Start your own since your problem is most likely a different one.
| 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 |
Then the same goes for you. Post the debug log of cacti.
| 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 |
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
If you run from the command line, what happens?
Code: Select all
c:\rrdtool\rrdtool.exe graph - --imgformat=PNG --start=1117703868 --end=1117705668 --title="FVS338 - Traffic - 127.0.0.1 (lo)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/06/02 11\:17\:48 To 2005/06/02 11\:47\:48\c" COMMENT:" \n" --vertical-label="bytes per second" DEF:a="c\:\program files\easyphp1-8\www/rra/fvs338_traffic_in_11.rrd":traffic_in:AVERAGE DEF:b="c\:\program files\easyphp1-8\www/rra/fvs338_traffic_in_11.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s"
[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]
You have no rrd file because rrdtool has not collected any valid data.
1) Turn logging to DEBUG
2) Open a command window
3) Change Directories into your Cacti root
4) run "php <path_cacti>/cmd.php
5) post output
1) Turn logging to DEBUG
2) Open a command window
3) Change Directories into your Cacti root
4) run "php <path_cacti>/cmd.php
5) post output
| 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 |
Thanks for your help, BSOD2600
1) Done
2) Done
3) Not cacti root... but php root I think .. Done
4) Done
5)
C:\PROGRA~1\EasyPHP1-8\php>php c:\progra~1\easyphp1-8\www\cmd.php
#!/usr/bin/php -q
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
'perl' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] CMD: perl c:\program files\easyphp1-8\www/scripts/linux_memory.pl SwapFree:, output: U
'perl' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] CMD: perl c:\program files\easyphp1-8\www/scripts/linux_memory.pl MemFree:, output: U 'perl' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] CMD: perl c:\program files\easyphp1-8\www/scripts/loadavg_multi.pl, output: U
'-O' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Time: 0.4579 s, Theads: N/A, Hosts: 2
C:\PROGRA~1\EasyPHP1-8\php>
Does I need perl ? :/
1) Done
2) Done
3) Not cacti root... but php root I think .. Done
4) Done
5)
C:\PROGRA~1\EasyPHP1-8\php>php c:\progra~1\easyphp1-8\www\cmd.php
#!/usr/bin/php -q
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] SNMP: Device does not require SNMP
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] No host availability check possible for '127.0.0.1'.
'perl' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
06/03/2005 11:43:58 PM - CMDPHP: Poller[0] Host[1] CMD: perl c:\program files\easyphp1-8\www/scripts/linux_memory.pl SwapFree:, output: U
'perl' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] CMD: perl c:\program files\easyphp1-8\www/scripts/linux_memory.pl MemFree:, output: U 'perl' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from CMD not valid. Partial Result:
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[1] CMD: perl c:\program files\easyphp1-8\www/scripts/loadavg_multi.pl, output: U
'-O' n'est pas reconnu en tant que commande interne
ou externe, un programme excutable ou un fichier de commandes.
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Host[2] SNMP: Host did not respond to SNMP
06/03/2005 11:43:59 PM - CMDPHP: Poller[0] Time: 0.4579 s, Theads: N/A, Hosts: 2
C:\PROGRA~1\EasyPHP1-8\php>
Does I need perl ? :/
you must start it in your cacti root. If you dont have your php.exe in your system path, then you'll need to include that too when running. ex:
c:\webroot\cacti\> c:\php\php c:\webroot\cacti\cmd.php
c:\webroot\cacti\> c:\php\php c:\webroot\cacti\cmd.php
| 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 |
Cacti does not work with spaces in the path (not sure though about using the 8.3 method). Thats possibly the cause of your problem.
Yes, you need perl installed for pl scripts.
Yes, you need perl installed for pl scripts.
| 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:
The perl scripts are the default for a Linux/Unix host. Try the interface graphs see if Cacti will graph them.
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?
Who is online
Users browsing this forum: No registered users and 1 guest