Hi everybody,
I’ve got LibreNMS on Debian, and i wanted to check and monitored Apache on an other server (Debian too).
I followed the documentation (docs.librenms.org/Extensions/Applications/)
Unix-agent and Applications are enabled on LibreNMS
check_mk_agent is installed on the other server and seems good working
systemctl status check_mk.socket : active
But the graphs are empty on LibreNMS
When I try : /usr/lib/check_mk_agent/local/apache, I’ve got : Data fetch failure
And in the apache log (/var/log/apache2/other_vhosts_access.log), I’ve got :
[15/Dec/2021:11:40:22 +0100] “GET /server-status?auto HTTP/1.1” 302 521 “-” “LWP::Simple/6.36 libwww-perl/6.36”
access.log is empty and nothing significant in error.log
And last, on the client, when I try : wget -pv http://localhost/server-status (sorry it’s in french) :
Résolution de localhost (localhost)… ::1, 127.0.0.1
Connexion à localhost (localhost)|::1|:80… connecté.
requête HTTP transmise, en attente de la réponse… 302 Found
How can I fix it ?
Regards