Cacti Version 0.8.7i on Ubuntu Server LTS

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
l33byt
Posts: 14
Joined: Wed Mar 24, 2010 9:47 am

Cacti Version 0.8.7i on Ubuntu Server LTS

Post by l33byt »

Hi.

on a fresh install of ubuntu server we have installed cacti 0.8.7.i on Ubuntu server (10.10 LTS)
The install is simple as they come but for some reason Graphs are not updating.

The localhost ones had above 5 minuts of activity then stopped. A test Cisco Router I added has nothing, no graph background.

We has set it up using spine and all the paths in the setup show as correct.
Looking at a debug trace it is doing what it should be, see log below

02/28/2012 09:12:49 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/bin/rrdtool graph - --imgformat=PNG --start=1330377169 --end=1330463569 --title='Localhost - Processes' --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2012/02/27 21\:12\:49 To 2012/02/28 21\:12\:49\c" COMMENT:" \n" --vertical-label='processes' --slope-mode --font TITLE:10: --font AXIS:7: --font LEGEND:8: --font UNIT:7: DEF:a="/var/lib/cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30FF:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"

however if i go to /var/lib/cacti/rra there are some files in there relating to local host but they have not been updated since 4pm ish today

drwxrwxrwx 2 www-data www-data 4096 2012-02-28 17:51 3
-rw-r--r-- 1 www-data www-data 141488 2012-02-28 16:41 localhost_load_1min_5.rrd
-rw-r--r-- 1 www-data www-data 47840 2012-02-28 16:41 localhost_mem_buffers_3.rrd
-rw-r--r-- 1 www-data www-data 47840 2012-02-28 16:41 localhost_mem_swap_4.rrd
-rw-r--r-- 1 www-data www-data 47840 2012-02-28 16:41 localhost_proc_7.rrd
-rw-r--r-- 1 www-data www-data 47840 2012-02-28 16:41 localhost_users_6.rrd


What am I missing? Cacti seems to be telling me its working?

Thanks for your help.
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Cacti Version 0.8.7i on Ubuntu Server LTS

Post by noname »

1) Did you add poller.php to crontab?
2) BTW, I'll tell you in advance -- if you have installed Cacti 0.8.7i via apt-get, perhaps PIA is not included. I recommend to re-install Cacti from source if you want to use plugin later.
l33byt
Posts: 14
Joined: Wed Mar 24, 2010 9:47 am

Re: Cacti Version 0.8.7i on Ubuntu Server LTS

Post by l33byt »

I have this set to run every minute in my Cron list

php /usr/share/cacti/site/poller.php >/dev/null 2>/var/log/cacti/poller-error.log
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Cacti Version 0.8.7i on Ubuntu Server LTS

Post by noname »

Which user runs poller.php? (= Does that user have write permission to rra/ and log/ directory?)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests