1. install and configure SNMP
A. Yum install-y net-snmp-utils
B. chkconfig snmpd on
C. chkconfig-list | grep snmpd
D. VI/etc/snmp/snmpd. conf
Set
View systemview embedded ded. 1.3.6.1.2.1.1
Change
View systemview embedded ded. 1.3.6.1.2.1
Set
Com2sec notconfiguser default public
Change
Com2sec notconfiguser default xdxdxd (more complicated)
E. Restart the SNMP service.
Service snmpd restart
2. test whether the SNMP service is effective
On the server where cacti is installed, run:
Snmpwalk-V 2C-C xdxdxd (based on actual modification) IP address of the monitored Device
3. Add device information on cacti
A. Enter the IP address or domain name corresponding to cacti in the browser to go to, for example:
B. Access from managemnet-> Devices
C. Click Add in the upper right corner to add
D. Enter the correct information.
E. After adding, as shown in figure
4. Add Images
A. After adding a host, clickCreate graphs for this host
B. Add the NIC to be monitored
C. Enter the corresponding graph tree
D. Add the previous graph to the corresponding graph tree.
Add hosts to the graph tree
E. Check the Add result.