Integrate Nagios with cacti and ntop

Source: Internet
Author: User
Tags rrdtool snmp
1. Install cacit and Nagios -------------------
1. Lamp Environment
2. Install cacti
3. Install Nagios
4. Integration of Nagios and cacti (contact)
4. Install the SNMP protocol
6. Recommended cacti templates
Http://docs.cacti.net/templates (Official template)
7. Install the Linux Server plug-in (client) ------ nrpe
8. Monitoring Windows Server plug-in (client)

Ii. Use of cacti and Nagios

Cacti monitors all devices using the SNMP protocol, while Nagios can monitor devices using SNMP or using script plug-ins written in Perl.
1. Add a monitoring service to cacti
1) cacti monitors nginx services
2) cacti monitoring squid service
3) cacti monitors MySQL services
4) cacti monitors Apache services
5) cacti monitors memca services
2. Use of cacti plug-in
1) threshold and setting are the alarm settings used together.
2) The NPC plug-in is a plug-in integrated with cacti and Nagios.
3) Monitor the running status of the plug-in server
Wget http://www.constructaegis.com/downloads/npc-2.0.4.tar.gz
Wget http://cactiusers.org/downloads/settings.tar.gz
Wget http://cactiusers.org/downloads/thold.tar.gz
Wget http://cactiusers.org/downloads/routerconfigs.tar.gz
Wget http://cactiusers.org/downloads/monitor.tar.gz
Plug-in http://cactiusers.org/downloads/ for cacti earlier versions
(The cacti-plugins in the new architecture shows that the old architecture is unavailable. download the new version)
New version of cacti plug-in http://svn.cacti.net/viewvc? Root = plugins
How to download the new version: # cd/usr/local/HTTP/htdocs/cacti/plugins
# SVN Co SVN: // svn.cacti.net/cacti_plugins/monitor
# Mv Monitor/trunk Monitor (because the trunk directory is the latest version)

3. Description of Nagios configuration file
4. Nagios Monitoring Service
1) Monitor the MySQL database
2) memcache monitoring by Nagios
3) Nagios monitoring squid
5. Install Nagios using SNMP collection
Nagios's extensive monitoring plug-in http://www.monitoringexchange.org (with many support for SNMP plug-ins)
6. Display Nagios in a traffic Diagram
7. Solution to abnormal cacti font display in the image
Download and install the cjkuni-fonts Chinese font with the name Ukai. TTF
# Wget http://ftp.tw.debian.org/debian/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_0.1.20060928.orig.tar.gz
# Tar zxvf ttf-arphic-ukai_0.1.20060928.orig.tar.gz
# Cd ttf-arphic-ukai-0.1.20060928/
# Cp Ukai. TTF/usr/lshare/fonts/Ukai. TTF
Another method is CP Ukai. TTF/usr/local/rrdtool/share/rrdtool/fonts /, then fill in/usr/local/rrdtool/share/rrdtool/fonts/Ukai in the default font path of cacti Control Panel --- set -- path -- rrdtool. TT

Iii. cacti and Nagios migration

Iv. alarm settings
1. Nagios alarm settings
2. Limit the number of Nagios alarms

Nagios-CN documents: http://nagios-cn.sourceforge.net/nagios-cn/

V. Integration of ntop installation and cacti

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.