No Graphs

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

Moderators: Developers, Moderators

Post Reply
pcnet
Posts: 7
Joined: Thu Sep 26, 2013 5:37 pm

No Graphs

Post by pcnet »

Hi,

Going through a new installation on Server 2008 R2, not getting any graphs to populate... I think its an RRD configuration issue.

using:
64 BIT net-snmp v5.5.0
ActiveState Perl 5.8.8 build 822
cacti 0.8.8b
php 5.4.20
IIS 7
MySQL 5.6.13.1
rrdtool 1.2.10

Please assist :)

Thank you -
Attachments
cacti2.png
cacti2.png (22.4 KiB) Viewed 7149 times
cacti1.png
cacti1.png (15.7 KiB) Viewed 7149 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: No Graphs

Post by BSOD2600 »

Graph debug output shows what error?

any errors in cacti.log?
npsiva
Posts: 8
Joined: Mon Sep 30, 2013 5:41 am

Re: No Graphs

Post by npsiva »

I've had that issue, and it got solved by replacing rrdtool, for RRDtool 1.2.30 Copyright 1997-2008

Lost a lot of time with that. Try this version.
pcnet
Posts: 7
Joined: Thu Sep 26, 2013 5:37 pm

Re: No Graphs

Post by pcnet »

Good Suggestion, and thanks for getting back to me --

I have downloaded the 1.2.30 version, but now when trying to install I get the following errors for RRDTool
-----------------------
RRD module for activestate perl 5.8.x
-------------------------------------
The system cannot find the path specified.
ppm install failed: 404 File `D:\rrdtool\RRDs.ppd' does not exist
Press any key to continue . . .
---------------------------

So then I tried to install the ppd, but it says:

D:\>cd rrdtool\data\rrd2\rrdtool-1.2.30\bindings\perl-shared

D:\rrdtool\data\rrd2\rrdtool-1.2.30\bindings\perl-shared>ppm install RRDs.ppd
ppm install failed: The PPD does not provide code to install for this platform

D:\rrdtool\data\rrd2\rrdtool-1.2.30\bindings\perl-shared>

-------------------------------------

Im using Perl 5.8.8, so it shouldnt be having a platform issue..
BSOD2600 wrote:Graph debug output shows what error?

any errors in cacti.log?
No Errors in the log, just one host I tried to add for testing with a timeout issue.

09/05/2013 03:48:09 PM - AUTH LOGIN: User 'admin' Authenticated
09/05/2013 03:51:16 PM - CMDPHP: Poller[0] WARNING: SNMP Walk Timeout for Host:'172.16.1.10', and OID:'.1.3.6.1.4.1.762.2.5.2.1.1'
09/26/2013 12:47:43 PM - AUTH LOGIN: User 'admin' Authenticated
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: No Graphs

Post by BSOD2600 »

Don't bother with the Perl rrdtool version.

Give http://www.cacti.net/downloads/packages ... vc2008.rar a try. you'll need the visual studio C++ 2008 redist installed too. This one is included with the Windows Installer package.

A timeout for host '172.16.1.10' is a sign of the main problem... cacti cannot communicate with the device. time to investigate into why this occurs.
pcnet
Posts: 7
Joined: Thu Sep 26, 2013 5:37 pm

Re: No Graphs

Post by pcnet »

The timeout occured due to invalid SNMP string, I will try the RRDtool you gave and get back to you. :)

Thanks

EDIT:

Still getting no graphs... I changed in settings RRD 1.2.x to 1.4.x to accommodate the new version...

I added one server to the graph tree, and it still doesnt create the graph. :/
Attachments
rrd3.png
rrd3.png (19.71 KiB) Viewed 7095 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: No Graphs

Post by BSOD2600 »

click on the wrench (aka graph debug). whats the output?
any other errors in cacti.log?
cacti successfully running every 5 minutes?
pcnet
Posts: 7
Joined: Thu Sep 26, 2013 5:37 pm

Re: No Graphs

Post by pcnet »

BSOD2600 wrote:click on the wrench (aka graph debug). whats the output?
any other errors in cacti.log?
cacti successfully running every 5 minutes?
Graph output -

Code: Select all

c:/cacti/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=1380557153 \
--end=1380643553 \
--title="PCNETSRV1 - Traffic - ethernet_9" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit="0" \
COMMENT:"From 2013/09/30 08\:05\:53 To 2013/10/01 08\:05\:53\c" \
COMMENT:"  \n" \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a="D\:/www/cacti/rra/pcnetsrv1_traffic_in_8.rrd":"traffic_in":AVERAGE \
DEF:b="D\:/www/cacti/rra/pcnetsrv1_traffic_in_8.rrd":"traffic_out":AVERAGE \
CDEF:cdefa="a,8,*" \
CDEF:cdefe="b,8,*" \
AREA:cdefa#00CF00FF:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n"  \
LINE1:cdefe#002A97FF:"Outbound"  \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n" 

Nothing in cacti.log since 2 days ago.

09/26/2013 02:51:47 PM - AUTH LOGIN: User 'admin' Authenticated
09/30/2013 12:58:56 PM - AUTH LOGIN: User 'admin' Authenticated


How would I check if its successful every 5 min? Should I be using spine, instead of cmd.php in settings?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: No Graphs

Post by BSOD2600 »

hmm, no "rrdtool says" in the graph output? If not, typically that's a sign of invalid NTFS permissions such that rrdtool.exe is never even launched.

I'd keep using cmd.php while getting things running. Spine can be fickle.
The windows task invokes poller.php every 5 minutes right?
Cacti logging level set to low or medium to see what is going on?
pcnet
Posts: 7
Joined: Thu Sep 26, 2013 5:37 pm

Re: No Graphs

Post by pcnet »

NTFS are set to Everyone for the entire c:\Cacti and its child elements.

I just changed logging to medium from low,

Not sure on the poller.php, however i do see php-cgi.exe and wperl32 running as processes.

I know I have an active poller on MRTG running, and thats been working just fine.

MRTG is a seperate IIS site running on same host.

No other errors in cacti.log when set to medium.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: No Graphs

Post by BSOD2600 »

the IIS service account, launches, cmd.exe, which then launches rrdtool.exe... so you need to have the permissions granted on cmd.exe for this process to work. The NTFS permissions are documented in http://docs.cacti.net/.

You do have a windows task which runs poller.php every 5 min, right?
pcnet
Posts: 7
Joined: Thu Sep 26, 2013 5:37 pm

Re: No Graphs

Post by pcnet »

Ill get back to you on that, works been super busy lately.
pcnet
Posts: 7
Joined: Thu Sep 26, 2013 5:37 pm

Re: No Graphs

Post by pcnet »

So i verified all permissions on cmd, and services, they are set to everyone with domain admins added...

Not sure what the next step is,

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests