Brief installation steps of Nagios and ndoutils and establishment of distributed monitoring environment

Source: Internet
Author: User

1. Brief Nagios installation steps (provided that the apache2 server works properly)A) create a Nagios user and user group B) install the source code in step 3 (six commands) c) Set apache2 server d) install the Nagios plug-in (Step 3) e) Restart apache2f) add authorized user and password g) Configure nagiosh) test Nagios configuration I) Start Nagios 2. Brief installation steps of ndoutils (provided that both Nagios and MySQL work properly)J) install various libraries: Use APTITUDE search to search for the following keywords and use apt-Get install to install: libmysql, MySQL-perl, pthreads, libcurses, libstdc ++, and other K) install mysqll) configure the startup test MySQL to ensure that MySQL works normally. m) Add a MySQL Nagios user to operate the Ndo database. N) Compile the ndoutils source code. O) install the Nagios database table P in the database) install nodmod broker module, compiled, and copied. Q) Configure nodmodr) install ndo2db deamon, compiled, and copied. s) Configure ndo2dbt) Start ndo2dbu) check whether the Nagios database table has written data. If yes, OK 3. Simple Steps for establishing the distributed Nagios + ndoutils + MySQL environment (provided that the independent environments work normally)V) set a centrally managed database to allow Nagios users to log on to and operate the database from other hosts. W) modify the ndo2db configuration files respectively. CFG: db_host, db_name, db_user, db_passx) modify the ndomod configuration files respectively. CFG field: instance_namey) Restart ndo2dbz) Restart nagiosaa) test whether data in MySQL has been distinguished by different instances. If yes, OK

 

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.