software:service:icinga
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| software:service:icinga [2022/01/01 10:22] – created warnaud | software:service:icinga [2022/01/01 13:48] (current) – warnaud | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Icinga ====== | ||
| + | New monitoring test after prometheus and Nagios | ||
| + | ====== Arch Install ====== | ||
| + | <code bash> | ||
| + | yay -S icinga2 | ||
| + | systemctl enable --now icinga2 | ||
| + | yay -S icingaweb2 icingaweb2-module-director php-intl php-pgsql postgresql | ||
| + | systemctl enable --now icinga-director.service | ||
| + | |||
| + | su -l postgres | ||
| + | initdb -D / | ||
| + | exit | ||
| + | systemctl enable --now postgresql | ||
| + | |||
| + | vi / | ||
| + | <code perl> | ||
| + | server { | ||
| + | listen 80; | ||
| + | listen [::]:80; | ||
| + | server_name monitor.fortier-family.com; | ||
| + | root / | ||
| + | location ~ ^/ | ||
| + | fastcgi_pass unix:/ | ||
| + | fastcgi_index index.php; | ||
| + | include fastcgi_params; | ||
| + | fastcgi_param SCRIPT_FILENAME / | ||
| + | fastcgi_param ICINGAWEB_CONFIGDIR / | ||
| + | fastcgi_param REMOTE_USER $remote_user; | ||
| + | } | ||
| + | location ~ ^/ | ||
| + | alias / | ||
| + | index index.php; | ||
| + | try_files $1 $uri $uri/ / | ||
| + | } | ||
| + | }</ | ||
| + | <code bash> | ||
| + | vi / | ||
| + | <code perl> | ||
| + | extension=curl | ||
| + | ... | ||
| + | extension=gettext | ||
| + | ... | ||
| + | extension=intl | ||
| + | ... | ||
| + | extension=pdo_pgsql | ||
| + | ... | ||
| + | extension=sockets | ||
| + | </ | ||
| + | <code bash> | ||
| + | #Windows style®©™ | ||
| + | reboot | ||
| + | icingacli setup config directory --group icingaweb2; | ||
| + | icingacli setup token create; | ||
| + | </ | ||
| + | FUCKING RIGHTS: | ||
| + | <code bash> | ||
| + | chown -Rh icinga | ||
| + | [root@monitor ~]chmod g+w/ | ||
| + | </ | ||
| + | ====== References ====== | ||
| + | |||
| + | * https:// | ||
| + | * https:// | ||
