Help! Graph stop plotting after a few days
Moderators: Developers, Moderators
Help! Graph stop plotting after a few days
HI,
Graph stop plotting after a few days. What to check out for?? httpd and mysqld services have been started.
Graph stop plotting after a few days. What to check out for?? httpd and mysqld services have been started.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Have you run the poller by hand? You should do that. From the command line "php poller.php", "php <path_cacti>/cmd.php".
TheWitness
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
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.
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.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
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]
[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]
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...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
Who is online
Users browsing this forum: No registered users and 1 guest