Gaps in Graphs since upgrading to v0.8.6b on FC2
Moderators: Developers, Moderators
Gaps in Graphs since upgrading to v0.8.6b on FC2
I've been noticing periodic gaps in my graphs (all graphs) since upgrading to version 0.8.6b from 0.8.5 of cacti using poller.php. However, 2 routers added after the upgrade are not producing the same gaps in graphs. Any ideas?
Also, my memory usage graphs for win2k3 servers using nsclient are no longer graphing at all after the upgrade.
In the log file:
WARNING: Result from CMD not valid. Partial Result: Memory usage: total:
Does the poll expect to only get numbers and therefore will choke on a response like:
Memory usage: total:5729.37 Mb - used: 704.92 Mb (12%) - free: 5024.45 Mb (88%)
total:5729.37 used:704.92
Which worked fine in version 0.8.5. I have output fields defined as 'used' and 'total'. As I said, it was working fine previous to the upgrade.
Cacti running on FC2, php 4.4.3, apache 2.0, mysql 4.0.21
EDIT: I've just added the prepatched files from http://www.cacti.net/downloads/patches/ ... e-patched/. I'll let everyone know if that fixes it.
EDIT2: Doesn't seem to have fixed the gaps from occuring.
Also, my memory usage graphs for win2k3 servers using nsclient are no longer graphing at all after the upgrade.
In the log file:
WARNING: Result from CMD not valid. Partial Result: Memory usage: total:
Does the poll expect to only get numbers and therefore will choke on a response like:
Memory usage: total:5729.37 Mb - used: 704.92 Mb (12%) - free: 5024.45 Mb (88%)
total:5729.37 used:704.92
Which worked fine in version 0.8.5. I have output fields defined as 'used' and 'total'. As I said, it was working fine previous to the upgrade.
Cacti running on FC2, php 4.4.3, apache 2.0, mysql 4.0.21
EDIT: I've just added the prepatched files from http://www.cacti.net/downloads/patches/ ... e-patched/. I'll let everyone know if that fixes it.
EDIT2: Doesn't seem to have fixed the gaps from occuring.
Last edited by _JPL_ on Tue Nov 30, 2004 2:39 pm, edited 1 time in total.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
__JPL__,
Based upon your findings, you can disregard my other post. Yes, Cacti 0.8.6x is very persnikety in parsing output. It wants the data to be purely numeric in the VariableA:ValueA VariableB:ValueB. This was done intentionally.
TheWitness
Based upon your findings, you can disregard my other post. Yes, Cacti 0.8.6x is very persnikety in parsing output. It wants the data to be purely numeric in the VariableA:ValueA VariableB:ValueB. This was done intentionally.
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?
Any idea about the gaps? Are there any problems with caching that you might be aware of? I'm seeing a lot of the following errors in my log file:
12/01/2004 01:56:09 PM - CMDPHP: Poller[0] ASSERT: '90991220<90991220' failed. Recaching host '10.13.100.115', data query #8.
The data query number varies as do the hosts.
In the images below you can see what I mean by 'Gaps'. Also note that I did the upgrade on Thursday and that's when it started. (2nd image)
The next thing I need to do is match up the gap times with any suspicious errors from the same time.
12/01/2004 01:56:09 PM - CMDPHP: Poller[0] ASSERT: '90991220<90991220' failed. Recaching host '10.13.100.115', data query #8.
The data query number varies as do the hosts.
In the images below you can see what I mean by 'Gaps'. Also note that I did the upgrade on Thursday and that's when it started. (2nd image)
The next thing I need to do is match up the gap times with any suspicious errors from the same time.
- Attachments
-
- IMage2.png (3.7 KiB) Viewed 5222 times
-
- image1.png (4.08 KiB) Viewed 5222 times
i've got exactly the same problem. Using 0.8.6.b with upgrade (pre 8.6.c) under fedora core 2. Only strange thing i found is :
POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting
from times to times in my cacti log. everytime i launched ot by hand it last about 2 seconds, but it seems that when cron is working it "sometimes" hangs. For info, i've got similar gaps in all my graph for my computer, but not exactly the same. You can have a look at http://bired.valholl.org/cacti/ loggin as guest password castor
just wondering if someone with anything else than fedoracore2 got the same trouble....
POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting
from times to times in my cacti log. everytime i launched ot by hand it last about 2 seconds, but it seems that when cron is working it "sometimes" hangs. For info, i've got similar gaps in all my graph for my computer, but not exactly the same. You can have a look at http://bired.valholl.org/cacti/ loggin as guest password castor
just wondering if someone with anything else than fedoracore2 got the same trouble....
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Yes, poorly designed scripts can do nasty things to the system.
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:
Castor,
Logged onto your site. I have some questions. I am seeing a problem with your system in general. I need to get some information from you on your system. Unfortunately, I am in the eastern us. It looks like the 0.8.6c will need some more work. I am not certain what is happening with the poller though.
Questions:
cmd.php or cactid?
What version of Apache?
What version of PHP?
What version of RRD?
What version of MySQL?
What version of net/ucd SNMP?
Thanks in Advance.
TheWitness
Logged onto your site. I have some questions. I am seeing a problem with your system in general. I need to get some information from you on your system. Unfortunately, I am in the eastern us. It looks like the 0.8.6c will need some more work. I am not certain what is happening with the poller though.
Questions:
cmd.php or cactid?
What version of Apache?
What version of PHP?
What version of RRD?
What version of MySQL?
What version of net/ucd SNMP?
Thanks in Advance.
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?
atm i'm using cmd.php but i already tried vith cactid (the rpm version anyway), it does the same..
httpd-2.0.51-2.9
php-4.3.8-2.1
rrdtool-1.0.49-1.1.fc2.fr
mysql-3.23.58-9
php-mysql-4.3.8-2.1
net-snmp-5.1.1-2
i must also say hat i'm not 100% sure that i'm not using ucd-snmp, i can't find it by rpm -qa, but my snmpd.cond contained the word ucd the first time i looked at it. I'll try to find more about that today and let you know. is it possible that saying to cacti that i'm using netsnmp and using ucd-snmp make those gaps in my graph ?
httpd-2.0.51-2.9
php-4.3.8-2.1
rrdtool-1.0.49-1.1.fc2.fr
mysql-3.23.58-9
php-mysql-4.3.8-2.1
net-snmp-5.1.1-2
i must also say hat i'm not 100% sure that i'm not using ucd-snmp, i can't find it by rpm -qa, but my snmpd.cond contained the word ucd the first time i looked at it. I'll try to find more about that today and let you know. is it possible that saying to cacti that i'm using netsnmp and using ucd-snmp make those gaps in my graph ?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Cactor,
Please send me a dump of your database and also, please run the poller in DEBUG mode one time and send me the log file.
E-mail address is larryjadams@comcast.net
TheWitness
Please send me a dump of your database and also, please run the poller in DEBUG mode one time and send me the log file.
E-mail address is larryjadams@comcast.net
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?
We are also experiencing gaps in our graphs on a system running core1, 8.6b, php-4.3.9 & RRDtool-1.0.49. I have debug turned full blast and have noticed one significant difference between the polling cycles that work properly and those that produce gaps. The cycles that work ok produce the following two log entry, failed cycles do not:
12/02/2004 12:55:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS:
-q /var/www/html/cacti/cmd.php 0 0]
12/02/2004 12:55:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS:
-q /var/www/html/cacti/cmd.php 2 2]
I'm not sure why this process is run twice as only one parameter being polled. Then again, there is alot I don't know about this system yet (newbie). Any idea's on this update process is not being run some of the time?
12/02/2004 12:55:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS:
-q /var/www/html/cacti/cmd.php 0 0]
12/02/2004 12:55:01 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS:
-q /var/www/html/cacti/cmd.php 2 2]
I'm not sure why this process is run twice as only one parameter being polled. Then again, there is alot I don't know about this system yet (newbie). Any idea's on this update process is not being run some of the time?
I've just switched to cactid v0.8.6c to see if it makes any difference at all.
EDIT: It did not make the difference I was looking for. The graphs stopped graphing completely. SO i ran poller.php manually just to jumpstart it and got this error eventually:
12/02/2004 03:24:28 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
I found where I need to change that number in poller.php up to 1000. Perhaps this was the problem all along? Nope, it wasn't. The next time I ran it, it was back to normal. Probably a better idea to leave that setting at 300 so you know when it's time to tweak other settings.
EDIT: It did not make the difference I was looking for. The graphs stopped graphing completely. SO i ran poller.php manually just to jumpstart it and got this error eventually:
12/02/2004 03:24:28 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
I found where I need to change that number in poller.php up to 1000. Perhaps this was the problem all along? Nope, it wasn't. The next time I ran it, it was back to normal. Probably a better idea to leave that setting at 300 so you know when it's time to tweak other settings.
Last edited by _JPL_ on Thu Dec 02, 2004 6:03 pm, edited 1 time in total.
i searched a bit but did not found how to run cacti in debug mode, only place where i found that is for graph. WHat's more i have no clue on how do dumb you the database, can you give me a link where i can find the explanations ?
one more detail as i'm thinking about it is that is runnig a smp (dual processor) kernel...
one more detail as i'm thinking about it is that is runnig a smp (dual processor) kernel...
Who is online
Users browsing this forum: No registered users and 1 guest