First, ensure that all cacti hosts can ping the monitored hosts; If you cannot ping, verify that the network configuration and IP Settings of the host being monitored are correct.
Second, if ping is possible, verify that the monitored host has enabled SNMPD services:
ps -ef | grep snmp
Or directly restart the SNMP service of the monitored host:
rcsnmpd restart
If the above command is not available, use these two:
service snmpd reload
service snmpd restart
Then go to the Cacti server and use root:
Snmpwalk-c Public-V 2C 192.168.124.14 –& GT; (This IP is the IP of the monitored host)
If the data information of the monitored machine can be received, it means that SNMP configuration of the monitored host has been completed and there is no error. If no data information is received from the monitored host, proceed to step 3.
Third, log in the monitored host with root and modify the CONFIGURATION file of SNMP:
vi /etc/snmp/snmpd.conf
The final configuration is as follows:
syslocation Server Room
syscontact Sysadmin (root@localhost)
Rocommunity public 127.0.0.1
agentaddress 161
rocommunity public
rwcommunity private
Trapsink 192.168.124.14 Public 162 –& GT; IP =192.168.124.14 is the monitored host IP
Then, perform the second step.
Reproduced in: https://www.cnblogs.com/tommyli/p/3214595.html
Read More:
- How to display the Chinese name and installation time of installed software in snmp4j walk Windows
- How to Solve Azkaban error (Reasons & Solutions)
- How to Solve All masterha_check_repl Error
- How to solve the failed to start switch root error during centos8.1 startup?
- How to solve the problem of “08001” when JDBC connects to MySQL
- How to Solve Gbase 8A Troubleshooting (rhel7 start CGroup error)
- How to solve problems like curl: (7) failed to connect to raw.githubusercontent.com Port 443: problem with connection used
- How to solve the “specified service has been marked for deletion” error
- How to solve SVN authorization failed error
- How to Solve Error: Failed to execute goal org.codehaus.mojo:……..
- How to use vimdiff to solve conflict?
- How to Solve FreeMarker template error
- How to Solve MacOS ffmpeg killed Error
- @How to solve eclipse error after setter and @ getter (@ data) annotation
- How to solve the [error 11004] getaddrinfo failed error in nltk downloader
- How to solve the problem that lightningchart is completely black
- How to Solve failed Precondition Error: attempting to use uninitialized value beta1_power
- How to Solve K8S Error getting node
- How to solve the resource temporarily unavailable error of the Linux host?
- numpy.core.umath How to solve the problem of failed to import