Cacti graph gap
Moderators: Developers, Moderators
Cacti graph gap
Hy everybody,
I have a small problem with cacti that drives me crazy, sometimes and just sometimes the graph is emty, after a while it recovers by it self, and graphs again. It is annoying, it does this not for just 1 equipement but for all, ()diffrent from manufacturer)
I have tweaked the SNMP Timeout, SNMP Retries from General and Script and Script Server Timeout Value. And still no luck.
cacti.log file
03/13/2009 02:00:06 PM - SYSTEM STATS: Time:3.2478 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
03/13/2009 01:55:05 PM - SYSTEM STATS: Time:3.4648 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
03/13/2009 01:45:06 PM - SYSTEM STATS: Time:3.2464 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
03/13/2009 01:40:05 PM - SYSTEM STATS: Time:2.2634 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
what could it be?[/img]
I have a small problem with cacti that drives me crazy, sometimes and just sometimes the graph is emty, after a while it recovers by it self, and graphs again. It is annoying, it does this not for just 1 equipement but for all, ()diffrent from manufacturer)
I have tweaked the SNMP Timeout, SNMP Retries from General and Script and Script Server Timeout Value. And still no luck.
cacti.log file
03/13/2009 02:00:06 PM - SYSTEM STATS: Time:3.2478 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
03/13/2009 01:55:05 PM - SYSTEM STATS: Time:3.4648 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
03/13/2009 01:45:06 PM - SYSTEM STATS: Time:3.2464 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
03/13/2009 01:40:05 PM - SYSTEM STATS: Time:2.2634 Method:cmd.php Processes:1 Threads:N/A Hosts:4 HostsPerProcess:4 DataSources:47 RRDsProcessed:26
what could it be?[/img]
- Attachments
-
- gras.JPG (60.29 KiB) Viewed 12623 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Something to do with Cron. Are you running on a VM? If you cron the poller with the "-f" option, it will always run.
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:
Look at the table poller_item and the field rrd_next_step. Insure that it is a signed integer. Then reset it's values all to 0. Here's some sql.
TheWitness
Code: Select all
ALTER TABLE `poller_item` MODIFY COLUMN `rrd_next_step` MEDIUMINT(8) NOT NULL DEFAULT 0;
UPDATE poller_item SET rrd_next_step=0;
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:
I'm guessing mind you, that you are either on 0.8.7a/b and have not upgraded to 0.8.7c/d. In the earlier version, the field was unsigned, and the poller relies on the next step going negative. When its unsigned, instead of going negative, it underflows and get's real big. Then, it has to count down. So, it does not poll again for a while.
This may not be your problem however. You have to help me as I have no access to your system.
TheWitness
This may not be your problem however. You have to help me as I have no access to your system.
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?
Are you running on a VM?
Hi Witness, I'm having a small problem with gaps too ..
I have tweaked mysql and php and the OS, but nothing that made me sit up yet,
you mentioned,
Xen VM
Centos: 5.3
Cacti: 0.8.7d
Spine Poller:
ciao/Riaan
I have tweaked mysql and php and the OS, but nothing that made me sit up yet,
you mentioned,
I am running cacti on a VM, but the machine looks fine,Are you running on a VM?
Xen VM
Centos: 5.3
Cacti: 0.8.7d
Spine Poller:
Thank you for the help05/24/2009 02:19:29 AM - SYSTEM STATS: Time:27.9578 Method:spine Processes:50 Threads:15 Hosts:18 HostsPerProcess:1 DataSources:492 RRDsProcessed:227
ciao/Riaan
-
- Posts: 23
- Joined: Wed Apr 15, 2009 5:19 am
- Location: Amsterdam
Who is online
Users browsing this forum: No registered users and 1 guest