2

I have Cacti installed on a computer and SNMP enabled on my Windows Hosts (Community string : public)

How do I get the Windows Network Utilization, HDD, CPU, and more?

I would like a guideline on how to create and add hosts and graphs and I want to get an update every 30 seconds as well.

2
  • 1
    change your community string Aug 3, 2009 at 18:41
  • 1
    Your question suggests to me that you haven't even looked at the documentation. That should be your starting point. Aug 3, 2009 at 19:19

4 Answers 4

3

Except for the 30 second polling, this is pretty standard. Read the manuals here: http://www.cacti.net/downloads/docs/html/faq.html

  1. Using Cacti

How do I create traffic graphs?

[snip]

Now that you have working SNMP support, follow these steps.

Click Devices on Cacti's menu.

Click Add to add a new device.

Type a description, hostname, management IP, and SNMP community. Make sure to select "Generic SNMP-enabled Host" under Host Template and click Create.

Click Create Graphs for this Host at the top of the page.

You should see one or more interfaces listed under the Data Query [SNMP - Interface Statistics] box. Place a check next to each interface that you want to graph. Below the box, select type of graph that you want to create (bits, bytes, summation, etc).

Click Create, and Create again on the following screen to create your graphs.

Normally Cacti (and MRTG) poll every 5 minutes. If you want to make this more aggressive (make sure you understand what and why you are doing this) you can change the polling service to run as frequently or as infrequently as you wish. My suggestion would be to start with the standard polling interval first.

1

My concern is that you're requesting 30 second resolution. Are you sure you're not looking for real-time monitoring ( Real time monitoring of MS Windows servers and their services )? And are you sure you need it?

In two weeks, are you still going to care about 30 second resolution? Is it going to be worth the hit on bandwidth (and processor cycles) to create the data and to move those bits around?

There are techniques available to break it down into a smaller resolution, if you've got that sort of bandwidth/diskspace/pain tolerance.

Here's a discussion on discrete resolution polling from 2006: http://forums.cacti.net/about12373.html&highlight=

In the past 8 or so years in IT, I've found that if you're trying to do something that no one else has done, you're either on the bleeding edge, or you're doing it wrong. It's up to you to decide where you stand.

0

Create graphs, choose the device type which seems to be the nearest. That's exactly what I've done on my Cacti + Win2003 combination.

0

Cacti is known to allow a 1 minute period data collect, after proper setup described here: http://www.tolaris.com/2013/07/09/cacti-and-1-minute-polling/

Probably a custom setup for a 30 second period is possible, but it is important to take care to CPU consumption on Cacti server, depending on the number of collected data sets. Native poller spine should be used: http://www.cacti.net/spine_install.php

Windows monitoring requires SNMP feature to be enabled, and Informant SNMP agent is really recommended to get detailed measures from WMI:

Then the following procedure details how to install graph templates designed for Informant SNMP agent:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .