Strange Problem in Windows 2003 Enterprise Edition

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

Moderators: Developers, Moderators

mikenl
Posts: 6
Joined: Tue Nov 20, 2007 4:32 pm

Post by mikenl »

Just installed cacti for the first time.
I am experiencing the exact symptoms.

Server 2003 Ent.
Cacti Version 0.8.7a
PHP Version 5.2.5
Apache Version Apache/2.2.6 (Win32) PHP/5.2.5
rrdtool Version 1.2.15-cygwin-1.5.20
obzerver
Posts: 27
Joined: Mon Oct 29, 2007 4:20 am

Post by obzerver »

BSOD2600 wrote:Does cacti consider your device up?
Yes, I am using Local Host....

any clue as to what the problem might be.. i am really exhausted... tried all the options...

you see i have cacti running on redhat linux and i faced problems...the graph photo appears in the placeholder but the graph is not being updated.

you can see this thread http://forums.cacti.net/viewtopic.php?t=23967

so i decided to install the windows version...i installed cacti on windows 2003 enterprise edition and I am faced with a new problem...
Graph Doesn't Appear !

Is this a bug in Cacti for Windows 2003 Ent Edition ?
Attachments
cacti5.JPG
cacti5.JPG (99.12 KiB) Viewed 2919 times
cacti6.JPG
cacti6.JPG (111.29 KiB) Viewed 2919 times
cacti7.JPG
cacti7.JPG (145.93 KiB) Viewed 2919 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

What poller do you use? If it's cmd.php, you might want to use a TCP ping of 23 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?
obzerver
Posts: 27
Joined: Mon Oct 29, 2007 4:20 am

Post by obzerver »

TheWitness wrote:What poller do you use? If it's cmd.php, you might want to use a TCP ping of 23 instead.

TheWitness
poller is CMD.PHP


if i use TCP @ port 23 ping then it gives me on the top of the screen

PING RESULTS: TCP Ping timed out

Note: The firewall is down.
If i ping localhost i get reply


note: I mean the graph photo should atleast appear but the Graph will be flat.... right ? but in my case the graph photo itself doesn't appear

I have x mark as you can see above...
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You have to ping an open port. Try 443. Also, goto Graph Management and view one of the graphs. When viewed, press the "graph debug" button.

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?
obzerver
Posts: 27
Joined: Mon Oct 29, 2007 4:20 am

Post by obzerver »

okay i did that, the debug reply:

there is RRDTOOL command which like the one which I posted above;

RRDTOOL - ........

Then below it is the RRDTOOL COMMAND
which is empty


the ping is working
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Likely you need to run filemon and look for the permissions issue that IIS (Crap) is having accessing RRDtool.exe.

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
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Umm, if cacti doesn't consider your devices up, then there will be no graphs. I suggest you change the ping method to just SNMP.
mikenl
Posts: 6
Joined: Tue Nov 20, 2007 4:32 pm

Post by mikenl »

I'm assuming i'm facing the same problem as obzerver.
No matter if you use snmp & ping, or any of the two the device status remains unknown.
mikenl
Posts: 6
Joined: Tue Nov 20, 2007 4:32 pm

Post by mikenl »

At the devices window snmp data can be seen from localhost :
localhost (server)
SNMP Information
System: Hardware: x86 Family 15 Model 2 Stepping 9 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Multiprocessor Free)
Uptime: 333837 (0 days, 0 hours, 55 minutes)
Hostname: SERVER
Location: server
Contact: admin

So, snmp is working. Still the rra dir remains empty.
I don't see any activity of rrdtool in filemon.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

mikenl wrote:So, snmp is working. Still the rra dir remains empty.
Doesn't matter. Unless cacti considers the device UP, it won't poll it.

What detection method do you have set on the device? I suggest changing it to snmp. Then look in the log file were cacti tries to check if the device is up or down.
mikenl wrote:I don't see any activity of rrdtool in filemon.
Typically a sign that cacti didn't poll anything and/or a permission issue so rrdtool.exe wasn't launched. make sure you set up the correct permissions on php.exe, rrdtool.exe, and cmd.exe. Follow my installation guide (in my signature).
mikenl
Posts: 6
Joined: Tue Nov 20, 2007 4:32 pm

Post by mikenl »

Ok, in my case i installed apache in c:\program files\yadadaa *Bad*
I now installed it in f:\apache\
Still got mysgl in program files though, php is in c:\php5\
The rrdtool version error has gone yay !
Hosts status are still unknown,now i'm seeing lots of rrdtool "name invalid" errors :

0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:AVERAGE NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:AVERAGE.exe NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:AVERAGE.lnk NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:AVERAGE.exe.lnk NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti\rra NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti\rra.lnk NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs\cacti.lnk NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache\htdocs.lnk NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:\apache.lnk NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\: NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F\:.lnk NAME INVALID Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F NOT FOUND Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:c=F.lnk NOT FOUND Attributes: Error
0:02:45 rrdtool.exe:6028 QUERY INFORMATION F:\apache\htdocs\cacti SUCCESS Attributes: D
0:09:17 rrdtool.exe:4588 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:d=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:MAX NAME INVALID Attributes: Error
0:09:17 rrdtool.exe:4588 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:d=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:MAX.exe NAME INVALID Attributes: Error
0:09:17 rrdtool.exe:4588 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:d=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:MAX.lnk NAME INVALID Attributes: Error
0:09:17 rrdtool.exe:4588 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:d=F\:\apache\htdocs\cacti\rra\localhost_pe2650_cpu1_temp_15.rrd:pe2650_cpu1_temp:MAX.exe.lnk NAME INVALID Attributes: Error
0:09:17 rrdtool.exe:4588 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:d=F\:\apache\htdocs\cacti\rra NAME INVALID Attributes: Error
0:09:17 rrdtool.exe:4588 QUERY INFORMATION F:\apache\htdocs\cacti\DEF:d=F\:\apache\htdocs\cacti\rra.lnk NAME INVALID Attributes: Error
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

When you go to cacti->settings->paths, do all of them return File OK?

Did you follow MY installation guide for how to configure php and apache for cacti?
mikenl
Posts: 6
Joined: Tue Nov 20, 2007 4:32 pm

Post by mikenl »

I followed the guide on the cacti home page :
http://cacti.net/downloads/docs/html/in ... ndows.html
Went through your guide, has much usefull info in ut.

After a reboot all troubles went away and cacti is graphing happily now :)
Thanks for your help, much appreciated.

Mike
obzerver
Posts: 27
Joined: Mon Oct 29, 2007 4:20 am

Post by obzerver »

lucky mike... i am still unlucky :-(
hopefully i will be lucky too..

anyway,

I download the filemon and this is what I get...
Attachments
filemon1.JPG
filemon1.JPG (253.8 KiB) Viewed 2792 times
filemon2.JPG
filemon2.JPG (244.94 KiB) Viewed 2792 times
filemon3.JPG
filemon3.JPG (239.72 KiB) Viewed 2792 times
filemon4.JPG
filemon4.JPG (241.53 KiB) Viewed 2792 times
filemon5.JPG
filemon5.JPG (269.13 KiB) Viewed 2792 times
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests