Cacti
What Commands to restart cacti ?please. Kunle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cacti
On 03/12/2012 12:28 PM, Olafiranye Olakunle wrote: What Commands to restart cacti ?please. Kunle ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org There is no command to restart cacti. Data is gathered by the script poller.php which runs as a cronjob and the interface to cacti graphs is available via apache webserver. Maybe you want to restart apache? apachectl (re)start or /usr/local/etc/rc.d/apache22 (re)start this is for apache 2.2.x Kind regards Disclaimer: http://www.ose.nl/email ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cacti
Olafiranye Olakunle wrote: What Commands to restart cacti ?please. Kunle You are too lazy to deserve help from that ! We are not mind readers, so work harder ! State what uname -a reports State what version of cacti you use. State if you read any/which docs. with package FreeBSD supports 23,000+ packages Something called cacti does seem to be there grep -i cacti /usr/ports/INDEX* yet Ive never heard of it, prob many others here too. FreeBSD supports about 80 or so mail lists, http://lists.freebsd.org/mailman/listinfo/ Select the list you decide most appropriate (eg freebsd-net@ maybe ? ) Then repost your request for help there, with sufficient info that people can help you. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: need help; cacti fails to build on 7.2-R, p4....
On Thu, Nov 26, 2009 at 10:26:42AM +0530, Vaibhav Gavane wrote: Upgrade x11/libxcb YEs, exactly right. (ALong with portupgrade and other build/fix tools.) thanks much, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
need help; cacti fails to build on 7.2-R, p4....
Can anybody clue me in why cacti isn't building? I obv'ly see the stderr's, but want to know What now This is after the 3D screen stuff. checking whether to build static libraries... yes checking for vasprintf... yes checking for ssize_t... yes checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XCB... configure: error: Package requirements (xcb = 1.4) were not met: Requested 'xcb = 1.4' but version of XCB is 1.2 Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XCB_CFLAGS and XCB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. === Script configure failed unexpectedly. Please report the problem to ntar...@cs.uoi.gr [maintainer] and attach the /usr/ports/x11/xcb-util/work/xcb-util-0.3.6/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/x11/xcb-util. *** Error code 1 Stop in /usr/ports/graphics/cairo. *** Error code 1 Stop in /usr/ports/graphics/cairo. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/net-mgmt/cacti. r...@ethic:/usr/ports/net-mgmt/cacti# -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Misfortune doesn't improve anyone. That is a fable to reassure the afflicted. A life of hardship humiliates man and forces him to expend all his energy on resisting its deadly pressure. If a man comes out of it improved, it only means that he has spent an enormous amount of energy on improving in spite of everything. Just think what he might have done without that pressure. --Jiri Mucha, *Living and Partly Living* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SAME: Re: need help; cacti fails to build on 7.2-R, p4....
On Wed, Nov 25, 2009 at 04:08:07PM -0800, Gary Kline wrote: Can anybody clue me in why cacti isn't building? I obv'ly see the stderr's, but want to know What now This is after the 3D screen stuff. checking whether to build static libraries... yes checking for vasprintf... yes checking for ssize_t... yes checking for pkg-config... /usr/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XCB... configure: error: Package requirements (xcb = 1.4) were not met: Requested 'xcb = 1.4' but version of XCB is 1.2 Well, I just fixed this, but rebuilding cacti still fails Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XCB_CFLAGS and XCB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. tHIS I doesn't understand. Maybe it's time for a portupgrade on my brand new system.. This stuff is the biggest turnoff with FBSD. In fat, it's the only one, since server are supposed to be workhorses. (*) === Script configure failed unexpectedly. Please report the problem to ntar...@cs.uoi.gr [maintainer] and attach the /usr/ports/x11/xcb-util/work/xcb-util-0.3.6/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/x11/xcb-util. *** Error code 1 Stop in /usr/ports/graphics/cairo. *** Error code 1 Stop in /usr/ports/graphics/cairo. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/databases/rrdtool. *** Error code 1 Stop in /usr/ports/net-mgmt/cacti. r...@ethic:/usr/ports/net-mgmt/cacti# -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Misfortune doesn't improve anyone. That is a fable to reassure the afflicted. A life of hardship humiliates man and forces him to expend all his energy on resisting its deadly pressure. If a man comes out of it improved, it only means that he has spent an enormous amount of energy on improving in spite of everything. Just think what he might have done without that pressure. --Jiri Mucha, *Living and Partly Living* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Misfortune doesn't improve anyone. That is a fable to reassure the afflicted. A life of hardship humiliates man and forces him to expend all his energy on resisting its deadly pressure. If a man comes out of it improved, it only means that he has spent an enormous amount of energy on improving in spite of everything. Just think what he might have done without that pressure. --Jiri Mucha, *Living and Partly Living* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: need help; cacti fails to build on 7.2-R, p4....
Upgrade x11/libxcb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SAME: Re: need help; cacti fails to build on 7.2-R, p4....
On Thu, Nov 26, 2009 at 9:31 AM, Gary Kline kl...@thought.org wrote: tHIS I doesn't understand. Maybe it's time for a portupgrade on my brand new system.. This stuff is the biggest turnoff with FBSD. In fat, it's the only one, since server are supposed to be workhorses. If you were installing cacti for the first time, i.e. with portinstall, then according to the manual, the dependencies should have been automatically upgraded. Either your ports tree itself was out of date or there is something wrong with portupgrade. If you suspect the latter, consider giving portmaster a try. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.0-Stable Crashed with Cacti
Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0.2% user, 0.0% nice, 1.5% system, 0.0% interrupt, 98.3% idle Mem: 736M Active, 125M Inact, 127M Wired, 300K Cache, 111M Buf, 3776K Free Swap: 2014M Total, 2014M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1054 root1 760 118M 94916K pfault 1 0:07 0.00% php 1382 root1 760 110M 87224K pfault 1 0:07 0.00% php 1740 root1 760 103M 75576K pfault 0 0:06 0.00% php 2120 root1 760 97160K 74056K pfault 1 0:06 0.00% php 2451 root1 760 91016K 79316K pfault 1 0:05 0.00% php 2818 root1 760 83848K 72324K pfault 1 0:05 0.00% php 3147 root1 760 76680K 64856K pfault 1 0:04 0.00% php 3511 root1 760 69512K 57836K pfault 1 0:04 0.00% php 3823 root1 760 62344K 50880K pfault 1 0:03 0.00% php 4170 root1 760 55176K 43568K pfault 0 0:03 0.00% php 4513 root1 760 48008K 36480K pfault 1 0:02 0.00% php 4847 root1 760 40840K 29452K pfault 1 0:02 0.00% php 5180 root1 760 33672K 22664K pfault 0 0:01 0.00% php 5810 root1 -8 19 11696K 9344K piperd 1 0:01 0.00% perl 5534 root1 760 26504K 15612K pfault 0 0:01 0.00% php 5811 root1 -8 19 11876K 9488K piperd 1 0:01 0.00% perl 5812 root1 -8 19 11676K 9304K piperd 1 0:01 0.00% perl 1651 root1 440 8400K 2440K select 1 0:01 0.00% sshd 839 root1 440 21536K 9152K select 0 0:00 0.00% httpd 747 root1 440 7372K 4996K select 0 0:00 0.00% perl 658 root1 440 8808K 4096K select 1 0:00 0.00% snmpd 5814 root1 760 10588K 4016K pfault 1 0:00 0.00% php 1655 root1 80 4404K 1600K wait 1 0:00 0.00% bash 746 mysql 24 40 70884K 21936K sbwait 1 0:00 0.00% mysqld 858 root1 440 5864K 2152K select 1 0:00 0.00% sendmail 5835 root1 440 3504K 1520K CPU0 0 0:00 0.00% top 652 root1 440 7824K 3048K select 1 0:00 0.00% snmptrapd 5809 root1 80 3472K 1008K wait 0 0:00 0.00% sh 5808 root1 80 3472K 1008K wait 1 0:00 0.00% sh 870 root1 -160 3200K 1072K vmwait 0 0:00 0.00% cron 5827 root1 76 19 3204K 1480K pfault 0 0:00 0.00% rateup 5828 root1 76 19 3204K 1472K pfault 0 0:00 0.00% rateup 5819 root1 -80 3200K 1108K piperd 0 0:00 0.00% cron 5820 root1 80 3472K 1004K wait 0 0:00 0.00% sh 577 root1 440 3172K 1008K select 1 0:00 0.00% syslogd 5823 root1 760 10588K 4112K pfault 1 0:00 0.00% php 5829 root1 76 19 3204K 1332K pfault 1 0:00 0.00% rateup We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. Is there any way how to fix it? Thank you Kalpin Erlangga Silaen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 7.0-Stable Crashed by Cacti
Dear all, we faced problem with running cacti on FreeBSD 7.0-Stable. From top command output: last pid: 5836; load averages: 0.03, 0.17, 0.24 up 0+01:17:30 15:24:11 96 processes: 1 running, 95 sleeping CPU: 0.2% user, 0.0% nice, 1.5% system, 0.0% interrupt, 98.3% idle Mem: 736M Active, 125M Inact, 127M Wired, 300K Cache, 111M Buf, 3776K Free Swap: 2014M Total, 2014M Free PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1054 root1 760 118M 94916K pfault 1 0:07 0.00% php 1382 root1 760 110M 87224K pfault 1 0:07 0.00% php 1740 root1 760 103M 75576K pfault 0 0:06 0.00% php 2120 root1 760 97160K 74056K pfault 1 0:06 0.00% php 2451 root1 760 91016K 79316K pfault 1 0:05 0.00% php 2818 root1 760 83848K 72324K pfault 1 0:05 0.00% php 3147 root1 760 76680K 64856K pfault 1 0:04 0.00% php 3511 root1 760 69512K 57836K pfault 1 0:04 0.00% php 3823 root1 760 62344K 50880K pfault 1 0:03 0.00% php 4170 root1 760 55176K 43568K pfault 0 0:03 0.00% php 4513 root1 760 48008K 36480K pfault 1 0:02 0.00% php 4847 root1 760 40840K 29452K pfault 1 0:02 0.00% php 5180 root1 760 33672K 22664K pfault 0 0:01 0.00% php 5810 root1 -8 19 11696K 9344K piperd 1 0:01 0.00% perl 5534 root1 760 26504K 15612K pfault 0 0:01 0.00% php 5811 root1 -8 19 11876K 9488K piperd 1 0:01 0.00% perl 5812 root1 -8 19 11676K 9304K piperd 1 0:01 0.00% perl 1651 root1 440 8400K 2440K select 1 0:01 0.00% sshd 839 root1 440 21536K 9152K select 0 0:00 0.00% httpd 747 root1 440 7372K 4996K select 0 0:00 0.00% perl 658 root1 440 8808K 4096K select 1 0:00 0.00% snmpd 5814 root1 760 10588K 4016K pfault 1 0:00 0.00% php 1655 root1 80 4404K 1600K wait 1 0:00 0.00% bash 746 mysql 24 40 70884K 21936K sbwait 1 0:00 0.00% mysqld 858 root1 440 5864K 2152K select 1 0:00 0.00% sendmail 5835 root1 440 3504K 1520K CPU0 0 0:00 0.00% top 652 root1 440 7824K 3048K select 1 0:00 0.00% snmptrapd 5809 root1 80 3472K 1008K wait 0 0:00 0.00% sh 5808 root1 80 3472K 1008K wait 1 0:00 0.00% sh 870 root1 -160 3200K 1072K vmwait 0 0:00 0.00% cron 5827 root1 76 19 3204K 1480K pfault 0 0:00 0.00% rateup 5828 root1 76 19 3204K 1472K pfault 0 0:00 0.00% rateup 5819 root1 -80 3200K 1108K piperd 0 0:00 0.00% cron 5820 root1 80 3472K 1004K wait 0 0:00 0.00% sh 577 root1 440 3172K 1008K select 1 0:00 0.00% syslogd 5823 root1 760 10588K 4112K pfault 1 0:00 0.00% php 5829 root1 76 19 3204K 1332K pfault 1 0:00 0.00% rateup all cacti process just eat my memory and cpu, after that my server crashed and should be reboot. How to fix this problem? Thank you Kalpin Erlangga Silaen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.0-Stable Crashed with Cacti
On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen kal...@muliahost.com wrote: Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: - snip - We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. Is there any way how to fix it? Thank you Kalpin Erlangga Silaen Cacti runs the poller script using php. It looks like the poller script is taking too long to finish, and it ends up having several instances running at the same time. I'd recommend that you look into the 'Spine' poller (formally known as Cactid). It's a threading C program, which is _MUCH_ faster than php will ever be. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 7.0-Stable Crashed with Cacti
On Tue, Jan 6, 2009 at 3:30 AM, Kalpin Erlangga Silaen kal...@muliahost.com wrote: Dear All, we face problem with running cacti on FreeBSD 7.0-Stable. From top command output: - snip - We realized that all cacti process just eat my cpu and memory (STATE: pfault) and my server should be reboot. Is there any way how to fix it? Thank you Kalpin Erlangga Silaen Cacti runs the poller script using php. It looks like the poller script is taking too long to finish, and it ends up having several instances running at the same time. I'd recommend that you look into the 'Spine' poller (formally known as Cactid). It's a threading C program, which is _MUCH_ faster than php will ever be. ___ Thank you for reply. I've change to spine poller. I'll try to update if we face same problem. thank's Kalpin Erlangga Silaen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: [freebsd-questions] cacti lost it's images
[EMAIL PROTECTED] wrote: After my last cacti upgrade, I seen it totaly lost it's images and sounds like it also lost it's css... The strange... I mean _STRANGE_ thing is when analysing the HTML source... the images are not even called!!! No img anywhere Is it possible that the port now contains the plugin architecture, and you need to add/alter the url_path line in the config file? $config[url_path] = '/cacti/'; I think when that is wrong, it will produce the symptoms you see. Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cacti lost it's images
After my last cacti upgrade, I seen it totaly lost it's images and sounds like it also lost it's css... The strange... I mean _STRANGE_ thing is when analysing the HTML source... the images are not even called!!! No img anywhere Any idea please ? Am I the only one in this case ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem updating cacti
Hello, I am facing a problem when I try to update cacti : === Extracting for cacti-0.8.6j.3_1 = MD5 Checksum OK for cacti-0.8.6j.tar.gz. = SHA256 Checksum OK for cacti-0.8.6j.tar.gz. = MD5 Checksum OK for ping_php_version4_snmpgetnext.patch. = SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch. = MD5 Checksum OK for tree_console_missing_hosts.patch. = SHA256 Checksum OK for tree_console_missing_hosts.patch. = MD5 Checksum mismatch for thumbnail_graphs_not_working.patch. = SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch. === Refetch for 1 more times files: thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch === Vulnerability check disabled, database not found = thumbnail_graphs_not_working.patch doesn't seem to exist in /usr/ ports/distfiles/. = Attempting to fetch from http://www.cacti.net/downloads/patches/ 0.8.6j/. fetch: http://www.cacti.net/downloads/patches/0.8.6j/ thumbnail_graphs_not_working.patch: Requested Range Not Satisfiable = Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/ distfiles/. === Vulnerability check disabled, database not found = MD5 Checksum OK for cacti-0.8.6j.tar.gz. = SHA256 Checksum OK for cacti-0.8.6j.tar.gz. = MD5 Checksum OK for ping_php_version4_snmpgetnext.patch. = SHA256 Checksum OK for ping_php_version4_snmpgetnext.patch. = MD5 Checksum OK for tree_console_missing_hosts.patch. = SHA256 Checksum OK for tree_console_missing_hosts.patch. = MD5 Checksum mismatch for thumbnail_graphs_not_working.patch. = SHA256 Checksum mismatch for thumbnail_graphs_not_working.patch. === Giving up on fetching files: thumbnail_graphs_not_working.patch thumbnail_graphs_not_working.patch Make sure the Makefile and distinfo file (/usr/ports/net/cacti/ distinfo) are up to date. If you are absolutely sure you want to override this check, type make NO_CHECKSUM=yes [other args]. *** Error code 1 Stop in /usr/ports/net/cacti. *** Error code 1 Stop in /usr/ports/net/cacti. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ portupgrade.71066.23 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cacti-0.8.6j.3 UPGRADE_PORT_VER=0.8.6j.3 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net/cacti (cacti-0.8.6j.3)(checksum mismatch) --- Packages processed: 1 done, 66 ignored, 0 skipped and 1 failed As I don't know if this patch is important, I can't decide to simply bypass It… Any help will be welcome. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober --- PGP ID -- 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ P Please consider your environmental responsibility before printing this e-mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti -vs- mrtg
Also check out CactiEZ . its a distribution package of sorts that will load a complete system on a spare box. Basically a quick and dirty for those not wanting to take all the steps of installing an OS first and then the packages and plug-ins. http://cactiusers.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti -vs- mrtg
On Tuesday 07 November 2006 09:48, Jeff Mohler wrote: I can use MRTG, and have MRTG do what I want it to do. Id like to try cacti, but..am I alone in finding that it's a PITA? Im not trying to be negative, just looking for a reality check. I like the simplicity of mrtg, but I like the go back in time of cacti to view performance data. I wasn't keen on cacti just because I have an irrational dislike of PHP. I installed cricket (written in Perl), which ISTR also takes a bit of wrestling to configure, but seems to work well enough. Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti -vs- mrtg
Jeff Mohler wrote: I can use MRTG, and have MRTG do what I want it to do. Id like to try cacti, but..am I alone in finding that it's a PITA? Im not trying to be negative, just looking for a reality check. I like the simplicity of mrtg, but I like the go back in time of cacti to view performance data. If its just a matter of a package that's not ready for Joe Public (thats me)..Id accept that. :) I think it's more that there's more than one kind of Joe Public. If you want to present your graphs to your customers/users, or a subset to different users, or apply the same set of graphs to a number of different hosts, or make custom rrdtool graphs (stacks, additional graph elements), then Cacti will let you do that. If you just want a quick dirty tool that's easy to configure for your handful of hosts, then MRTG is just the job. We use both where I work, with Cacti for the bulk-graphing and customer facing stuff, and some MRTG where I just knocked up a quick perl script to measure something. Cacti has quite a nice plugin system, and importable templates from other users that you might be able to use to save yourself some time. I find getting my own templates working in Cacti to be a PITA too, though. shamelessplugIt also has some useful plugins, including a couple of my own. The main one of those being PHP Network Weathermap (http://wotsit.thingy.com/haj/cacti/) which will work with both MRTG and Cacti, to produce graphical overviews of your network./shamelessplug Bear in mind there are also other tools out there in the MRTG/Cacti space: DVG, NRG, Hermes, Cricket... rrdtool.org has a list of many. Most are geared towards folks running 100s-1000s of graphs, that I have seen, and may not be your kind of thing, as a result. Best Regards, Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti -vs- mrtg
Thats cool..I dont mind the plug. :) I want to build a flexable performance analyzer for netapp boxes on some very critical data..that I can customise per customer if I have to, down to a 10-15sec window. I'll have to check out the other tools..heck..I cant get a stock cacti install to make a graph of my localhost interface counts. I dont wanna get into that here however. Gimme a customer Pb of storage, and a SOW to configure it by... PS: Betcha never heard of the middle aged blonde singer dude fromthe UK. :) On 11/7/06, Howard Jones [EMAIL PROTECTED] wrote: Jeff Mohler wrote: I can use MRTG, and have MRTG do what I want it to do. Id like to try cacti, but..am I alone in finding that it's a PITA? Im not trying to be negative, just looking for a reality check. I like the simplicity of mrtg, but I like the go back in time of cacti to view performance data. If its just a matter of a package that's not ready for Joe Public (thats me)..Id accept that. :) I think it's more that there's more than one kind of Joe Public. If you want to present your graphs to your customers/users, or a subset to different users, or apply the same set of graphs to a number of different hosts, or make custom rrdtool graphs (stacks, additional graph elements), then Cacti will let you do that. If you just want a quick dirty tool that's easy to configure for your handful of hosts, then MRTG is just the job. We use both where I work, with Cacti for the bulk-graphing and customer facing stuff, and some MRTG where I just knocked up a quick perl script to measure something. Cacti has quite a nice plugin system, and importable templates from other users that you might be able to use to save yourself some time. I find getting my own templates working in Cacti to be a PITA too, though. shamelessplugIt also has some useful plugins, including a couple of my own. The main one of those being PHP Network Weathermap (http://wotsit.thingy.com/haj/cacti/) which will work with both MRTG and Cacti, to produce graphical overviews of your network./shamelessplug Bear in mind there are also other tools out there in the MRTG/Cacti space: DVG, NRG, Hermes, Cricket... rrdtool.org has a list of many. Most are geared towards folks running 100s-1000s of graphs, that I have seen, and may not be your kind of thing, as a result. Best Regards, Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cacti -vs- mrtg
I can use MRTG, and have MRTG do what I want it to do. Id like to try cacti, but..am I alone in finding that it's a PITA? Im not trying to be negative, just looking for a reality check. I like the simplicity of mrtg, but I like the go back in time of cacti to view performance data. If its just a matter of a package that's not ready for Joe Public (thats me)..Id accept that. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti Problem
On Thu, Oct 26, 2006 at 12:19:20PM +0200, riccardo_diago wrote: An error occurred while loading http://server.com/cacti: Connection to host server.com is broken. What do the error logs say? This could be anything from a simple configuration mistake to (mod_)php segfaulting... -- Riemer PalstraAmsterdam, The Netherlands [EMAIL PROTECTED]http://www.palstra.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cacti Problem
Hi guys, I got a problem installing cacti on Freebsd 6.1 on sparc. I did: 1. download and install from port net/cacti 2. check if mysql was running 3. I did all the steps u find in cacti/docs/INSTALL (except for the default user that is 'cacti' and not 'cactiuser') 4. check permissions on rra and log dir -BEGIN DUMP this is a dump of my cacti dir--- -rw-r--r-- 1 root wheel 15141 Oct 26 08:52 LICENSE -rw-r--r-- 1 root wheel 71 Oct 26 08:52 README -rw-r--r-- 1 root wheel5892 Oct 26 08:52 about.php -rw-r--r-- 1 root wheel4773 Oct 26 08:52 auth_changepassword.php -rw-r--r-- 1 root wheel6189 Oct 26 08:52 auth_login.php -rw--- 1 root wheel 170643 Oct 26 08:52 cacti.sql -rw-r--r-- 1 root wheel 13108 Oct 26 08:52 cdef.php -rw-r--r-- 1 root wheel 16569 Oct 26 08:52 cmd.php -rw-r--r-- 1 root wheel5917 Oct 26 08:52 color.php -rw-r--r-- 1 root wheel2753 Oct 26 08:52 copy_cacti_user.php -rw-r--r-- 1 root wheel 17536 Oct 26 08:52 data_input.php -rw-r--r-- 1 root wheel 28164 Oct 26 08:52 data_queries.php -rw-r--r-- 1 root wheel 44092 Oct 26 08:52 data_sources.php -rw-r--r-- 1 root wheel 30344 Oct 26 08:52 data_templates.php drwxr-xr-x 5 root wheel 512 Oct 26 08:52 docs -rw-r--r-- 1 root wheel6110 Oct 26 08:52 gprint_presets.php -rw-r--r-- 1 root wheel 10498 Oct 26 08:52 graph.php -rw-r--r-- 1 root wheel3423 Oct 26 08:52 graph_image.php -rw-r--r-- 1 root wheel6319 Oct 26 08:52 graph_settings.php -rw-r--r-- 1 root wheel 22578 Oct 26 08:52 graph_templates.php -rw-r--r-- 1 root wheel 10097 Oct 26 08:52 graph_templates_inputs.php -rw-r--r-- 1 root wheel 17367 Oct 26 08:52 graph_templates_items.php -rw-r--r-- 1 root wheel 23122 Oct 26 08:52 graph_view.php -rw-r--r-- 1 root wheel 46835 Oct 26 08:52 graphs.php -rw-r--r-- 1 root wheel 11945 Oct 26 08:52 graphs_items.php -rw-r--r-- 1 root wheel 30802 Oct 26 08:52 graphs_new.php -rw-r--r-- 1 root wheel 33450 Oct 26 08:52 host.php -rw-r--r-- 1 root wheel 14236 Oct 26 08:52 host_templates.php drwxr-xr-x 2 root wheel1536 Oct 26 08:52 images drwxr-xr-x 5 root wheel 512 Oct 26 08:52 include -rw-r--r-- 1 root wheel2271 Oct 26 08:52 index.php drwxr-xr-x 2 root wheel 512 Oct 26 08:52 install drwxr-xr-x 3 root wheel1024 Oct 26 08:52 lib drwxr-xr-x 2 cacti cacti 512 Oct 26 08:52 log -rw-r--r-- 1 root wheel1796 Oct 26 08:52 logout.php drwxr-xr-x 2 root wheel 512 Oct 26 08:52 plugins -rw-r--r-- 1 root wheel9491 Oct 26 08:52 poller.php -rw-r--r-- 1 root wheel4673 Oct 26 08:52 poller_commands.php -rw-r--r-- 1 root wheel2325 Oct 26 08:52 poller_export.php -rw-r--r-- 1 root wheel4343 Oct 26 08:52 poller_reindex_hosts.php -rw-r--r-- 1 root wheel4170 Oct 26 08:52 rebuild_poller_cache.php drwxr-xr-x 5 root wheel 512 Oct 26 08:52 resource drwxr-xr-x 2 cacti cacti 512 Oct 26 08:52 rra -rw-r--r-- 1 root wheel6622 Oct 26 08:52 rra.php -rw-r--r-- 1 root wheel6760 Oct 26 08:52 script_server.php -rw-r--r-- 1 root wheel 353 Oct 26 08:52 script_server.pl drwxr-xr-x 2 root wheel1024 Oct 26 08:52 scripts -rw-r--r-- 1 root wheel4833 Oct 26 08:52 settings.php -rw-r--r-- 1 root wheel6813 Oct 26 08:52 templates_export.php -rw-r--r-- 1 root wheel5954 Oct 26 08:52 templates_import.php -rw-r--r-- 1 root wheel 17463 Oct 26 08:52 tree.php -rw-r--r-- 1 root wheel 27829 Oct 26 08:52 user_admin.php -rw-r--r-- 1 root wheel 11480 Oct 26 08:52 utilities.php END DUMP 5. add these lines to Apache22: Alias /cacti /usr/local/share/cacti/ DirectoryMatch /usr/local/share/cacti/ Options +FollowSymLinks AllowOverride None order allow,deny allow from all IfModule mod_php4.c AddType application/x-httpd-php .php php_flag magic_quotes_gpc Off php_flag short_open_tag On php_flag register_globals Off php_flag register_argc_argv On php_flag track_vars On # this setting is necessary for some locales php_value mbstring.func_overload 0 php_value include_path . DirectoryIndex index.php /IfModule /DirectoryMatch 6. Finally I went to the web browser and I saw this message: An error occurred while loading http://server.com/cacti: Connection to host server.com is broken. There is anybody can help me out w/ that? thanks a lot in advance. Rik. signature.asc Description: OpenPGP digital signature
Re: Cacti Problem
On 10/26/06, riccardo_diago [EMAIL PROTECTED] wrote: An error occurred while loading http://server.com/cacti: Connection to host server.com is broken. This sounds like a problem with network and/or apache, irrelevant to cacti. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Cacti FreeBSD Jail CPU RAM monitoring
Hi, Based on answers of my first post, I wrote a small perl script in order to find out the CPU and MEMORY used by each jail. Here it is: -- - jls.ps -- #!/usr/bin/perl @jails = `jls`; $title = shift @jails; chomp $title; print $title . \t\t%CPU\t%MEM\n; foreach (@jails) { my ($jid) = /\s+(\S+)\s/; @jexec = `jexec $jid ps -afxu`; @mem = map {/\S+\s+\S+\s+\S+\s+(\S+)\s/} @jexec; shift @mem; $tot_mem = 0; foreach (@mem) { $tot_mem = $tot_mem + $_; } @cpu = map {/\S+\s+\S+\s+(\S+)\s/} @jexec; shift @cpu; $tot_cpu = 0; foreach (@cpu) { $tot_cpu = $tot_cpu + $_; } chomp $_; print $_ . \t$tot_cpu\t$tot_mem\n; } -- I still haven't connected anything to cacti yet, but I wanted to share that. I think it can be quite useful. Cheers, -- Philippe Lang, Ing. Dipl. EPFL Attik System rte de la Fonderie 2 1700 Fribourg Switzerland http://www.attiksystem.ch Tel: +41 (26) 422 13 75 Fax: +41 (26) 422 13 76 smime.p7s Description: S/MIME cryptographic signature
Re: Cacti FreeBSD Jail CPU RAM monitoring
On Aug 15, 2006, at 9:16 AM, Philippe Lang wrote: Hi, Based on answers of my first post, I wrote a small perl script in order to find out the CPU and MEMORY used by each jail. Here it is: -- - jls.ps -- #!/usr/bin/perl @jails = `jls`; $title = shift @jails; chomp $title; print $title . \t\t%CPU\t%MEM\n; foreach (@jails) { my ($jid) = /\s+(\S+)\s/; @jexec = `jexec $jid ps -afxu`; @mem = map {/\S+\s+\S+\s+\S+\s+(\S+)\s/} @jexec; shift @mem; $tot_mem = 0; foreach (@mem) { $tot_mem = $tot_mem + $_; } @cpu = map {/\S+\s+\S+\s+(\S+)\s/} @jexec; shift @cpu; $tot_cpu = 0; foreach (@cpu) { $tot_cpu = $tot_cpu + $_; } chomp $_; print $_ . \t$tot_cpu\t$tot_mem\n; } -- What are the units on the MEM? Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Cacti FreeBSD Jail CPU RAM monitoring
[EMAIL PROTECTED] wrote: On Aug 15, 2006, at 9:16 AM, Philippe Lang wrote: Hi, Based on answers of my first post, I wrote a small perl script in order to find out the CPU and MEMORY used by each jail. Here it is: -- - jls.ps -- #!/usr/bin/perl @jails = `jls`; $title = shift @jails; chomp $title; print $title . \t\t%CPU\t%MEM\n; foreach (@jails) { my ($jid) = /\s+(\S+)\s/; @jexec = `jexec $jid ps -afxu`; @mem = map {/\S+\s+\S+\s+\S+\s+(\S+)\s/} @jexec; shift @mem; $tot_mem = 0; foreach (@mem) { $tot_mem = $tot_mem + $_; } @cpu = map {/\S+\s+\S+\s+(\S+)\s/} @jexec; shift @cpu; $tot_cpu = 0; foreach (@cpu) { $tot_cpu = $tot_cpu + $_; } chomp $_; print $_ . \t$tot_cpu\t$tot_mem\n; } -- What are the units on the MEM? Hi, Just like for a ps -u, but it's here the sum of the percentages of all the processes owned by the jail. The same for %CPU. This might not be very accurate, but it gives a very good idea of which jails are using a lot of memory or cpu. --- Philippe Lang Attik System smime.p7s Description: S/MIME cryptographic signature
RE: Cacti FreeBSD Jail CPU RAM monitoring
Here a better formatted version. #!/usr/bin/perl @jails = `jls`; $title = shift @jails; chomp $title; print $title . \t\t%CPU\t%MEM\n; foreach (@jails) { my ($jid) = /\s+(\S+)\s/; @jexec = `jexec $jid ps -afxu`; @mem = map {/\S+\s+\S+\s+\S+\s+(\S+)\s/} @jexec; shift @mem; $tot_mem = 0; foreach (@mem) { $tot_mem = $tot_mem + $_; } @cpu = map {/\S+\s+\S+\s+(\S+)\s/} @jexec; shift @cpu; $tot_cpu = 0; foreach (@cpu) { $tot_cpu = $tot_cpu + $_; } chomp $_; print $_ . \t; printf('%4.1f', $tot_cpu); print \t; printf ('%4.1f', $tot_mem); print \n; } --- Philippe Lang Attik System smime.p7s Description: S/MIME cryptographic signature
Cacti FreeBSD Jail CPU RAM monitoring
Hi, I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server. Is there a way to do monitoring for each jail independently? I guess the answer is no for CPU usage, but is there a way maybe to get the RAM usage of the processes of each jail? Thanks, --- Philippe Lang Attik System smime.p7s Description: S/MIME cryptographic signature
Re: Cacti FreeBSD Jail CPU RAM monitoring
On 8/14/06, Philippe Lang [EMAIL PROTECTED] wrote: Hi, I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server. Is there a way to do monitoring for each jail independently? I guess the answer is no for CPU usage, but is there a way maybe to get the RAM usage of the processes of each jail? using cacti's scripting ability you actually may be able to get some sort of usefull info. for example, you can use ps auxwl to get some pretty detailed info on process which are in jails (third filed is %CPU, fourth %MEM). it may take a little work to sort out which jail a process resides in - . this method will only work from the master as well. similar tricks can be used inside a jail as well. HTH -pete -- ~~o0OO0o~~ Pete Wright www.nycbug.org NYC's *BSD User Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti FreeBSD Jail CPU RAM monitoring
On Aug 14, 2006, at 10:28 AM, pete wright wrote: On 8/14/06, Philippe Lang [EMAIL PROTECTED] wrote: Hi, I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server. Is there a way to do monitoring for each jail independently? I guess the answer is no for CPU usage, but is there a way maybe to get the RAM usage of the processes of each jail? using cacti's scripting ability you actually may be able to get some sort of usefull info. for example, you can use ps auxwl to get some pretty detailed info on process which are in jails (third filed is %CPU, fourth %MEM). it may take a little work to sort out which jail a process resides in - . this method will only work from the master as well. similar tricks can be used inside a jail as well. Remember you can do things like % jexec NUM /bin/ps from the master to do a ps command inside jail NUM you can get the jail number from the % jls command inside the master. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider chad at shire.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti FreeBSD Jail CPU RAM monitoring
Philippe Lang [EMAIL PROTECTED] wrote: I'd like to use Cacti for CPU and RAM usage monitoring on my FreeBSD Server. Is there a way to do monitoring for each jail independently? I guess the answer is no for CPU usage, but is there a way maybe to get the RAM usage of the processes of each jail? You can monitor the numbers from the ps(1) output per jail, see the other answers in this thread. However, you should be aware of the fact that processes share memory, even when running in different jails. For example, most processes are linked against the standard C library (libc), and its size is included in the size of every process, as reported by ps(1) -- but the code of the library is only loaded once into memory, i.e. it is shared between processes, independent of jails. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. What is this talk of 'release'? We do not make software 'releases'. Our software 'escapes', leaving a bloody trail of designers and quality assurance people in its wake. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti (Was: Re: Load Balancing: How Busy are the servers?)
Marc G. Fournier writes: You can setup Graph Trees, so you can group Graphs together .. ie. all the CPU Usage graphs for all (or groups of) servers, so that you can compare them ... Great report. Have you seen anything yet about disk performance? That would be very usefull too... specially for people who use rsync. I have found that rsync can do significant amount of disk I/O with very little CPU utilization. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cacti (Was: Re: Load Balancing: How Busy are the servers?)
On Mon, 2 Jan 2006, Francisco Reyes wrote: Marc G. Fournier writes: You can setup Graph Trees, so you can group Graphs together .. ie. all the CPU Usage graphs for all (or groups of) servers, so that you can compare them ... Great report. Have you seen anything yet about disk performance? I haven't ... this is something I'm going to have to figure out SNMP MIBs for ... just gotta find time to do an snmpwalk and read through the output for ... it looks like something easy to integrate into cacti though ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cacti (Was: Re: Load Balancing: How Busy are the servers?)
On Mon, 2 Jan 2006, Francisco Reyes wrote: Marc G. Fournier writes: I just installed cacti, which seems fairly useful for 'long term views' of how a server is doing Have not played with it, but have read good/favorable comments about it. I would be nice if you did a mini report of your early impressions later.. In particular I think it would be good to know how easy it is to setup and what it covers. 'k, I'm terrible at 'reports', but ... to be totally honest, this has gotta be one of the nicer pieces of software I've played with as far as documentation *especially* for OSS ... I installed it out of ports, initially directly on one of our servers, mistakenly thinking I needed to do one install per server ... ended up moving it into a vServer so that I can easily move it around as I get more powerful servers, instead of having it tied to a specific machine ... On all our other servers, I just had to install the net-snmp port, to give it something to talk to ... The hardest part about setting things up with setting up snmpd, but ended up running snmpconf -i to do this (snmpconf -g basic is apparently slightly easier too) ... once I built the initial snmpd.conf file, I just copied that to the other servers, instead of building one for each ... The Cacti port ends up with a short message that tells you step by step what needs to be done ... it has one error, in that the crontab entry it tells you to create appears to be wrong ... does Linux support a 'user to run as' arg within their crontab? After that, so far, I've just used the 'default net-snmp' settings that come with Cacti ... haven't had a chance to dive into snmp yet, to figure out what else can be monitored ... I currently have it monitoring CPU, Load, Traffic and Memory Usage You can setup Graph Trees, so you can group Graphs together .. ie. all the CPU Usage graphs for all (or groups of) servers, so that you can compare them ... So far, at least, definitely a tool I'd recommend ... so far, seems to work well ... Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cacti updates
On 6/24/05, Hornet [EMAIL PROTECTED] wrote: Hello, Since the new security release of cacti yesterday. I was wondering how do I update the port? I tried portupdgrade cacti -F but that did not seem to do anyhing. A freind said that I needed to: cvsup make make deinstall make reinstall Is there no way to patch it? I just upgraded my ports tree and there is indeed the latest version of this tool there. What's wrong with cvsup approach? Guess you can also download and install the binaries directly with pkg_add -r. -- Dmitry We live less by imagination than despite it - Rockwell Kent, N by E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gathering data in cacti
I am trying to configure cacti following the instructions in the October issue of Linux Magazine. So far here is what I have. 1. Installed rrd tool from ports 2. Put cacti in my web root 3. Configured cacti according to docs 4. I am using quot;*/5 * * * * wget -O - http://localhost:81/cacti/cmd.php gt; /dev/null 2gt;amp;1quot; in my crontab to run quot;cmd.phpquot;. Some how this goes out and updates the graphs in cacti. THE PROBLEM The graphs show up in cacti but there's no data. I think this has something to do with the way Linux and FreeBSD us quot;/procquot;. I'm not really sure. All I know is that there is no data in my graphs. QUESTION How do I configure cacti to get data into the graphs? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]