NagiosXI
Installation in no internet environment
Enable required repos
Install required packages
Update SSL Certificate
SSLCertificateFile /usr/local/nagiosxi/var/certs/nagiosxi.crt
SSLCertificateKeyFile /usr/local/nagiosxi/var/certs/nagiosxi.key
HTTP Config: /etc/httpd/conf.d/ssl.conf
Restart service: sudo systemctl restart httpd
Note about encrypted private key:
If the encrypted key in PEM (OpenSSL) format, it starts with -- BEGIN RSA PRIVATE KEY --, the command to decrypt the key is: openssl rsa -in enc.key -out dec.key
If the encrypted key in PEM (PKCS#8) format, it start with -- BEGIN ENCRYPTED PRIVATE KEY --, a special config file to use old algirithm is required to decrypt the key:
Create openssl-legacy.cnf file
openssl_conf=openssl_init [openssl_init] providers=provider_sect [provider_sect] default=default_sect legacy=legacy_sect [default_sect] activate=1 [legacy_sect] activate=1Run decrypt command: OPENSSL_CONF=openssl-legacy.cnf openssl rsa -in enc.key -out dec.key
Customize Operation Screen
https://server.com/nagiosxi/includes/components/opscreen/opscreen.php
/usr/local/nagiosxi/html/includes/components/opscreen/onscreen.php
Remove Nagios Logo and below text: Comment below section in/usr/local/nagiosxi/html/includes/components/opscreen/merlin.php
Change Color of pages and header text: add css style to body.child and h2 in /usr/local/nagiosxi/html/includes/components/opscreen/onscreen.php
Last updated