Cacti monitors Ubuntu and MySQL

Source: Internet
Author: User
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:

  1. Agentaddresses udp: 161
  2. View systemonly supported ded. 1.3.6.1.2.1.1
  3. View systemonly supported ded. 1.3.6.1.2.1.25.1
  4. Rocommunity secret 192.168.1.18
  5. Rouser authOnlyUser
  6. Com2sec pc 192.168.1.18 zd = 8866
  7. Com2sec pc 127.0.0.1 zd = 8866
  8. Group servergroup v2c pc
  9. Group servergroup v1 pc
  10. Access servergroup "" any noauth prefix all none
  11. View all supported ded. 1
  12. SysLocation Sitting on the Dock of the Bay
  13. SysContact Me
  14. SysServices 72
  15. Proc mountd
  16. Proc ntalkd 4
  17. Proc sendmail 10 1
  18. Disk/10000
  19. Disk/var 5%
  20. IncludeAllDisks 10%
  21. Load 12 10 5
  22. Trapsink localhost public
  23. IquerySecName internalUser
  24. Rouser internalUser
  25. DefaultMonitors yes
  26. Linkupdownconfigurications yes
  27. Extend test1/bin/echo Hello, world!
  28. Extend-sh test2 echo Hello, world! ; Echo Hi there; exit 35
  29. Master agentx

After the connection, you can add your machine. Control Panel --> device --> Add --> Create

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.