CactiIt is a network monitoring tool that I often use. It combines the advantages of LAMP to better serve you! Let's take a look at its specific configuration!
1. configuration of the snmp service in windows(1) Open "Control Panel"-"add deletion program"-"add deletion group"
In "management and monitoring tools", select "Simple Network Management Protocol (snmp )"
Click "Next" to start the installation. During the installation process, the i386 file (2) is required. Open "start"-"program"-"Management Tools"-"service ",
Find "snmp service", right-click "properties", and select "security ",
In "accept group name", click "add" and write you in "group name"
Select "Accept snmp Packets from these hosts" for the community used by cacti ",
The default value is "localhost". Click "edit" to change "localhost" to
The actual IP address.
2. linux client configuration (rhel as 4)
- #!/bin/bash# extract all packagestar zxvf beecrypt-4.1.2.tar.gz tar zxvf libelf-0.8.6.tar.gztar zxvf net-snmp-5.4.1.tar.gz
-
- # snmp install
-
Cd beecrypt-4.1.2./configure & make installln-s/usr/local/lib/libbeecrypt. la/usr/lib/
Cd ../libelf-0.8.6./configure & make install
Cd .. /net-snmp-5.4.1echo "\ n" |. /configure -- enable-mfd-rewrites -- prefix =/opt/snmp -- with-default-snmp-version = "2" make & make installmv/etc/snmp/snmpd. conf/etc/snmp/snmpd. conf. bakecho-e 'syslocation anhui \ nsyscontact jeboosa \ nrocommunity dwy # x $ po ^ \ n'>/etc/snmp/snmpd. confsed-I-e's/-a \ "/-a-c \/etc \/snmp \/snmpd. conf \ "/'/etc/init. d/snmpdsed-I-e's/usr/opt \/snmp/'/etc/init. d/snmpd/sbin/service snmpd stop/sbin/service snmpd start/sbin/chkconfig -- level 35 snmpd oncd ..
2) Method 2:
Modify the snmp configuration file: # vi/etc/snmp/snmpd. conf: 1 .) com2sec notConfigUser default public changed to: com2sec notConfigUser localhost public2.) access notConfigGroup "" any noauth exact systemview none changed to: access notConfigGroup "" any noauth exact all none none3.) # view all supported ded. 1 80 remove comment save and quit start snmp #/etc/init. d/snmpd start