1. Installing and Configuring SNMP
A. Yum install-y net-snmp net-snmp-utils
B. Chkconfig snmpd on
C. chkconfig–list|grep SNMPD
D. vi/etc/snmp/snmpd.conf
Will
View SystemView included. 1.3.6.1.2.1.1
Switch
View SystemView included. 1.3.6.1.2.1
Will
com2sec notconfiguser Default public
Change into
com2sec notconfiguser Default Xdxdxd (a little more complicated)
E. Restarting the SNMP service
Service SNMPD Restart
2. Test whether the SNMP service is in effect
On the server where cacti is installed, run:
snmpwalk-v 2c-c Xdxdxd (based on actual changes) IP of the monitored device
3. Adding device information to cacti
A. Enter the appropriate IP or domain name cacti in the browser. Enter into for example with:
B. Entry from Managemnet->devices
C. Click AddButton in the top right corner to join
D. Fill in the correct information
E. After the accession, for example,
4. Add graphics
A. After joining the host, click Create Graphs for this host
B. Join the network card you want to monitor
C. Go to the corresponding Graph tree
D. Add the previous graphic to the appropriate graphics tree
Join the host to the graphics tree
watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqvzgfpnduxotu0nza2/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/ Dissolve/70/gravity/southeast ">
E. Checking the results of the accession
Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.
Cacti monitoring bandwidth by SNMP