Probleme cacti - graph

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

Moderators: Developers, Moderators

Post Reply
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Probleme cacti - graph

Post by LiloBZH »

Hello

First, sorry for my english, i'm french ^^

Linux => Ubuntu
cacti => http://www.lilobzh.com/cacti/ (guest - guest)
cacti version => Version 0.8.6f
poller type => cactid
Ping type => ICMP Ping

Some screenshots :

Image

Image

Image


Help ^^

Thanks
mshook
Posts: 46
Joined: Mon May 02, 2005 3:33 pm
Location: New York, NY

Re: Probleme cacti - graph

Post by mshook »

LiloBZH wrote:Hello

First, sorry for my english, i'm french ^^
What's your question?
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Post by LiloBZH »

^^

why we can read :

CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '30-traffic_out-2006-01-02 15:05:02' for key 1

POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.


Why the ping is like that.
mshook
Posts: 46
Joined: Mon May 02, 2005 3:33 pm
Location: New York, NY

Post by mshook »

LiloBZH wrote:why we can read :

CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '30-traffic_out-2006-01-02 15:05:02' for key 1

POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.


Why the ping is like that.
Looks like you have some kind of database problem here (the duplicate entries are not expected). How did you install cacti?

Can you try to drop the whole database (as you have only 2 hosts) and recreate it?
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Post by LiloBZH »

I had install CACTI with Ubuntu package ( automatic )

I can drop the DB but how recreate it after ?
mshook
Posts: 46
Joined: Mon May 02, 2005 3:33 pm
Location: New York, NY

Post by mshook »

LiloBZH wrote:I had install CACTI with Ubuntu package ( automatic )

I can drop the DB but how recreate it after ?
Go to www.cacti.net and read the installation manual. Not sure what the ubuntu package did (or what you did afterwards) but obviously something went wrong.
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Post by LiloBZH »

i'm reinstalling the DB
mshook
Posts: 46
Joined: Mon May 02, 2005 3:33 pm
Location: New York, NY

Post by mshook »

LiloBZH wrote:i'm reinstalling the DB
Ok, keep us posted.
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Post by LiloBZH »

01/02/2006 03:44:59 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/02/2006 03:44:59 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/02/2006 03:40:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '30-traffic_out-2006-01-02 15:40:02' for key 1
01/02/2006 03:40:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '30-traffic_in-2006-01-02 15:40:02' for key 1
01/02/2006 03:40:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '28-ping-2006-01-02 15:40:02' for key 1
01/02/2006 03:40:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '26--2006-01-02 15:40:02' for key 1
01/02/2006 03:40:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '15-ping-2006-01-02 15:40:02' for key 1
01/02/2006 03:40:04 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '6-users-2006-01-02 15:40:02' for key 1
01/02/2006 03:40:03 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '4-mem_swap-2006-01-02 15:40:02' for key 1
01/02/2006 03:40:03 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '3-mem_buffers-2006-01-02 15:40:02' for key 1
01/02/2006 03:40:03 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '5--2006-01-02 15:40:02' for key 1
01/02/2006 03:34:59 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/02/2006 03:34:58 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
01/02/2006 03:30:03 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '6-users-2006-01-02 15:30:02' for key 1
01/02/2006 03:30:02 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '4-mem_swap-2006-01-02 15:30:02' for key 1
01/02/2006 03:30:02 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '3-mem_buffers-2006-01-02 15:30:02' for key 1
01/02/2006 03:30:02 PM - CACTID: Poller[0] ERROR: Problem with MySQL: Duplicate entry '5--2006-01-02 15:30:02' for key 1



:(

i dont understand, Its like CRON call twice the POLLER
mshook
Posts: 46
Joined: Mon May 02, 2005 3:33 pm
Location: New York, NY

Post by mshook »

LiloBZH wrote:i dont understand, Its like CRON call twice the POLLER
Looking at your cron entries, make sure the cactid entry is disabled: otherwise you'll end up calling poller.php and cactid.
If that's the case remove cactid and set the poller to cactid under settings->poller (in the gui).
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

LiloBZH wrote:i dont understand, Its like CRON call twice the POLLER
This is a known issue especially with rpm installs. cacti rpm install brings /etc/cron.d/cacti with the polle rbeing started every 5 mins. And if you followed the instruction manual (surely you did so!), now you will have two pollers. That produces the duplicated entries and the 296 sec problem. Serach ALL of your crontabs and stick with only one poller
Reinhard
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Post by LiloBZH »

yes !

i delete the command with WEBMIN (cron in /var/spool/crontab/ )

Now the poller is call but i dont find the good file with the command
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Post by LiloBZH »

I find the command in :

/etc/cron.d/cacti

I m testing that after delete the command
LiloBZH
Posts: 14
Joined: Mon Jan 02, 2006 8:46 am

Post by LiloBZH »

perfect

thanks a lot :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests