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