Cacti dont Graph every 15 minutes in a hour
Moderators: Developers, Moderators
Cacti dont Graph every 15 minutes in a hour
Does anyone know why in my graphs every hour, 15 minutes dont have any graphs ?? I've tried a lot of things but still this problem.
- Attachments
-
- graph_image.php.png (34.15 KiB) Viewed 2601 times
How long does the poller thread run?
Hi
First off, I dont know much about cacti .. I'm just thinking about something I saw similar in NeDI. have you tried timing the poller thread. Does the poller thread run longer than 15min? If so it might cause some data corruption/loss.
You can probably time it by loggin or su'ing to the user, running the poller.php/cmd.php with the time command in front and see how long it takes to complete.
First off, I dont know much about cacti .. I'm just thinking about something I saw similar in NeDI. have you tried timing the poller thread. Does the poller thread run longer than 15min? If so it might cause some data corruption/loss.
You can probably time it by loggin or su'ing to the user, running the poller.php/cmd.php with the time command in front and see how long it takes to complete.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
What does your cacti log say? Is this on a VM?
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?
He is giving me erros like that !!
07/01/2008 09:07:49 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (681, 'traffic_in', '2008-07-01 09:07:30', '159805355')'
07/01/2008 09:07:49 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (680, 'traffic_out', '2008-07-01 09:07:30', '0')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (680, 'traffic_in', '2008-07-01 09:07:30', '0')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (679, 'traffic_out', '2008-07-01 09:07:30', '3993428178')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (679, 'traffic_in', '2008-07-01 09:07:30', '4051483468')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (674, 'traffic_in', '2008-07-01 09:07:30', '242243544')'
and
07/01/2008 09:08:18 AM - CMDPHP: Poller[0] Host[40] DS[865] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
07/01/2008 09:08:15 AM - CMDPHP: Poller[0] Host[35] DS[859] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
07/01/2008 09:08:15 AM - CMDPHP: Poller[0] Host[35] DS[859] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
07/01/2008 09:08:15 AM - POLLER: Poller[0] WARNING: Poller[0] Host[41] SNMP Time was not numeric
Any ideias ??
07/01/2008 09:07:49 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (681, 'traffic_in', '2008-07-01 09:07:30', '159805355')'
07/01/2008 09:07:49 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (680, 'traffic_out', '2008-07-01 09:07:30', '0')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (680, 'traffic_in', '2008-07-01 09:07:30', '0')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (679, 'traffic_out', '2008-07-01 09:07:30', '3993428178')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (679, 'traffic_in', '2008-07-01 09:07:30', '4051483468')'
07/01/2008 09:07:48 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1062', SQL:"insert into poller_output (local_data_id, rrd_name, time, output) values (674, 'traffic_in', '2008-07-01 09:07:30', '242243544')'
and
07/01/2008 09:08:18 AM - CMDPHP: Poller[0] Host[40] DS[865] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
07/01/2008 09:08:15 AM - CMDPHP: Poller[0] Host[35] DS[859] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
07/01/2008 09:08:15 AM - CMDPHP: Poller[0] Host[35] DS[859] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur
07/01/2008 09:08:15 AM - POLLER: Poller[0] WARNING: Poller[0] Host[41] SNMP Time was not numeric
Any ideias ??
- Attachments
-
- imagem.JPG (67.38 KiB) Viewed 2464 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Misc: Debug NaN's in your graphs
at http://docs.cacti.net/node/358
at http://docs.cacti.net/node/358
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
There errors are all about either a wandering clock, or dual cron's. I would guess that the guest machine has a large varying clock that is not being kept in check by VMWare or Xen, as often as it should be. You could force it using ntpdate in a 1 minute cron though.
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?
Who is online
Users browsing this forum: No registered users and 7 guests