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 ([email protected])
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:
- Yum error: cannot retrieve repository metadata( repomd.xml )For repository solution
- The solution to the problem that the virtual machine and the host SSH can’t connect on vmvare
- How to Fix “Slow Access of Stackoverflow” Issue
- Someone is doing something abnormal
- Chef encountered an error attempting to create the client
- mac Upgrade: httpd: apr_sockaddr_info_get() failed for bogon
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- Nginx error log (error_ Log) configuration and information explanation
- Install And Configure Nagios on Ubuntu 14.04 LTS
- Rsync: failed to exec SSH: no such error in remote Rsync
- FTP prompt in Linux — 553 could not create file (absolutely useful)
- 451 4.7.0 temporary server error. Please try again later. Prx5
- Solution of invalid host header in vue-cli3
- 【Linux】psql: FATAL: Ident authentication failed for user “username” Error and Solution
- A solution to the refusal of rdesktop connection to windows host
- Modify samba configuration, restart service failed
- Solve Linux docker pull error get https://registry-1.docker.io/v2/ : Net / http: TLS handshake timeout
- CentOS 7 installation error: Cannot find a valid baseurl for repo: base/7/x86_6
- When configuring ROS distributed / Error report solution and command requirements encountered in the process of master-slave computer
- SQL Server 2008 18456 error and SA unable to login solution