Install LIbreNMS
Install LIbreNMS
~#wget https://getcomposer.org/composer-stable.phar
~#mv composer-stable.phar /usr/bin/composer
~#chmod +x /usr/bin/composer
user = librenms
group = librenms
listen = /run/php-fpm-librenms.sock
charset utf-8;
gzip on;
gzip_types text/css application/javascript text/javascript application/x-javascript
image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ [^/]\.php(/|$) {
fastcgi_pass unix:/run/php-fpm-librenms.sock;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi.conf;
}
location ~ /\.(?!well-known).* {
deny all;
}
}
~#rm /etc/nginx/sites-enabled/default
~#systemctl restart nginx
~#systemctl restart php8.3-fpm
===gunakan perintah dibawah untuk mengetahui jika ada trouble yang terjadi diServer
Monitoring LibreNMS
~$./validate.php