cacti: device unknow

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

Moderators: Developers, Moderators

Post Reply
freeman43
Posts: 7
Joined: Thu Nov 13, 2008 6:07 am

cacti: device unknow

Post by freeman43 »

hye,

I'm sorry for my english language because I'm a french user.

When i go in the devices section my localhost server has in unknown status.so when i click in the edit graph for exemple a message has here.

/var/www/cacti/rra/localhost_proc_7.rrd has not create.

For resolved this probleme, i have manuel create this file and when i go in the edit graph a new message has here:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Localhost - Processes" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="processes" \
--slope-mode \
DEF:a="/var/www/cacti/rra/localhost_proc_7.rrd":proc:AVERAGE \
AREA:a#F51D30:"Running Processes" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf"

RRDTool Says:

ERROR: reading the cookie off /var/www/cacti/rra/localhost_proc_7.rrd faild

My localhost has in unknown status.

so where i put resolved this problemes please.
freeman43
Posts: 7
Joined: Thu Nov 13, 2008 6:07 am

Post by freeman43 »

I,

For resolve this problems, I have uninstall cacti and mysql and réinstall.
So mow i have a new problems.When i go in http://localhost/cacti/install i whant to downloads the file and i don't go to the install page.

What?

Please help my.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This sound like a problem setting up php support with apache. See e.g. http://docs.cacti.net/?q=node/444
Reinhard
freeman43
Posts: 7
Joined: Thu Nov 13, 2008 6:07 am

Post by freeman43 »

I have a successful for connected at the cacti console, But i have already problems fo the my localhost where the status are unknown.

Please help me.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Did you set up the crontab to make cacti poll the devices?
Reinhard
freeman43
Posts: 7
Joined: Thu Nov 13, 2008 6:07 am

Post by freeman43 »

for the crontrab i have put this ligne:

0-59/5 * * * * www-data php4 /usr/share/cacti/poller.php > /dev/null 2>&1
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Again, which was the OS? The crontab entry is a bit uncommon to me. The docs look different
Reinhard
freeman43
Posts: 7
Joined: Thu Nov 13, 2008 6:07 am

Post by freeman43 »

my OS is Debian ETCH and my cmplete contrab is:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user command
17 * * * * root cd / && run-parts --report /etc/cron.hourly
25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
0-59/5 * * * * www-data php4 /usr/share/cacti/site/poller.php > /dev/null 2>&1
#
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest