How to configure server 2003 for cacti on linux

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

Moderators: Developers, Moderators

Post Reply
tomputer
Posts: 11
Joined: Tue Feb 23, 2010 4:00 am

How to configure server 2003 for cacti on linux

Post by tomputer »

Hello
I searched google and I can not find information on how to configure Windows server 2003 to work with cacti that is installed on Linux.

I installed SNMP on Windows Server 2003 but ther is still SNMP error in Cacti

Where can I find instructions how to do it step by step.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: How to configure server 2003 for cacti on linux

Post by BSOD2600 »

tomputer wrote:Where can I find instructions how to do it step by step.
Google.

did you set a snmp community?
did you set allowed hosts in the snmp agent?
allows snmp traffic in the firewall?
tomputer
Posts: 11
Joined: Tue Feb 23, 2010 4:00 am

Post by tomputer »

I install the SNMP agent on w2k3 , next i add the w2k3 device to cacti with these parameters

Downed Device Detection SNMP

SNMP Version version 1

SNMP Community public

I add these graphs templates for this device
Host MIB - Logged in Users
Host MIB - Processes
ucd/net - CPU Usage


Next in snmp agent on w2k3 i accepted SNMP packets from cacti host,

In firewall the snmp traffic is enabled
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Followed steps in http://forums.cacti.net/viewtopic.php?t=11747 ?

ucd / net-snmp templates don't work on Windows either.
tomputer
Posts: 11
Joined: Tue Feb 23, 2010 4:00 am

Post by tomputer »

I checked the cacti.log
and there is only:
02/24/2010 09:05:03 AM - SYSTEM STATS: Time:1.1801 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSource:0 RRDsProcessed:0
When I turned on the Graph Debug Mode It's says.
RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="localhost - Logged in Users" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="users" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
AREA:#4444FFFF:"Users" \
GPRINT::LAST:"Current\:%8.0lf" \
GPRINT::AVERAGE:"Average\:%8.0lf" \
GPRINT::MAX:"Maximum\:%8.0lf\n"
RRDTool Says:

ERROR: parameter '#4444FFFF' does not represent a number in line AREA:#4444FFFF:Users
I noticed that there are no files in /usr/local/share/cacti/rra/
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

This is slowly turning into a linux troubleshooting issue, instead of Windows...

Did you manually create the graph for "localhost - Logged in Users" or use the 'create graphs for this device' screen ? You cannot manually create the graph, so that might be a source of the problem. Notice the graph doesn't have a data source / rrdfile defined? 'tis the problem at hand.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests