Cacti adds monitoring remote Linux host based on the SNMP service

Source: Internet
Author: User

Cacti adds monitoring remote Linux host based on the SNMP service

After Cacti is installed, only the local host can be monitored by default. To monitor Linux and Windows Remote clients, you must install the SNMP service on the remote client host to capture data through SNMP, the Cacti server uses RRDtool to generate chart information to monitor remote client hosts.

The following describes how to add remote Linux and Windows host monitoring services through Cacti.

1. Add and monitor Linux Hosts

Cacti server: 192.168.1.20.( CentOS 6.7)
Cacti client: 192.168.1.21 (CentOS 6.5)
Step 1: The client installs NET-SNMP Software
[Root @ www ~] # Yum-y install net-snmp-devel net-snmp-utils

Step 2: edit the SNMP configuration file snmpd. conf
[Root @ www ~] # Vim/etc/snmp/snmpd. conf
View systemview embedded ded. 1.3.6.1.2.1
View systemview embedded ded. 1.3.6.1.2.1.25.1.1

Syslocation 192.168.1.21; Add the local IP Address
Syscontact Root root@huangmingming.cn; email receiving

Step 3: synchronize system time
Synchronization time
[Root @ www ~] # Ntpdate time.nist.gov
[Root @ www ~] # Cp/usr/share/zoneinfo/Asia/Shanghai/etc/localtime

Step 4: Start the SNMP service

[Root @ www ~] # Service snmpd start
[Root @ www ~] # Chkconfig snmpd on

Step 5: Add a client host on the Cacti Server
Cacti Server web Settings, add a Host (Devices --> Add --> Description --> Hostname --> Host Template --> Number of Collection Threads --> SNMP Version --> Create --- * Create Graphs for this Host --> select information to be monitored) --> Save
Description: Host Description
Hostname: Host IP Address
Host Template: Host monitoring Template
Number of Collection Threads: Number of concurrent polling Threads

Add the added host to Graph Trees.

[Root @ sh ~] #/Usr/local/spine/bin/spine
SPINE: Using spine config file [/etc/spine. conf]
SPINE: Version 0.8.8f starting
SPINE: Time: 0.1440 s, Threads: 1, Hosts: 3

Wait for 5 minutes to see the generated chart information

-------------------------------------- Split line --------------------------------------

In RHEL6.4, the Cacti + Spine monitoring host is used to send mail alarms.

Use Cacti + Spine to monitor remote hosts in RHEL6.4

CentOS 5.5 complete installation of Cacti + Spine

Cacti construction document under CentOS 6

Detailed description of Cacti monitoring deployment under RHEL5.9

How to install Cacti in CentOS 6.3

Quick installation and configuration of Cacti in CentOS Linux

-------------------------------------- Split line --------------------------------------

Cacti details: click here
Cacti: click here

This article permanently updates the link address:

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.