Cacti not collecting any data

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

Moderators: Developers, Moderators

TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

Ok, feeling a little dumb here. Still having trouble with this.

I setup a graph tree with a graph using the graph template Host MIB - CPU Utilization and the data template Host MIB - CPU Utilization. My device is a Windows Server.

When I let the scheduled Cacti Poller task run, this is what is written to the log:

11/05/2015 01:05:00 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Scheduled Task Int: '300', Time Since Last: '300', Max Runtime '298', Poller Runs: '1'
11/05/2015 01:05:00 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/php/php.exe, ARGS: -q "c:/inetpub/wwwroot/cacti/cmd.php" 0 0]
11/05/2015 01:05:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:/php/php.exe, ARGS: -q "c:/inetpub/wwwroot/cacti/cmd.php" 4 4]
11/05/2015 01:05:01 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
11/05/2015 01:05:02 PM - POLLER: Poller[0] NOTE: There are no items in your poller for this polling cycle!
11/05/2015 01:05:02 PM - SYSTEM STATS: Time:1.3416 Method:cmd.php Processes:16 Threads:N/A Hosts:2 HostsPerProcess:1 DataSources:0 RRDsProcessed:0

I have a data source, using the previously mentioned data template.

What did I do wrong?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Cacti not collecting any data

Post by BSOD2600 »

TheBrain wrote:I setup a graph tree with a graph using the graph template Host MIB - CPU Utilization and the data template Host MIB - CPU Utilization. My device is a Windows Server.
How did you create these? it should've been done in:
devices -> select device -> click on create graphs for device (top right corner) -> select the items from the various data queries -> click create. then wait 2 polling cycles before checking the graphs. The error in the cacti log would suggest you did not follow these steps.
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

I did not realize that was the only way to make a working graph.

OK, so doing it that way, I get this message in the Cacti log:
WARNING: Result from SNMP not valid. Partial Result: U
When I use the following command from the command line:
snmpwalk -c public -v 2c 5 .1.3.6.1.4.1.2021.11.52.0
I get this error:
snmpwalk: Failure in sendto (No such file or directory)
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

OK, I finally have a working graph. Using the template Host MIB - Processes.

Now I'm trying to see if I can get the Host MIB - CPU Utilization template to work. It's not in the list of templates when I got to my device and click create graphs for this device, so I had to add a data source using that data template and then make a graph using that graph template.

EDIT: It looks like data sources that use the input method "Get SNMP Data" are working just fine. Sources using "Get Script Server Data (Indexed)" are not working.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Cacti not collecting any data

Post by BSOD2600 »

TheBrain wrote:Sources using "Get Script Server Data (Indexed)" are not working.
you must create the graphs using the method I stated for this type.

Start with http://docs.cacti.net/manual:088:2_basi ... ion#basics - you need to add that associated data query to that device.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests