Help! Graph stop plotting after a few days

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

Moderators: Developers, Moderators

Post Reply
sony_quek
Posts: 21
Joined: Wed Jul 05, 2006 10:05 pm

Help! Graph stop plotting after a few days

Post by sony_quek »

HI,

Graph stop plotting after a few days. What to check out for?? httpd and mysqld services have been started.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Sorry for the delay in responding. Your php environment may have run out of memory. The best thing to do there is open a sql window and run the following query:

select count(*) from poller_output;

If it comes back large, you should first increase your php maximum memory, and then run the following command from the mysql console:

truncate table poller_output;

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?
sony_quek
Posts: 21
Joined: Wed Jul 05, 2006 10:05 pm

Post by sony_quek »

The poller_ouput=0 when i run the command which you have given.

Any idea how to solve the graphing issue.

Thanks
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Have you run the poller by hand? You should do that. From the command line "php poller.php", "php <path_cacti>/cmd.php".

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?
sony_quek
Posts: 21
Joined: Wed Jul 05, 2006 10:05 pm

Post by sony_quek »

hw do u go abt doing that?? dont' very sure abt the steps? pls advice
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Setting Log Level:
1) Login to the Cacti web site
2) Goto Settings
3) From the General tab, select Medium as you logging level.
4) Select "Save"

Running Poller:
1) Open a shell
2) cd to the cacti directory
3) run "php <path_cacti>/cmd.php" to see the poller output
4) run "php poller.php" to see rrd messages and results

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?
sony_quek
Posts: 21
Joined: Wed Jul 05, 2006 10:05 pm

Post by sony_quek »

Hi,

I get the following results when I run the command:

root@cacti# php poller.php
......
waiting on 1/1 pollers.
waiting on 1/1 pollers.
waiting on 1/1 pollers.
waiting on 1/1 pollers.

I have increase the memory_limit of php.ini to 128MB. Correct me if I had edited the wrong path.

As for the command of php <path_cacti>/cmd.php the following are the results:

root@cacti# No input file specified.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Moved to General
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
sony_quek
Posts: 21
Joined: Wed Jul 05, 2006 10:05 pm

Post by sony_quek »

Hi,

I have recreated some network switches for the graph plotting. However, it seems that cacti cannot recognise the new machine. I have enable the debug program it prompt me that:

RRDTool Says:

Error: opening '...................rrd'" No such file or directory

Please help
pikes
Posts: 12
Joined: Fri Jun 30, 2006 2:14 pm

Post by pikes »

sony_quek wrote:Hi,

I have recreated some network switches for the graph plotting. However, it seems that cacti cannot recognise the new machine. I have enable the debug program it prompt me that:

RRDTool Says:

Error: opening '...................rrd'" No such file or directory

Please help
That "no such file or directory" when referring to an RRD file means that you aren't polling. As soon as you successfully poll, it will create the RRD file. I can't help you with the waiting on 1/1 pollers error though...
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests