In the process of using CactiEZ, it is often impossible to add monitoring host or add host when SNMP information SNMP error occurs
First, the first is to determine that the cacti monitoring host can ping the monitored host, if not ping, please confirm the network configuration and the monitored host IP settings are correct.
Second, if you can ping through, then confirm that the monitored Host is enabled SNMPD service:
Ps-ef | grep SNMP
or restart the SNMP service for the monitored host directly:
Service SNMP Restart
If the above command is not available, use these two:
Service SNMPD Restart
Then, on the cacti server, use the root user:
Snmpwalk-c public-v 2c 192.168.124.14--(This IP is the IP of the monitored host)
If the data information of the monitored machine can be received, the SNMP configuration of the monitored host is complete without errors.
If you are prompted with the following error:
Snmpv2-smi::mib-2 = No More variables left in this MIB View (It is past the MIB tree)
Indicates that no data information is received from the monitored host, then the third step is taken.
Third, log on to the monitored host with root and modify the SNMP configuration file:
Vi/etc/snmp/snmpd.conf
The final configuration is as follows:
Syslocation Server roomsyscontact Sysadmin ([email protected]) rocommunity public 127.0.0.1agentaddress 161rocommunity Publicrwcommunity privatetrapsink 192.168.124.14 Public 162--here's ip=192.168.124.14 for monitored host IP
Then restart the service of the monitored host
Service SNMPD Restart
Then, take the second step.
This article is from the "Breght Moon" blog, make sure to keep this source http://liqingbiao.blog.51cto.com/3044896/1687534
CactiEZ when adding a host: SNMP Information SNMP error