doc:appunti:linux:sa:pnp4nagios
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:pnp4nagios [2025/05/23 10:52] – [Compiling and installing pnp4nagios] niccolo | doc:appunti:linux:sa:pnp4nagios [2025/05/23 11:07] (current) – [Compiling and installing pnp4nagios] niccolo | ||
---|---|---|---|
Line 43: | Line 43: | ||
apt-get install build-essential | apt-get install build-essential | ||
apt-get install librrds-perl | apt-get install librrds-perl | ||
+ | cd / | ||
wget -O pnp4nagios-0.6.27-5.zip \ | wget -O pnp4nagios-0.6.27-5.zip \ | ||
https:// | https:// | ||
Line 86: | Line 87: | ||
< | < | ||
# Installare tutto quanto in / | # Installare tutto quanto in / | ||
+ | cd / | ||
make install | make install | ||
Line 101: | Line 103: | ||
a2enconf pnp4nagios | a2enconf pnp4nagios | ||
systemctl reload apache2 | systemctl reload apache2 | ||
+ | </ | ||
+ | |||
+ | ==== Verifica requisiti ==== | ||
+ | |||
+ | Verificare che esista il file **/ | ||
+ | |||
+ | Visitare l'URL **%%http:< | ||
+ | |||
+ | Se tutto va bene rinominare il file: | ||
+ | |||
+ | < | ||
+ | mv / | ||
+ | </ | ||
+ | |||
+ | ==== Demone NPCD ==== | ||
+ | |||
+ | Creare la configurazione per il demone NPCD: | ||
+ | |||
+ | < | ||
+ | cd / | ||
+ | cp -p sample-config/ | ||
+ | chown nagios: | ||
+ | </ | ||
+ | |||
+ | Modificare il file **/ | ||
+ | |||
+ | < | ||
+ | # | ||
+ | perfdata_spool_dir = / | ||
+ | </ | ||
+ | |||
+ | Il '' | ||
+ | |||
+ | < | ||
+ | systemctl enable --now npcd.service | ||
</ | </ | ||
doc/appunti/linux/sa/pnp4nagios.1747990378.txt.gz · Last modified: by niccolo