[SOLVED] Should be easy fix for you guys. Cacti on XP

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

Moderators: Developers, Moderators

Neofate
Posts: 18
Joined: Sat Feb 02, 2008 11:10 pm

Post by Neofate »

Ok, as promised I would report the output that is now 'not error' -

BEFORE, it would show this output:


http://webpages.charter.net/jaredguess/cactierror.jpg

However -- CURRENTLY, this is the output it gives when I click on the properties of the graph in question.

Code: Select all

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Used Space - C: Label: Seria" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/localhost_hdd_total_8.rrd":hdd_used:AVERAGE \
AREA:a#002A97FF:"Total"  \
GPRINT:a:LAST:"Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n"  \
AREA:b#F51D30FF:"Used"  \
GPRINT:b:LAST:" Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" 
Hope that helps..

*also*

With this fresh install - Localhost remains 'down' in red.

So that would indicate that the graph should not be present.

Also, when I add graphs from my router, and attach them to the default tree... or if I create a new branch for them. It will NOT list them under the graphs. I don't get it.

Unless if localhost is down, anything added doesn't get processed until localhost is fixed?

Why would my localhost now not be operational? (Remember this is a complete clean install, cacti is the only program installed on windows XP)

Thanks,
Neofate
Posts: 18
Joined: Sat Feb 02, 2008 11:10 pm

Post by Neofate »

Making progress.. making progress..

Ok, after going to start-run-service.msc

I noticed SNMP wasn't installed.. WTH? Default install of Windows XP, SP2 doesn't include SNMP agent. Oh well.

So I installed and configured the SNMP Agent/Traps and so forth.

I just pulled the graph (localhost) is listed as recovering in orange/yellow. The graph is basically empty, but it hasn't had time to collect any data..

But I'm almost there!

Ok I just selected my router branch off the tree --

Guess what?

It works! I got a graph,.. I simple picked ixp1 , for testing purposes.

But now I believe it is all gravy.


I think through my nightmare I could help others with their installations now.. sheesh.

Thanks for your help -- And I am going to edit the upper post, so you will skip to this one without reading all the problems and then beign like DOH, he figured it out. :)

I am going to create another topic with some ideas to add to the installer, if possible.

Take care (and thanks so much for your help)
Neofate
Posts: 18
Joined: Sat Feb 02, 2008 11:10 pm

Post by Neofate »

Ok it works as I mentioned.

Some rough graphs --

http://webpages.charter.net/jaredguess/working.gif


Though now I'm messing with the graphs. I am actually a little dissapointed after all that effort at the output.

But I guess I am limited to the program and what can be derived from SMTP.

I was hoping for a little more 'real time' action, with a little more user friendly/intuitive GUI. Seems everthing is a graph,.. No statistic based output -- Like Users connected:

192.168.1.200 -- Computer Name: xxxxx
192.168.1.201 -- Computer Name: xxxxx
192.168.1.202 -- Computer Name: xxxxx

Wireless Clients ---

then in each of those ips, I could click on them, and it would provide detailed stats on each IP: Total bytes, current bytes in/out -- Ports utilized.. basically anything you could think of -- (In real time, and the graph over time if you clicked on it).

Is this just not possible?

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

Post by BSOD2600 »

Congrats on finally getting it working... So after all of what you went through, do you see the stumbling blocks which got you hung up?

The post-instructions are so the user verifies the installer properly did things. Some times the vbs scripts don't execute correctly for IIS.

Cacti can graph anything you can throw it (SNMP, scripts, etc). Read in the documentation site (link above) on how to make these yourself. If your router doesn't provide a breakdown of users connected, etc, thats their fault ;-). Fancy cisco routers, etc you can use stuff like ntop (others -- search the forum) can provide user/protocol/etc breakdowns.

Once your install is fully functional, look into some of the plugins and what they can do for you. LOTS more functionality with them. Of course they bring another added layer of complexity and possible issues.
Neofate
Posts: 18
Joined: Sat Feb 02, 2008 11:10 pm

Post by Neofate »

BSOD2600 wrote:Congrats on finally getting it working... So after all of what you went through, do you see the stumbling blocks which got you hung up?
No, do you?

I see absolutely no reason why the setup was not working originally. The file permissions were set accordingly, and everything else was working as planned.

If you know/knew I'd like to hear it :)
The post-instructions are so the user verifies the installer properly did things. Some times the vbs scripts don't execute correctly for IIS.
I understand..
Cacti can graph anything you can throw it (SNMP, scripts, etc). Read in the documentation site (link above) on how to make these yourself. If your router doesn't provide a breakdown of users connected, etc, thats their fault ;-). Fancy cisco routers, etc you can use stuff like ntop (others -- search the forum) can provide user/protocol/etc breakdowns.
My router is better than your typical residential/home router. It is a Cisco RV042. It is much more complex than your WRT54G, or GS series that many use.. or most of the routers you would buy at 'bestbuy'. It is about a $200.00 retail router, that has been out for a while. Handles loadbalancing among two ISP inputs, failover.. and support for outputting a Syslog to an IP. (Among a ton of other things I don't really use.. VPN tunnels, etc etc).

Then internal logs of the router , so far, include everything and more that Cacti has produced.

But it is the format in which I am trying to get at.

Like I mentioned.. I'd like it to present like it did on my wrt54g with dd-wrt user lists.. Of say my wireless clients. Then I can expand a specific IP/client by clicking on it -- and so forth. I can get alot of the information I am looking for by opening 3 dozen different programs/boxes/links -- But to have it condensed in a quick to grab , easy to read, pattern is what I am after.

For instance I threw Sonic Wallwatcher on there as well -- It is insane at how much activity it picks up.. to the point where you have to block/hide alot of it.

When you have two WAN ip's running data out to 7 Computers in a home .. even when users aren't at the PC's alot is going on. :)

I'd be tempted to put third party firmware on the RV042, but I just purchased it for stability, and this router is known for 1-2-3+ year uptimes without a reboot. So I'm just going to leave it where it works. This monitoring isn't necessary, it is just all in good fun.
Once your install is fully functional, look into some of the plugins and what they can do for you. LOTS more functionality with them. Of course they bring another added layer of complexity and possible issues.
Sure sure.. I'll dabble into them -- The graphs and 'templates' provided with Cacti aren't to terribly polished. I guess that is what it is. The program just needs some more development from a GUI aspect. It leans more on the Developer side/alpha/beta stages of a product. However, I can't complain on something that is 100% free.

I'm grateful it is out there.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests