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

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

Post by PiercedKnob »

So you want the list of all the environment variables, i thought you wanted me to set some which is why i was confused what output you wanted me to paste after the SET command.

I will get this over as soon as i am at work.

Cheers

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

Post by PiercedKnob »

The System Variables for the Administrator (and all other accounts as i do not set any variables under users just under the system) is;

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\Administrator\Application Data
CLIENTNAME=LEANOWA
ClusterLog=C:\WINDOWS\Cluster\cluster.log
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=LEANMSSYSLOG
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\Administrator
LOGONSERVER=\\LEANMSSYSLOG
MIBDIRS=F:\PHP511\extras\mibs
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\php511;C:\Program Files\MySQL\MySQL Server 4.1\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PHPRC=F:\PHP511
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 4, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0404
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=RDP-Tcp#3
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\TEMP\1
TMP=C:\TEMP\1
USERDOMAIN=LEANMSSYSLOG
USERNAME=Administrator
USERPROFILE=C:\Documents and Settings\Administrator
windir=C:\WINDOWS

Hope this helps ?

Wayne
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm, well that looks all fine and dandy. Now the million dollar question, why rrdtool isn't getting fed the commands properly.

Did you specify the full path to rrdtool in cacti settings? Like: c:/rrdtool/rrdtool.exe
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 again :)

I can confirm the setting for the rddtool is F:/rrdtool/rrdtool.exe

If i run the command from the command prompt, the graph image is created ok.

Even put the IIS User into the Administrators group to ensure there are no permission issues.

Any other suggestions ? I appear to have this similar issue everytime i rebuild, even the test one i have at home that TheWitness remoted into and didn't see anything obviously wrong.

Thanks

Wayne
IhSoY
Posts: 4
Joined: Thu Jan 26, 2006 8:39 am

Post by IhSoY »

Hello all,

After reading the 4 pages of this thread I've got the same problem !

I will also post the result of the set command in the cmd prompt !

Here it is :

ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\PC TEST\Application Data
CommonProgramFiles=C:\Program Files\Fichiers communs
COMPUTERNAME=TEST
ComSpec=C:\WINDOWS\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\PC TEST
LOGONSERVER=\\TEST
MIBDIRS=C:\OCSInventoryNG\xampp\php\extras\mibs
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Mi
crosoft Office\OFFICE11\Gestionnaire de contacts professionnels\IM;C:\Program Fi
les\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft Office\OFFICE
11\Gestionnaire de contacts professionnels\;C:\net-snmp\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PHPRC=C:\OCSInventoryNG\xampp\php
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0401
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SNMPCONFPATH=C:/net-snmp/etc/snmp;C:/net-snmp/snmp/persist
SNMPSHAREPATH=C:/net-snmp/share/snmp
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\PCTEST~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\PCTEST~1\LOCALS~1\Temp
USERDOMAIN=TEST
USERNAME=PC TEST
USERPROFILE=C:\Documents and Settings\PC TEST
windir=C:\WINDOWS
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

IhSoY wrote:Hello all,

After reading the 4 pages of this thread I've got the same problem !

I will also post the result of the set command in the cmd prompt !
Have you also followed BSOD2600's installation guide ? Is this the same problem ? Have you been able to produce the graph through DOS ?

You can do this by going to one of your graphs --> Click the Magnafying Glass --> Then clikc the Spanner --> If you paste the command into a DOS box and do something like > img.png at the end, you should then see a picture generated.

e.g. C:\rrdtool\rrdtool.exe graph - --imageformat=PNG .........." > img.png

I can manually create the graphs in DOS but they will not display through Cacti, very strange indeed.
IhSoY
Posts: 4
Joined: Thu Jan 26, 2006 8:39 am

Post by IhSoY »

Will try this when I will go back to my work tomorrow morning !

Will tell u if it works ;)

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

Post by PiercedKnob »

No worries, strange how its possibly three people experiencing this issue though.
IhSoY
Posts: 4
Joined: Thu Jan 26, 2006 8:39 am

Post by IhSoY »

I have tested to create my own png so I have used this code :

Code: Select all

c:/cacti/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Processes" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="processes" \
--slope-mode \
--font TITLE:12:C:/WINDOWS/Fonts/ARIAL.TTF \
--font LEGEND:10:C:/WINDOWS/Fonts/ARIAL.TTF \
--font UNIT:8:C:/WINDOWS/Fonts/ARIAL.TTF \
DEF:a="C\:/OCSInventoryNG/xampp/htdocs/cacti/rra/localhost_proc_8.rrd":proc:AVERAGE \
AREA:a#BCBEB3:"Running Processes"  \
GPRINT:a:LAST:"Current\:%8.0lf"  \
GPRINT:a:AVERAGE:"Average\:%8.0lf"  \
GPRINT:a:MAX:"Maximum\:%8.0lf" 
When I try to put it in a cmd box, it tells me "Zoom factor must be >0"

I'm trying BSOD2600's installation guide now ;)

EDIT : I'm currently configuring cacti and all the stuff needed with ths installation guide of BSOD2600 but I've got this error when imporrting cacti.sql (through the cmd prompt or through phpmyadmin, it's the same pb !)

Code: Select all

--
-- Dumping data for table `host`
--
INSERT INTO host
VALUES ( 1, 8, 'Localhost', '127.0.0.1', '', 1, '', '', 161, 500, '', 0, 0, '0000-00-00 00:00:00', '0000-00-00 00:00:00', '', 9.99999, 0.00000, 0.00000, 0.00000, 0, 0, 100.00000 ) ;



MySQL a répondu: 

#1264 - Out of range value adjusted for column 'availability' at row 1 
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You must be running mysql 5.x. Please read the usage notes for Mysql 5 in the announcements forum.

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Oh, BTB, I run using the FastCGI option in Windows. I always had problems with ISAPI, so based upon information from BSOD, I was able to get FastCGI working just fine. Try that instead.

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?
IhSoY
Posts: 4
Joined: Thu Jan 26, 2006 8:39 am

Post by IhSoY »

TheWitness wrote:You must be running mysql 5.x. Please read the usage notes for Mysql 5 in the announcements forum.

TheWitness
Oops sorry !

It's ok now so I'm still installing following the BSOD2600's install guide !
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

I am using MySQL 4.1 (after it was pointed out around a month ago that MySQL 5 wasn't supported yet).

I am guessing the issues i am having are nothing to do with the ISAPI portion ?

Anyone any further suggestions for me or is it time to give up ?

Cheers

Wayne
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

IhSoY: Get FileMon and look at the output when you graph something. Does it have the same results as PiercedKnob (as in, the graph commands are not getting sent to rrdtool) ?

PiercedKnob: I've run out of ideas.... have no idea why the heck the rrdtool commands aren't getting passed properly. I suppose you could install Apache and see if the same problem is there (I assume it will be). Last alternative would to be starting with a clean cacti database and see if it happens again.
PiercedKnob
Cacti User
Posts: 61
Joined: Tue Dec 06, 2005 8:36 am
Location: UK
Contact:

Post by PiercedKnob »

Thanks anyhow for all your help.

I have re-installed from scratch on several occasions and had no luck, going to have to look for something else now (although i may try again installing everything to the default locations).

Regards

Wayne
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests