Install and configure smokeping 2.4.2 on centos5.8

Source: Internet
Author: User
Tags rrdtool install perl smokeping


Centos5.8 install configure smokeping 2.4.2 1 install http and support environment www.2cto.com source CentOS5-Base-163.repo rpm-ivh epel-release-5-4.noarch.rpm yum install httpd-devel yum install rrdtool-perl yum install curl yum install fping yum install perl-CGI -SpeedyCGI rpm-ivh echoping-5.2.0-1.2.el5.rf.x86_64.rpm 2 install rrdtool library yum install libxml2-devel libpng-devel pango-devel libart_lgpl libart_lgpl-devel freetype-devel fontconfig cairo-devel tar-zxvf rrdtool-1.2.26.tar.gz cd rrdtool-1.2.26. /configure -- prefix =/usr/local/rrdtool make & make install 3 install smokeping tar-zxvf smokeping-2.4.2.tar.gz mv smokeping-2.4.2/usr/local/smokeping 4 modify the configuration file vim/usr/local /smokeping/etc/config. dist 10 imgcache =/usr/local/smokeping/cache 11 imgurl =/usr/local/smokeping/img 12 datadir =/usr/local/smokeping/data 13 piddir =/usr/ local/smokeping/var 14 cgiurl = http: // 192.168.68.218/smokeping/htdocs/smokeping. cgi 15 smokemail =/usr/local/smokeping/etc/smokemail. dist 16 tmail =/usr/local/smokeping/etc/tmail. dist 50 template =/usr/local/smokeping/etc/basepage.html. dist cancel the *** slaves *** module www.2cto.com cp/usr/local/smokeping/htdocs/smokeping. cgi. dist/usr/local/smokeping/htdocs/smokeping. cgi vim/usr/local/smokeping/htdocs/smokeping. cgi 7 use lib qw (/usr/rrdtool/lib/perl); 8 use lib qw (/usr/local/smokeping/lib); 14 Smokeping :: cgi ("/usr/local/smokeping/etc/config. dist "); vim/usr/local/smokeping/bin/smokeping. dist 4 use lib qw (/usr/local/rrdtool/lib/perl); 5 use lib qw (/usr/local/smokeping/lib); 10 Smokeping :: main ("/usr/local/smokeping/etc/config. dist "); vim/etc/httpd/conf/httpd. conf 265 ServerName localhost: 80 320 options Indexes FollowSymLinks ExecCGI 778 AddHandler cgi-script. cgi ln-s/usr/local/smokeping/htdocs/cropper/var/www/html/smokeping/cropper ln-s/usr/local/smokeping/htdocs/smokeping. cgi/var/www/html/smokeping. cgi mkdir-p/var/www/html/smokeping/img/var/www/html/smokeping/script // usr/local/smokeping/data/usr/local/smokeping/ var chown-R apache: apache/var/www/html/smokeping configuration completed 5 problem solved a> Can't locate LWP/UserAgent. pm perl-MCPAN-eshell cpan> install Bundle: LWP B> Can't locate loadable object for module RRDs in @ INC yum install rrdtool-perl

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.