Gaps in Graphs since upgrading to v0.8.6b on FC2
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Here is the picture of "Settings" showing debug.
- Attachments
-
- Here.
- ExampleOfDebug.JPG (185.67 KiB) Viewed 3289 times
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?
THE SOLUTION TO MY PROBLEM:
Installing the FC2 rpm created a second cron entry and a second user for running cacti called 'cacti'. When the 2 cron entries overlapped their runtime it produced gaps in the graphs. I removed the user and cron entry created by the FC2 rpm and now all is working right again.
Installing the FC2 rpm created a second cron entry and a second user for running cacti called 'cacti'. When the 2 cron entries overlapped their runtime it produced gaps in the graphs. I removed the user and cron entry created by the FC2 rpm and now all is working right again.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
I was just speculating that last night with Ian......
Glad that was it.
Glad that was it.
[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]
seems like it was the same thing here :p
greets !!!
anyway i did'nt found where the cron task by cacti user is configured, but i disabled the one i put myself in /etc/crontab and it seems to wrok nice for the moment.
i have a question about the cacti user, why is it configured with a /bin/bash shell rather than /sbin/nologin ?
greets !!!
anyway i did'nt found where the cron task by cacti user is configured, but i disabled the one i put myself in /etc/crontab and it seems to wrok nice for the moment.
i have a question about the cacti user, why is it configured with a /bin/bash shell rather than /sbin/nologin ?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
You could also just do a
as root and edit the users crontab to run it.
Code: Select all
crontab -e -u cactiuser
[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]
Newbie
rony / _JPL_,
I believe I have a related problem.
Being new to Linux could you let me know how to check if I have two cacti users (also run FC2 installed from rpm) ?
I have one 'cacti' entry in my /etc/cron.d/ folder.
_JPL_ is this the cron entry I should remove ?
Should I do that by using rony's code ?
Further to this _JPL_ you mention actually removing the user as well. What is the best way to do this ?
Cheers from the South Pacific.
DM
I believe I have a related problem.
Being new to Linux could you let me know how to check if I have two cacti users (also run FC2 installed from rpm) ?
I have one 'cacti' entry in my /etc/cron.d/ folder.
_JPL_ is this the cron entry I should remove ?
Should I do that by using rony's code ?
Code: Select all
crontab -e -u cacti
Cheers from the South Pacific.
DM
Many thanks
_JPL_ many thanks for that - unfortunately I've only got one Cacti user.
Cheers for the post - I'll keep looking.
DM
Cheers for the post - I'll keep looking.
DM
Gaps in all graphs
I seem to be having the same problem as _JPL_ and Castor. Like Castor I have entries in my log stating that the poller exceeded the 293 second limit, but when I run it by hand it only takes about 7 seconds. I'm not using cactid.
The gaps in my graphs are very frequent, about 2-4 each hour, honestly, they look like barcodes )
I'm running 0.8.6b with rrdtool 1.0.37 and NET-SNMP 5.0.1 on Slackware 8.1.
This seems to happen to all my graphs but one, which is local (linux) memory usage. The other graphs are mostly generated from snmp data, except one which is from a local script on the cacti host. That graph also has gaps in it.
The other hosts that I am polling are two Windows 2000 server machines, two Netware servers and two Linux machines. The linux machines are running NET-SNMP 5.2
I'm attaching some of my log file, after I turned on debugging, this happens for the run at 10:50 on 12/17/2004 (see note).
Arnar
note: a thought: maybe ISO Y-M-D date format would be better for log files rather than the US-specific M/D/Y.
The gaps in my graphs are very frequent, about 2-4 each hour, honestly, they look like barcodes )
I'm running 0.8.6b with rrdtool 1.0.37 and NET-SNMP 5.0.1 on Slackware 8.1.
This seems to happen to all my graphs but one, which is local (linux) memory usage. The other graphs are mostly generated from snmp data, except one which is from a local script on the cacti host. That graph also has gaps in it.
The other hosts that I am polling are two Windows 2000 server machines, two Netware servers and two Linux machines. The linux machines are running NET-SNMP 5.2
I'm attaching some of my log file, after I turned on debugging, this happens for the run at 10:50 on 12/17/2004 (see note).
Arnar
note: a thought: maybe ISO Y-M-D date format would be better for log files rather than the US-specific M/D/Y.
- Attachments
-
- cacti.log.txt
- (170.18 KiB) Downloaded 388 times
I forgot..
I forgot to tell you that I already checked my crontabs and I have only one user (nobody) running poller.php each 5 minutes.
thanks,
Arnar
thanks,
Arnar
i'm having the same problem guys.
cacti -> cacti-0.8.6c/
not an rpm package, ( i use tarballs)
PHP 4.3.10
rrdtool-1.0.49
NET-SNMP version: 5.1.1
the gaps i'm seeing are ONLY on interface graphs for bits per sec + total bw, and is happeneing on cisco routers, located far from my poller ( asia or south american primarily or the ones gaping)
bluecoat proxy is not gaping, other weird snmp queries done by hand arent gaping, scripts arent gaping.
cacti -> cacti-0.8.6c/
not an rpm package, ( i use tarballs)
PHP 4.3.10
rrdtool-1.0.49
NET-SNMP version: 5.1.1
the gaps i'm seeing are ONLY on interface graphs for bits per sec + total bw, and is happeneing on cisco routers, located far from my poller ( asia or south american primarily or the ones gaping)
bluecoat proxy is not gaping, other weird snmp queries done by hand arent gaping, scripts arent gaping.
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Morgan,
Try increasing the snmp timeout for that host or the global one. If I remember correctly it is less than previous version or it accually being enforced now. But Larry (TheWitness) can answer more accuratly than I can.
Try increasing the snmp timeout for that host or the global one. If I remember correctly it is less than previous version or it accually being enforced now. But Larry (TheWitness) can answer more accuratly than I can.
[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]
Who is online
Users browsing this forum: No registered users and 1 guest