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

Cacti not collecting any data

Post by TheBrain »

So we had Cacti setup on a Windows 2003 server for a while. I installed Cacti on a new 2008 R2 server, and I'm able to get graphs setup but they're always blank.

Unfortunately, I no longer have the 2003 environment available to look at what the configuration used to be.

The servers I'm attempting to monitor haven't changed. Their SNMP settings are all the same as they were.

I'm still really new to this program, and I'm not currently in contact with the person who set it up before.

When I installed it I used an installer from on this forum, the exact file was "Cacti-0.8.8b.exe"

I'm using a 2008 R2 server to monitor other 2008 R2 servers.
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

With graph debug mode on:

RRDTool Command:

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start="-86400" \
--end="-300" \
--title="Appserver02 - CPU Usage" \
--rigid \
--base="1000" \
--height="120" \
--width="500" \
--alt-autoscale-max \
--lower-limit="0" \
--vertical-label="percent" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/5/14.rrd":"5min_cpu":AVERAGE \
AREA:a#FF0000FF:"CPU Usage" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n"

RRDTool Says:
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 »

latest installer available in http://forums.cacti.net/viewtopic.php?f=3&t=14946 (yes, I need to get it updated to 0.8.8f).

since its a new install, you should should update to 0.8.8f http://docs.cacti.net/manual:088:1_inst ... _upgrading

for troubleshooting why the graphs are blank, start with http://forums.cacti.net/viewtopic.php?f=3&t=11747

any empty rrdtool says typically is a sign of missing NTFS permissions. if you run rrdtool manually, does it work?
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

From the Cacti Log file:

07/30/2015 01:45:01 PM - CMDPHP: Poller[0] Host[5] DS[14] WARNING: Result from SNMP not valid. Partial Result: U
07/30/2015 01:45:01 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.1.0.31', and OID:'.1.3.6.1.4.1.9.2.1.58.0'
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 »

click on the device in cacti. in the top left corner, is the basic snmp info displayed? If not, config or firewall issue
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

Appserver02 (10.1.0.31)
SNMP Information
System:Hardware: Intel64 Family 6 Model 58 Stepping 9 AT/AT COMPATIBLE -
Software: Windows Version 6.1 (Build 7601 Multiprocessor Free)
Uptime: 132327340 (15 days, 7 hours, 34 minutes)
Hostname: appserver02.CTX.numedics
Location:
Contact:
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

I've updated to 0.8.8C, now when I view my graphs, this is all I see:

Image

I can't open it.
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

Running

php -q cmd.php <id> <id>

with max SNMP OID's Per SNMP Get Request set to 1

and SNMP Timeout set to 15000 milliseconds

I'm getting "WARNING: SNMP Get Timeout for Host"
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 »

Sounds like a firewall issue or snmp is not correctly configured on that device.
Are you able to successfully perform a snmpwalk from the cacti server to that device?
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

No firewall between the devices.

I appear to be able to run a successful snmpwalk.

When I run the command snmpwalk -c public -v 2c =On Host 1

I get a huge list starting with

.1.3.6.1.2.1.1.1.0 = STRING: Hardware: Intel64 Family 6 Model 58 Stepping 9 AT/AT COMPATIBLE - Software: Windows Version 6.1 (Build 7601 Multiprocessor Free)
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.311.1.1.3.1.3
.1.3.6.1.2.1.1.3.0 = Timesticks: (20996658) 2 days, 10:19:26.58
.1.3.6.1.2.1.1.4.0 = STRING:

and it goes on from there
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 »

.1.3.6.1.4.1.9.2.1.58 is Cisco CPU utilization. Did you try to snmpwalk that OID from the cacti server?
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

Yes, that's currently my only data source.
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 »

... and what was the result? I assume you realize that only specific Cisco devices will respond to that OID.
TheBrain
Posts: 15
Joined: Mon May 12, 2014 10:20 am

Re: Cacti not collecting any data

Post by TheBrain »

BSOD2600 wrote:... and what was the result? I assume you realize that only specific Cisco devices will respond to that OID.
Had no idea. Wasn't aware there was anything in that which was system specific.

Is there a data template that will work with Dell or Supermicro servers?
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 »

Sure. Try the basic ones that already come with Cacti; snmp data queries for host partitions/processor/interface. search the script subforum and/or http://docs.cacti.net/templates for user contributed ones.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests