install and configure cacti

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

Moderators: Developers, Moderators

Post Reply
red_lines9
Posts: 10
Joined: Mon Jan 23, 2006 9:45 am
Location: algeria
Contact:

install and configure cacti

Post by red_lines9 »

hi all,
i'm new here, and i have a problem to install and configure cact under windows xp, and to follow instruction writen in the cacti website.
please i need a help to describe me easily how to do, i have installed easy php 1.8 (it's auto configure)
thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Moved to Win32 specific
Please select the link of BSOD2600's signature that takes you to a install guide for windows
Reinhard
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You might have some problems with easy php, just an FYI. http://bsod2600.home.comcast.net/install_windows.html

If you do, go back to real PHP.
red_lines9
Posts: 10
Joined: Mon Jan 23, 2006 9:45 am
Location: algeria
Contact:

thanks

Post by red_lines9 »

i followed the instruction but i stopped at section 6 of configuring cacti :
6- Log into the user account you'll be using for the scheduled task and verify starting a Cacti polling cycle works. Do this by running the following from the command prompt:

php c:\<web root>\cacti\poller.php

The output should look something like this:

C:\>php c:\inetpub\wwwroot\cacti\poller.phpOK u:0.00 s:0.06 r:1.32OK u:0.00 s:0.06 r:1.32OK u:0.00 s:0.16 r:2.59OK u:0.00 s:0.17 r:2.6210/28/2005 04:57:12 PM - SYSTEM STATS: Time:4.7272 Method:cmd.php Processes:1 Threads:N/A Hosts:1 HostsPerProcess:2 DataSources:4 RRDsProcessed:2
After this has ran once, you should have cacti.log in /cacti/log/ and rrd files in /cacti/rra/.


how to do this please......
red_lines9
Posts: 10
Joined: Mon Jan 23, 2006 9:45 am
Location: algeria
Contact:

my serious problem

Post by red_lines9 »

hi,
here is my problem with cacti poller....!!!!!!!!!!
after php .........\poller.php command
Attachments
description of poller error
description of poller error
poller error.JPG (34.05 KiB) Viewed 6477 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Edit snmp.conf and remove those two lines which have errors.
red_lines9
Posts: 10
Joined: Mon Jan 23, 2006 9:45 am
Location: algeria
Contact:

poller

Post by red_lines9 »

hi,
i do what you sugest me to do, but another msg comes on!!!!
regards,
Attachments
poller error2.JPG
poller error2.JPG (22.27 KiB) Viewed 6446 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Q: When attempting to run poller.php you get, "This script is only meant to run at the command line"
A: Most likely caused by a misconfiguration in your php.ini file. Make sure the following is set in it:

register_argc_argv = On
safe_mode = Off
red_lines9
Posts: 10
Joined: Mon Jan 23, 2006 9:45 am
Location: algeria
Contact:

problem with snmp

Post by red_lines9 »

hi;
i have always problem with my snmp "snmp error" when creating new snmp device...
how to do pls
thx
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Then you need to figure out if you've not properly configured the SNMP agent or you have a firewall blocking the data.
red_lines9
Posts: 10
Joined: Mon Jan 23, 2006 9:45 am
Location: algeria
Contact:

why net-snmp?

Post by red_lines9 »

hi,
why we must install net-snmp?
how to configure windows snmp agent without require to install net-snmp?
how to get information from my cisco 2600 router
thx
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: why net-snmp?

Post by BSOD2600 »

red_lines9 wrote:why we must install net-snmp?
For snmp bulkwalks when you dont have PHP 5.1 or snmpv3 queries. You do NOT have to install the net-snmp snmp agent.
red_lines9 wrote:how to configure windows snmp agent without require to install net-snmp?
IMO, if you don't know how to install SNMP on your computer, Cacti is probably over your head. Google is your friend: http://www.microsoft.com/resources/docu ... stall.mspx
red_lines9 wrote:how to get information from my cisco 2600 router
Add it as a device in cacti. Add some data queries. Read the cacti manual.
red_lines9
Posts: 10
Joined: Mon Jan 23, 2006 9:45 am
Location: algeria
Contact:

not how to install it!!!!

Post by red_lines9 »

sorry!!
i have badly explain my idea......
because i have install snmp (the microsoft one) and i have some problems (snmp error) i told you if is necessarly to install net-snmp (it was my best question). thank you for your response.
but i have always 'snmp error' .
thx
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Use GetIF or net-snmp snmpwalk against your local computer. Is it able to query any SNMP data? If not, you have not properly set up snmp or a firewall is blocking the data.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests