Unable to view graphs - graph debug also not working

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

Moderators: Developers, Moderators

i3scottw
Posts: 7
Joined: Thu Sep 15, 2005 4:43 pm

Unable to view graphs - graph debug also not working

Post by i3scottw »

I have read through many posts about being unable to get the graphs working. I believe I have followed the suggestions of those posts, but still only get the red "X". One interesting thing that sets this apart from most of the other posts is that I am unable to get the graph debug mode to work. Whenever I click on this my browser (both IE and Firefox) just sits there loading the page, and it never loads anything.

Polling is working fine, and it is putting the .rrd files in the correct location. I have checked and double checked that the IUSR account has the correct permissions to cmd.exe. I have even set IIS to temporarily use another account (which I also set permissions for) with no luck. I also made sure to specify that rrdtool 1.2 was being used.

Here is the relevant info:

Brand new install (no upgrade)
Windows 2003 sp1
rrdtool 1.2.11 from the cacti.net site (also tried 1.2.4)
cacti 0.8.6f

Any help is very much appreciated!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) What version of php?
2) Did you allow php in web extentions?
3) rrdtool.exe have read/execute rights for IUSR ?
i3scottw
Posts: 7
Joined: Thu Sep 15, 2005 4:43 pm

Post by i3scottw »

Thanks for the quick reply!

I am using PHP version 5.0.5-win32. I have enabled the PHP web extension (in fact I enabled all web externsions for the moment just to make sure I didn't miss something). I had given the IUSR user permissions to the cmd.exe file, but had not previously given it permissions to the rrdtool.exe file. I went ahead and did this then rebooted (for good measure), but I still only see the red X for the graph. It definately seems like it is unable to excute rrdtool.exe, but I just can't figure out why.

Any other advice would be appreciated!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

what is your path in General Settings?

Should be c:\php\php-win.exe. Is this correct?

How is your web server setup? Using FastCGI or ISAPI?

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?
i3scottw
Posts: 7
Joined: Thu Sep 15, 2005 4:43 pm

Post by i3scottw »

I have this stuff all installed on the e: drive. On the settings page the path is set to point to e:\php\php-win.exe

I believe I have the webserver (IIS) set up to use ISAPI (e:\php\php5iasapi.dll) - unless I have configured it incorrectly.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Looks good!
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?
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Ever Get A Solution ?

Post by PiercedKnob »

Hi,

Did you get around this problem ? I am getting the same issue, the graphs are just showing a red cross and if i turn on Graph Debug Mode it sits there for a while and then at the bottom of the screen i get a red cross and the text "RRDTool Says:" and thats it.

Argh :(

When i finally think i am getting somewhere stuff don't work.....I have also checked everything, all my paths are correct, the permissions are correct, i am using;

Windows 2003
PHP 5.1.1
MySQL 4.1
RRDTool 1.2.9 (cygwin version so i have not individually installed cygwin)
(not worked out how to install net-snmp so thats not on)
Cacti 8.6.g
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

Also noticed that when the polling runs (using the Scheduled Tasks), i breifly get two dos windows and i think on says something about module not found ? Comes on the off too quick to read it.

The Cacti Logs look ok though ?

"
12/30/2005 11:47:50 AM - WEBLOG: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1135856870 --end=1135943270 --title="Sunning Hill Internet Link - Advanced Ping" --base=1000 --height=120 --width=500 --upper-limit=10 --lower-limit=0 --units-exponent=1 COMMENT:"From 2005/12/29 11\:47\:50 To 2005/12/30 11\:47\:50\c" COMMENT:" \n" --vertical-label="milliseconds" --slope-mode DEF:a="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":min:AVERAGE DEF:b="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:c="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":max:AVERAGE DEF:d="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":loss:AVERAGE DEF:e="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":dev:AVERAGE DEF:f="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:g="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE CDEF:cdefg=d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefh=d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefi=d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefj=d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefba=d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbb=d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbc=d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbd=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF CDEF:cdefbf=e,2,/ CDEF:cdefbh=c,b,-,e,-,3,/ CDEF:cdefcd=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF CDEF:cdefce=d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcf=d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcg=d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF CDEF:cdefch=d,15,GT,d,50,GT,b,INF,IF,UNKN,IF CDEF:cdefci=d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcj=d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF COMMENT:" Pkt Loss\:" AREA:cdefg#AFECED:"1-2%" AREA:cdefh#55D6D3:"3-5%" AREA:cdefi#7CB3F1:"6-10%" AREA:cdefj#4668E4:"11-15%" AREA:cdefba#A150AA:"16-50%" AREA:cdefbb#FF00FF:"51-95%" AREA:cdefbc#F51D30:"96-100%" COMMENT:"Unknown\n" AREA:g#FFFFFF:"" AREA:cdefbf#333333:"":STACK AREA:cdefbf#555555:"":STACK AREA:cdefbh#888888:"":STACK AREA:cdefbh#AAAAAA:"":STACK AREA:cdefbh#CCCCCC:"":STACK GPRINT:d:AVERAGE:" Avg Loss\:%6.2lf%%" GPRINT:d:MAX:"Max Loss\:%6.2lf%%\n" COMMENT:" Latency\:" AREA:cdefcd#AFECED:"" AREA:cdefce#55D6D3:"" AREA:cdefcf#7CB3F1:"" AREA:cdefcg#4668E4:"" AREA:cdefch#A150AA:"" AREA:cdefci#FF00FF:"" AREA:cdefcj#F51D30:"" GPRINT:a:AVERAGE:"Min\:%8.2lf ms" GPRINT:g:AVERAGE:"Avg\:%8.2lf ms" GPRINT:c:MAX:"Max\:%8.2lf ms" GPRINT:e:AVERAGE:"Dev\:%8.2lf ms\n" COMMENT:"Avg Latency\:" LINE1:g#00BD27:"
"
12/30/2005 11:44:15 AM - WEBLOG: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1135856655 --end=1135943055 --title="Sunning Hill Internet Link - Advanced Ping" --base=1000 --height=120 --width=500 --upper-limit=10 --lower-limit=0 --units-exponent=1 COMMENT:"From 2005/12/29 11\:44\:15 To 2005/12/30 11\:44\:15\c" COMMENT:" \n" --vertical-label="milliseconds" --slope-mode DEF:a="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":min:AVERAGE DEF:b="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:c="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":max:AVERAGE DEF:d="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":loss:AVERAGE DEF:e="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":dev:AVERAGE DEF:f="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:g="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE CDEF:cdefg=d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefh=d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefi=d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefj=d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefba=d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbb=d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbc=d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbd=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF CDEF:cdefbf=e,2,/ CDEF:cdefbh=c,b,-,e,-,3,/ CDEF:cdefcd=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF CDEF:cdefce=d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcf=d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcg=d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF CDEF:cdefch=d,15,GT,d,50,GT,b,INF,IF,UNKN,IF CDEF:cdefci=d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcj=d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF COMMENT:" Pkt Loss\:" AREA:cdefg#AFECED:"1-2%" AREA:cdefh#55D6D3:"3-5%" AREA:cdefi#7CB3F1:"6-10%" AREA:cdefj#4668E4:"11-15%" AREA:cdefba#A150AA:"16-50%" AREA:cdefbb#FF00FF:"51-95%" AREA:cdefbc#F51D30:"96-100%" COMMENT:"Unknown\n" AREA:g#FFFFFF:"" AREA:cdefbf#333333:"":STACK AREA:cdefbf#555555:"":STACK AREA:cdefbh#888888:"":STACK AREA:cdefbh#AAAAAA:"":STACK AREA:cdefbh#CCCCCC:"":STACK GPRINT:d:AVERAGE:" Avg Loss\:%6.2lf%%" GPRINT:d:MAX:"Max Loss\:%6.2lf%%\n" COMMENT:" Latency\:" AREA:cdefcd#AFECED:"" AREA:cdefce#55D6D3:"" AREA:cdefcf#7CB3F1:"" AREA:cdefcg#4668E4:"" AREA:cdefch#A150AA:"" AREA:cdefci#FF00FF:"" AREA:cdefcj#F51D30:"" GPRINT:a:AVERAGE:"Min\:%8.2lf ms" GPRINT:g:AVERAGE:"Avg\:%8.2lf ms" GPRINT:c:MAX:"Max\:%8.2lf ms" GPRINT:e:AVERAGE:"Dev\:%8.2lf ms\n" COMMENT:"Avg Latency\:" LINE1:g#00BD27:"
"
12/30/2005 11:42:16 AM - WEBLOG: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1135856536 --end=1135942936 --title="Sunning Hill Internet Link - Advanced Ping" --base=1000 --height=120 --width=500 --upper-limit=10 --lower-limit=0 --units-exponent=1 COMMENT:"From 2005/12/29 11\:42\:16 To 2005/12/30 11\:42\:16\c" COMMENT:" \n" --vertical-label="milliseconds" --slope-mode DEF:a="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":min:AVERAGE DEF:b="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:c="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":max:AVERAGE DEF:d="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":loss:AVERAGE DEF:e="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":dev:AVERAGE DEF:f="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:g="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE CDEF:cdefg=d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefh=d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefi=d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefj=d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefba=d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbb=d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbc=d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbd=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF CDEF:cdefbf=e,2,/ CDEF:cdefbh=c,b,-,e,-,3,/ CDEF:cdefcd=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF CDEF:cdefce=d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcf=d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcg=d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF CDEF:cdefch=d,15,GT,d,50,GT,b,INF,IF,UNKN,IF CDEF:cdefci=d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcj=d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF COMMENT:" Pkt Loss\:" AREA:cdefg#AFECED:"1-2%" AREA:cdefh#55D6D3:"3-5%" AREA:cdefi#7CB3F1:"6-10%" AREA:cdefj#4668E4:"11-15%" AREA:cdefba#A150AA:"16-50%" AREA:cdefbb#FF00FF:"51-95%" AREA:cdefbc#F51D30:"96-100%" COMMENT:"Unknown\n" AREA:g#FFFFFF:"" AREA:cdefbf#333333:"":STACK AREA:cdefbf#555555:"":STACK AREA:cdefbh#888888:"":STACK AREA:cdefbh#AAAAAA:"":STACK AREA:cdefbh#CCCCCC:"":STACK GPRINT:d:AVERAGE:" Avg Loss\:%6.2lf%%" GPRINT:d:MAX:"Max Loss\:%6.2lf%%\n" COMMENT:" Latency\:" AREA:cdefcd#AFECED:"" AREA:cdefce#55D6D3:"" AREA:cdefcf#7CB3F1:"" AREA:cdefcg#4668E4:"" AREA:cdefch#A150AA:"" AREA:cdefci#FF00FF:"" AREA:cdefcj#F51D30:"" GPRINT:a:AVERAGE:"Min\:%8.2lf ms" GPRINT:g:AVERAGE:"Avg\:%8.2lf ms" GPRINT:c:MAX:"Max\:%8.2lf ms" GPRINT:e:AVERAGE:"Dev\:%8.2lf ms\n" COMMENT:"Avg Latency\:" LINE1:g#00BD27:"
"
12/30/2005 11:41:13 AM - WEBLOG: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1135856473 --end=1135942873 --title="Sunning Hill Internet Link - Advanced Ping" --base=1000 --height=120 --width=500 --upper-limit=10 --lower-limit=0 --units-exponent=1 COMMENT:"From 2005/12/29 11\:41\:13 To 2005/12/30 11\:41\:13\c" COMMENT:" \n" --vertical-label="milliseconds" --slope-mode DEF:a="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":min:AVERAGE DEF:b="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:c="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":max:AVERAGE DEF:d="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":loss:AVERAGE DEF:e="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":dev:AVERAGE DEF:f="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:g="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE CDEF:cdefg=d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefh=d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefi=d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefj=d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefba=d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbb=d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbc=d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbd=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF CDEF:cdefbf=e,2,/ CDEF:cdefbh=c,b,-,e,-,3,/ CDEF:cdefcd=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF CDEF:cdefce=d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcf=d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcg=d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF CDEF:cdefch=d,15,GT,d,50,GT,b,INF,IF,UNKN,IF CDEF:cdefci=d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcj=d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF COMMENT:" Pkt Loss\:" AREA:cdefg#AFECED:"1-2%" AREA:cdefh#55D6D3:"3-5%" AREA:cdefi#7CB3F1:"6-10%" AREA:cdefj#4668E4:"11-15%" AREA:cdefba#A150AA:"16-50%" AREA:cdefbb#FF00FF:"51-95%" AREA:cdefbc#F51D30:"96-100%" COMMENT:"Unknown\n" AREA:g#FFFFFF:"" AREA:cdefbf#333333:"":STACK AREA:cdefbf#555555:"":STACK AREA:cdefbh#888888:"":STACK AREA:cdefbh#AAAAAA:"":STACK AREA:cdefbh#CCCCCC:"":STACK GPRINT:d:AVERAGE:" Avg Loss\:%6.2lf%%" GPRINT:d:MAX:"Max Loss\:%6.2lf%%\n" COMMENT:" Latency\:" AREA:cdefcd#AFECED:"" AREA:cdefce#55D6D3:"" AREA:cdefcf#7CB3F1:"" AREA:cdefcg#4668E4:"" AREA:cdefch#A150AA:"" AREA:cdefci#FF00FF:"" AREA:cdefcj#F51D30:"" GPRINT:a:AVERAGE:"Min\:%8.2lf ms" GPRINT:g:AVERAGE:"Avg\:%8.2lf ms" GPRINT:c:MAX:"Max\:%8.2lf ms" GPRINT:e:AVERAGE:"Dev\:%8.2lf ms\n" COMMENT:"Avg Latency\:" LINE1:g#00BD27:"
12/30/2005 11:41:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: F:/php511/php.exe, ARGS: -q F:/Webroot/cacti/poller_export.php]
12/30/2005 11:41:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: F:/php511/php.exe, ARGS: -q F:/Webroot/cacti/poller_commands.php]
12/30/2005 11:41:01 AM - SYSTEM STATS: Time:1.0258 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:1
12/30/2005 11:41:01 AM - POLLER: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe update F:\Webroot\cacti\rra\sunning_hill_internet_link_loss_12.rrd --template min:avg:max:dev:loss 1135942860:22.9800:23.3615:24.0600:0.4241:0.0000
12/30/2005 11:41:01 AM - POLLER: Poller[0] Parsed MULTI output field 'loss:0.0000' [map loss->loss]
12/30/2005 11:41:01 AM - POLLER: Poller[0] Parsed MULTI output field 'dev:0.4241' [map dev->dev]
12/30/2005 11:41:01 AM - POLLER: Poller[0] Parsed MULTI output field 'max:24.0600' [map max->max]
12/30/2005 11:41:01 AM - POLLER: Poller[0] Parsed MULTI output field 'avg:23.3615' [map avg->avg]
12/30/2005 11:41:01 AM - POLLER: Poller[0] Parsed MULTI output field 'min:22.9800' [map min->min]
12/30/2005 11:41:01 AM - CMDPHP: Poller[0] Time: 0.6804 s, Theads: N/A, Hosts: 2
12/30/2005 11:41:01 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/30/2005 11:41:01 AM - CMDPHP: Poller[0] Host[4] DS[12] SERVER: F:/Webroot/cacti/scripts/ss_fping.php ss_fping 10.10.9.254 20 ICMP, output: min:22.9800 avg:23.3615 max:24.0600 dev:0.4241 loss:0.0000
12/30/2005 11:41:01 AM - PHPSVR: Poller[0] SERVER: F:/Webroot/cacti/scripts/ss_fping.php ss_fping 10.10.9.254 20 ICMP output min:22.9800 avg:23.3615 max:24.0600 dev:0.4241 loss:0.0000
12/30/2005 11:41:00 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'F:/Webroot/cacti/scripts/ss_fping.php' SCRIPT: 'ss_fping' CMD: '10.10.9.254 20 ICMP'
12/30/2005 11:41:00 AM - CMDPHP: Poller[0] Host[4] SNMP: SNMP not performed due to setting or ping result.
12/30/2005 11:41:00 AM - CMDPHP: Poller[0] Host[4] PING: Host is Alive
12/30/2005 11:41:00 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/30/2005 11:41:00 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/30/2005 11:41:00 AM - PHPSVR: Poller[0] DEBUG: FILENM: f:\Webroot\cacti\script_server.php
12/30/2005 11:41:00 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: f:/webroot/cacti
12/30/2005 11:41:00 AM - PHPSVR: Poller[0] DEBUG: GETCWD: f:/webroot/cacti
12/30/2005 11:41:00 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/30/2005 11:41:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: F:/php511/php.exe, ARGS: -q f:/webroot/cacti/cmd.php 0 4]
"
12/30/2005 11:39:17 AM - WEBLOG: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1135856356 --end=1135942756 --title="Sunning Hill Internet Link - Advanced Ping" --base=1000 --height=120 --width=500 --upper-limit=10 --lower-limit=0 --units-exponent=1 COMMENT:"From 2005/12/29 11\:39\:16 To 2005/12/30 11\:39\:16\c" COMMENT:" \n" --vertical-label="milliseconds" --slope-mode DEF:a="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":min:AVERAGE DEF:b="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:c="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":max:AVERAGE DEF:d="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":loss:AVERAGE DEF:e="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":dev:AVERAGE DEF:f="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE DEF:g="F\:/Webroot/cacti/rra/sunning_hill_internet_link_loss_12.rrd":avg:AVERAGE CDEF:cdefg=d,0,GT,d,2,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefh=d,3,GT,d,5,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefi=d,5,GT,d,10,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefj=d,10,GT,d,15,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefba=d,15,GT,d,50,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbb=d,50,GT,d,95,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbc=d,95,GT,d,100,GT,UNKN,INF,IF,UNKN,IF CDEF:cdefbd=d,UN,1,EQ,TIME,300,+,NOW,GT,UNKN,INF,IF,d,95,GT,INF,UNKN,IF,IF CDEF:cdefbf=e,2,/ CDEF:cdefbh=c,b,-,e,-,3,/ CDEF:cdefcd=d,0,GT,d,2,GT,UNKN,b,IF,UNKN,IF CDEF:cdefce=d,3,GT,d,5,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcf=d,5,GT,d,10,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcg=d,10,GT,d,15,GT,UNKN,b,IF,UNKN,IF CDEF:cdefch=d,15,GT,d,50,GT,b,INF,IF,UNKN,IF CDEF:cdefci=d,50,GT,d,95,GT,UNKN,b,IF,UNKN,IF CDEF:cdefcj=d,95,GT,d,100,GT,UNKN,b,IF,UNKN,IF COMMENT:" Pkt Loss\:" AREA:cdefg#AFECED:"1-2%" AREA:cdefh#55D6D3:"3-5%" AREA:cdefi#7CB3F1:"6-10%" AREA:cdefj#4668E4:"11-15%" AREA:cdefba#A150AA:"16-50%" AREA:cdefbb#FF00FF:"51-95%" AREA:cdefbc#F51D30:"96-100%" COMMENT:"Unknown\n" AREA:g#FFFFFF:"" AREA:cdefbf#333333:"":STACK AREA:cdefbf#555555:"":STACK AREA:cdefbh#888888:"":STACK AREA:cdefbh#AAAAAA:"":STACK AREA:cdefbh#CCCCCC:"":STACK GPRINT:d:AVERAGE:" Avg Loss\:%6.2lf%%" GPRINT:d:MAX:"Max Loss\:%6.2lf%%\n" COMMENT:" Latency\:" AREA:cdefcd#AFECED:"" AREA:cdefce#55D6D3:"" AREA:cdefcf#7CB3F1:"" AREA:cdefcg#4668E4:"" AREA:cdefch#A150AA:"" AREA:cdefci#FF00FF:"" AREA:cdefcj#F51D30:"" GPRINT:a:AVERAGE:"Min\:%8.2lf ms" GPRINT:g:AVERAGE:"Avg\:%8.2lf ms" GPRINT:c:MAX:"Max\:%8.2lf ms" GPRINT:e:AVERAGE:"Dev\:%8.2lf ms\n" COMMENT:"Avg Latency\:" LINE1:g#00BD27:"
12/30/2005 11:36:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: F:/php511/php.exe, ARGS: -q F:/Webroot/cacti/poller_export.php]
12/30/2005 11:36:01 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: F:/php511/php.exe, ARGS: -q F:/Webroot/cacti/poller_commands.php]
12/30/2005 11:36:01 AM - SYSTEM STATS: Time:1.0281 Method:cmd.php Processes:1 Threads:N/A Hosts:3 HostsPerProcess:3 DataSources:1 RRDsProcessed:1
12/30/2005 11:36:01 AM - POLLER: Poller[0] CACTI2RRD: F:/rrdtool/rrdtool.exe update F:\Webroot\cacti\rra\sunning_hill_internet_link_loss_12.rrd --template min:avg:max:dev:loss 1135942560:22.9300:23.4855:26.5500:0.8219:0.0000
12/30/2005 11:36:01 AM - POLLER: Poller[0] Parsed MULTI output field 'loss:0.0000' [map loss->loss]
12/30/2005 11:36:01 AM - POLLER: Poller[0] Parsed MULTI output field 'dev:0.8219' [map dev->dev]
12/30/2005 11:36:01 AM - POLLER: Poller[0] Parsed MULTI output field 'max:26.5500' [map max->max]
12/30/2005 11:36:01 AM - POLLER: Poller[0] Parsed MULTI output field 'avg:23.4855' [map avg->avg]
12/30/2005 11:36:01 AM - POLLER: Poller[0] Parsed MULTI output field 'min:22.9300' [map min->min]
12/30/2005 11:36:01 AM - CMDPHP: Poller[0] Time: 0.6825 s, Theads: N/A, Hosts: 2
12/30/2005 11:36:01 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
12/30/2005 11:36:01 AM - CMDPHP: Poller[0] Host[4] DS[12] SERVER: F:/Webroot/cacti/scripts/ss_fping.php ss_fping 10.10.9.254 20 ICMP, output: min:22.9300 avg:23.4855 max:26.5500 dev:0.8219 loss:0.0000
12/30/2005 11:36:01 AM - PHPSVR: Poller[0] SERVER: F:/Webroot/cacti/scripts/ss_fping.php ss_fping 10.10.9.254 20 ICMP output min:22.9300 avg:23.4855 max:26.5500 dev:0.8219 loss:0.0000
12/30/2005 11:36:00 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: 'F:/Webroot/cacti/scripts/ss_fping.php' SCRIPT: 'ss_fping' CMD: '10.10.9.254 20 ICMP'
12/30/2005 11:36:00 AM - CMDPHP: Poller[0] Host[4] SNMP: SNMP not performed due to setting or ping result.
12/30/2005 11:36:00 AM - CMDPHP: Poller[0] Host[4] PING: Host is Alive
12/30/2005 11:36:00 AM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/30/2005 11:36:00 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
12/30/2005 11:36:00 AM - PHPSVR: Poller[0] DEBUG: FILENM: f:\Webroot\cacti\script_server.php
12/30/2005 11:36:00 AM - PHPSVR: Poller[0] DEBUG: DIRNAM: f:/webroot/cacti
12/30/2005 11:36:00 AM - PHPSVR: Poller[0] DEBUG: GETCWD: f:/webroot/cacti
12/30/2005 11:36:00 AM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
12/30/2005 11:36:00 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: F:/php511/php.exe, ARGS: -q f:/webroot/cacti/cmd.php 0 4]
i3scottw
Posts: 7
Joined: Thu Sep 15, 2005 4:43 pm

Post by i3scottw »

Yes, I had finally gotten it to work - although I have no idea what the problem was. I finally got frustrated enough to uninstall/remove everything cacti related and reinstall it. After the reinstall everything was working. I must have done something incorrectly the first time around.
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

lol, this is about the 6th install i have done now and this is the furthest i have been so wanna try and aviod that one :)

Anyone any ideas ?

Cheers

Wayne
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

Right, i have been doing some further messing and it appears that if you run the rrdtool from the command line i do get a load of gibberish, if i pipe that through to a .PNG file i do in fact get a graph.

I do also get an error when i do this. The error says;

ERROR: failed to load /user/local/rrdtool-1.2.12/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf

I am just guessing that this is because i have ran the commend from the cmd prompt which is why its not picking up the font from cacti ?

Can anyone please help me on this one ?

Cheers

Wayne
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Hmm, are you running in Windows? If so, please set an environment variable RRD_DEFAULT_FONT sot something like %WIDIR%/Fonts/cour.ttf for the system. Then, try again. Please note, your open command prompt will not inherit the changes, you will have to open a new command prompt.

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?
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

Hi,

Thanks for the prompt reply. I am running this under Windows 2003. The solution posted, will this fix the issue running it from the command line or will it fix the Cacti issue of not displaying anything ?

I will try this when i am next in the office. I have been trying for weeks to get this running as i am a total newbie and thanks to these forums i am getting closer and closer :)

Cheers

Wayne
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It will fix your DEBUG'ing from the command line. I am curious, you downloaded this from the Cacti site?

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?
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

Downloaded the rrdtools from this site, tried earlier version 2.1.6 and also latest 2.1.12. Still no luck with seeing them in Cacti.

I am fairly sure i have followed everything by the letter (the guide) appart from doing the net-snmp bit because i aint got a clue how to do that. Thought, one problem at once :)

Cheers

Wayne
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests