Unable to view graphs - graph debug also not working
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
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
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
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
Did you specify the full path to rrdtool in cacti settings? Like: c:/rrdtool/rrdtool.exe
| 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 User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
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
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
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
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
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
Have you also followed BSOD2600's installation guide ? Is this the same problem ? Have you been able to produce the graph through DOS ?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 !
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.
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
I have tested to create my own png so I have used this code :
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
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"
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
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You must be running mysql 5.x. Please read the usage notes for Mysql 5 in the announcements forum.
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:
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
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?
-
- Cacti User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
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: 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.
| 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 User
- Posts: 61
- Joined: Tue Dec 06, 2005 8:36 am
- Location: UK
- Contact:
Who is online
Users browsing this forum: No registered users and 0 guests