I started to learn how to use Cacti. I am unfamiliar with this software. First, I tried to add my Ubuntu to Cacti. Ubuntu needs to install the snmp protocol, obtain system information through snmp itself, and transmit it to the monitoring platform for data collection and analysis for remote management. # Apt-getinstallsnmp # apt-getinstallsnmpd has been installed. modify the configuration file,/etc/snmp/snmpd. conf # sudovi/et
I started to learn how to use Cacti. I am unfamiliar with this software. First, I tried to add my Ubuntu to Cacti.
Ubuntu needs to install the snmp protocol, obtain system information through snmp itself, and transmit it to the monitoring platform for data collection and analysis for remote management.
# Apt-get install snmp
# Apt-get install snmpd
After installation, modify the configuration file,/etc/snmp/snmpd. conf
# Sudo vi/etc/snmp/snmpd. conf
The configuration file is as follows:
- Agentaddresses udp: 161
- View systemonly supported ded. 1.3.6.1.2.1.1
- View systemonly supported ded. 1.3.6.1.2.1.25.1
- Rocommunity secret 192.168.1.18
- Rouser authOnlyUser
- Com2sec pc 192.168.1.18 zd = 8866
- Com2sec pc 127.0.0.1 zd = 8866
- Group servergroup v2c pc
- Group servergroup v1 pc
- Access servergroup "" any noauth prefix all none
- View all supported ded. 1
- SysLocation Sitting on the Dock of the Bay
- SysContact Me
- SysServices 72
- Proc mountd
- Proc ntalkd 4
- Proc sendmail 10 1
- Disk/10000
- Disk/var 5%
- IncludeAllDisks 10%
- Load 12 10 5
- Trapsink localhost public
- IquerySecName internalUser
- Rouser internalUser
- DefaultMonitors yes
- Linkupdownconfigurications yes
- Extend test1/bin/echo Hello, world!
- Extend-sh test2 echo Hello, world! ; Echo Hi there; exit 35
- Master agentx
After the connection, you can add your machine. Control Panel --> device --> Add --> Create