No CPU graphs after new install.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
amccool
Posts: 17
Joined: Mon Apr 18, 2005 4:27 pm

same behavior seen

Post by amccool »

debian unstable
cacti 0.8.6c-6

I get values from my win2k3 server cpus via the procedure outlined above.

but no files are created (or updated)

ERROR: opening '/usr/share/cacti/site/rra/mail1_cpu_473.rrd': No such file or directory
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Are the data sources listed in the poller cache?

Larry
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

That was a dumb question. Please run 1 time from the command line "php poller.php" while in DEBUG mode and post both your STDOUT and the CactiLog.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
amccool
Posts: 17
Joined: Mon Apr 18, 2005 4:27 pm

logs

Post by amccool »

04/19/2005 01:39:09 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=-86400 --end=-300 --title="mail1 - CPU Utilization - CPU0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="/usr/share/cacti/site/rra/mail1_cpu_473.rrd":cpu:AVERAGE AREA:a#FF0000:"CPU Utilization(SNMP)" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf"

--and from poller.php

I cant find a single reference to the wanted server in any of the output of poller.php
User avatar
amccool
Posts: 17
Joined: Mon Apr 18, 2005 4:27 pm

rrd file creation...?

Post by amccool »

In reviewing my data sources (in Debug). I grabbed the debug and tried executing it


root@warwick:/var/log/cacti# /usr/bin/rrdtool create \
> /usr/share/cacti/site/rra/mail1_cpu_477.rrd \
> --step 300 \
> DS:cpu:DERIVE:600:0:100 \
> DS:cpu:GAUGE:600:0:100 \
> DS:cpu:ABSOLUTE:600:0:100 \
> DS:cpu:GAUGE:600:0:100 \
> RRA:AVERAGE:0.5:1:600 \
> RRA:AVERAGE:0.5:6:700 \
> RRA:AVERAGE:0.5:24:775 \
> RRA:AVERAGE:0.5:288:797 \
> RRA:MAX:0.5:1:600 \
> RRA:MAX:0.5:6:700 \
> RRA:MAX:0.5:24:775 \
> RRA:MAX:0.5:288:797 \
> RRA:LAST:0.5:1:600 \
> RRA:LAST:0.5:6:700 \
> RRA:LAST:0.5:24:775 \
> RRA:LAST:0.5:288:797

ERROR: Duplicate DS name: cpu
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You have a damaged data template. Please edit the CPU data template in question, take a screen print and post it to the web site as a jpg file.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
amccool
Posts: 17
Joined: Mon Apr 18, 2005 4:27 pm

agreed damaged template

Post by amccool »

my data template [Host MIB - CPU Utilization] had a total of four(4) CPU Data Source Items.

I have completely removed cacti and started a new installation (new database + all files)
User avatar
amccool
Posts: 17
Joined: Mon Apr 18, 2005 4:27 pm

success

Post by amccool »

everything is looking good now........I wish I knew how the template was modifed

Thanks for all the help. :D
spunk
Posts: 10
Joined: Wed Apr 13, 2005 8:50 am
Location: Sweden

Post by spunk »

ehhh,
What does your debug output look like for that particular script? If different than "U", then I would suspect either a corrupt template or a damaged RRD file.

TheWitness
How do I see the debug output of this script?
I've run the poller in debug mode and posted the log to this thread.
And the problem is that the rrd files for CPU usage is'nt created.

.sPunk
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

sorry spunc, amccool hijacked your thread and I didn't notice. It's usually a blur to me these things. I need to download firefox (since WindowsXP Sp2 wont allow me to open attachements on PHPbb anymore). Give me a few.

TheWitness :cry:
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Spunc,

You have a duplicate DS issue. Goto your Data Template for the CPU graph and delete the second CPU DS from it and you will be back in business.

Oh, please backup your database first...

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
spunk
Posts: 10
Joined: Wed Apr 13, 2005 8:50 am
Location: Sweden

Post by spunk »

THANK YOU, THANK YOU, THANK YOU, THANK YOU, THANK YOU!!!! :lol: :lol: :lol:

That did the trick!!

Thanks again for a great application and GREAT support.

Regards
sPunk
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests