I have a fairly large cacti deployment and everything is working well. I have a huge problem with the CPU Usage graph on my BSD machines.
It is not even close to what top is reporting. My graphs will show 100% usage when the system is only at 30% CPU.
Trying to troubleshoot this has me thumbing through articles like...
http://silent-ion.blogspot.com/2008/03/freebsd-top.html
Linux machines are reporting perfectly. So does anyone have a two cent answer to explain what is going on? I have this issue across free bsd 6 &7 systems
Thanks.
FREE BSD CPU not correct values...
Moderators: Developers, Moderators
What are you using to monitor CPU? I haven't checked out any of the scripts but I do observe that CPU usage via top is quite dynamic from second to second and and any series of 5 minute readings could be quite meaningless. Just wherever it happened to catch it.
The load average (1min 5min 15min) using the stock script (loadavg_multi.pl) might be a better choice. It works quite well, matches top and uptime and looks quite striking in it's multi-color display,
The load average (1min 5min 15min) using the stock script (loadavg_multi.pl) might be a better choice. It works quite well, matches top and uptime and looks quite striking in it's multi-color display,
-
- Posts: 44
- Joined: Thu Jul 10, 2008 4:46 pm
A little off topic but what did you do to get cacti working under freebsd? I've had much sucess with it under Linux distro's, but have been unsucessfull with FreeBSD7. Maybe you can PM with anything specific you mightve done? I've tried 2 ways to install cacti, from ports, and from sources for everything needed. No matter what, end result is the same, the poller never runs via cron.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Works for me, from ports or hand-installed.cdgtcc wrote:A little off topic but what did you do to get cacti working under freebsd? I've had much sucess with it under Linux distro's, but have been unsucessfull with FreeBSD7. Maybe you can PM with anything specific you mightve done? I've tried 2 ways to install cacti, from ports, and from sources for everything needed. No matter what, end result is the same, the poller never runs via cron.
Do you put the full path to php in the cron entry? /usr/local/bin isn't in cron's PATH by default, I don't think...
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
FreeBSD installation from ports was fairly straightforward. Your problem may be with permissions but you can get a lot of information in the log by turning on DEBUG for one interval.
Also su to your cactiuser and run the entry in crontab from the command line without the redirection and see what you can learn from the output. You may have to vipw your cactiuser first.
Also su to your cactiuser and run the entry in crontab from the command line without the redirection and see what you can learn from the output. You may have to vipw your cactiuser first.
Who is online
Users browsing this forum: No registered users and 0 guests