Cacti doesn't work !

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

Moderators: Developers, Moderators

Post Reply
coulou59
Posts: 6
Joined: Mon Jul 09, 2007 5:40 am

Cacti doesn't work !

Post by coulou59 »

Hello all,

My Cacti machine is on a Linux Fedora Core 2.
All it was good until 2 weeks...

All my graphs are empty however snmpd is turning on.

I don't know what look in first.

Can you help me :wink:
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

Try the following:

empty your cacti.log file
<cacti>/logs/cacti.log

check your iptables, perhaps they have changed

check network connectivity/routing between cacti server & monitored hosts
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
coulou59
Posts: 6
Joined: Mon Jul 09, 2007 5:40 am

Post by coulou59 »

I've deleted the cacti.log file, and it doesn't work yet.

My iptables is empty.

My cacti server can access with all my devices.

I put some new lines below with differents messages:

Code: Select all

07/09/2007 05:25:02 PM - CMDPHP: Poller[0] Host[13] DS[299] WARNING: Result fro\
m SNMP not valid.  Partial Result: No Such Instance cur

07/09/2007 05:25:23 PM - CMDPHP: Poller[0] Host[54] DS[845] WARNING: Result fro\
m SNMP not valid.  Partial Result: No Such Object avail

07/09/2007 05:25:38 PM - CMDPHP: Poller[0] Host[80] DS[1086] WARNING: Result fr\
om CMD not valid.  Partial Result: TotalMessagesAssigne
07/09/2007 05:25:39 PM - SYSTEM STATS: Time:37.6307 Method:cmd.php Processes:1 \
Threads:N/A Hosts:66 HostsPerProcess:66 DataSources:1313 RRDsProcessed:744
07/09/2007 05:25:39 PM - PCOMMAND: Poller[0] Host[1] WARNING: Recache Event Det\
ected for Host
07/09/2007 05:25:39 PM - RECACHE STATS: RecacheTime:0.3408 HostsRecached:1
thanks for your help.
coulou59
Posts: 6
Joined: Mon Jul 09, 2007 5:40 am

Post by coulou59 »

for information, my Cacti version is 0.8.6h.
Before few days, all it was good...

I'm thinking to reinstall the lastest version.
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Do the following:

mysql cacti
> select count(*) from poller_output;
> quit;

If the count comes back high, do the following:

1) Increase PHP memory to 256MBytes in /etc/php.ini
2) Download this file: http://svn.cacti.net/cgi-bin/viewcvs.cg ... p?rev=4005 and place it in you Cacti web root and run it. it will take a while, but will fix the issue.

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?
coulou59
Posts: 6
Joined: Mon Jul 09, 2007 5:40 am

Post by coulou59 »

I give you the result about the SQL requete :

Code: Select all

mysql> SELECT count(*) FROM poller_output;
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.00 sec)
Is it normal, that this counter is empty ?


I've forced the memory in php.ini at 64M

Code: Select all

memory_limit = 64M      ; Maximum amount of memory a script may consume (8MB)
There is no amelioration :roll:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

coulou59 wrote:I give you the result about the SQL requete :

Code: Select all

mysql> SELECT count(*) FROM poller_output;
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.00 sec)
Is it normal, that this counter is empty ?
Yes.

I've forced the memory in php.ini at 64M

Code: Select all

memory_limit = 64M      ; Maximum amount of memory a script may consume (8MB)
There is no amelioration :roll:
What about the hints from Larry?
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest