nagios_install
Különbségek
A kiválasztott változat és az aktuális verzió közötti különbségek a következők.
| Előző változat mindkét oldalonElőző változat | |||
| nagios_install [2025/05/12 20:45] – eltávolítva - külső szerkesztés (Ismeretlen dátum) 127.0.0.1 | nagios_install [2025/05/12 20:45] (aktuális) – ↷ Page name changed from nagios to nagios_install admin | ||
|---|---|---|---|
| Sor 1: | Sor 1: | ||
| + | ===== How to Install Nagios Monitoring Tool on Debian 12 ===== | ||
| + | \\ | ||
| + | ==== Installation from Debian repository ==== | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | $ sudo systemctl enable nagios4 | ||
| + | $ sudo systemctl is-enabled nagios4 | ||
| + | $ sudo systemctl status nagios4 | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | $ sudo systemctl is-enabled apache2 | ||
| + | $ sudo systemctl status apache2 | ||
| + | </ | ||
| + | |||
| + | Connect to nagios at < | ||
| + | |||
| + | ==== Enable Nagios Authentication ==== | ||
| + | |||
| + | In file / | ||
| + | |||
| + | Restart nagios4 service. From now on, only user ' | ||
| + | |||
| + | ==== Setting up Apache Basic Auth for Nagios ==== | ||
| + | |||
| + | To enable the required modules, cgi, cgid, and rewrite, run command | ||
| + | |||
| + | < | ||
| + | |||
| + | Open / | ||
| + | |||
| + | < | ||
| + | < | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | | ||
| + | | ||
| + | Order allow,deny | ||
| + | Allow from all | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | To create a new user nagiosadmin for Apache basic auth | ||
| + | |||
| + | < | ||
| + | |||
| + | Input your password two times. Restart the apache2 service. | ||
| + | |||
