Je n'ai pas trouvé grand chose sur les CGI dans la documentation EON.
Dans la documentation Nagios, j'ai trouvé des informations sur les .cgi et leur descriptions. J'ai également vu que status.cgi était "alimenté par status.dat.
Je n'explique donc toujours pas pourquoi les .cgi qui se trouvent dans "/srv/eyesofnetwork/nagios/sbin/" sont "inactifs"..
J'ai quand même essayé de dérouler ''Modifier l’accès web pour l’utilisation d’outil type Nagstamon" qui se trouve dans la documentation de configuration. Mais du coup, en suivant pas à pas, j'ai mis apache en carafe...
[root@39 /]# systemctl restart httpd
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
[root@039 /]# systemctl status httpd.service
â httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since mer. 2017-07-05 10:04:12 CEST; 17s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 32359 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 32357 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 32357 (code=exited, status=1/FAILURE)
juil. 05 10:04:11 ***************.fr systemd[1]: Starting The Apache HTTP Server...
juil. 05 10:04:12 ***************.fr httpd[32357]: AH00526: Syntax error on line 7 of /etc/httpd/conf.d/navchecker.conf:
juil. 05 10:04:12 ***************.fr httpd[32357]: Invalid command 'ptions', perhaps misspelled or defined by a module...ation
juil. 05 10:04:12 ***************.fr systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
juil. 05 10:04:12 ***************.fr kill[32359]: kill: cannot find process ""
juil. 05 10:04:12 ***************.fr systemd[1]: httpd.service: control process exited, code=exited status=1
juil. 05 10:04:12 ***************.fr systemd[1]: Failed to start The Apache HTTP Server.
juil. 05 10:04:12 ***************.fr systemd[1]: Unit httpd.service entered failed state.
juil. 05 10:04:12 ***************.fr systemd[1]: httpd.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
-- L'unité (unit) httpd.service a échoué, avec le résultat failed.
juil. 05 10:04:12 ***************.fr systemd[1]: Unit httpd.service entered failed state.
juil. 05 10:04:12 ***************.fr systemd[1]: httpd.service failed.
juil. 05 10:04:12 ***************.fr polkitd[696]: Unregistered Authentication Agent for unix-process:32352:982577553 (system
J'en ai compris que c'était un problème d'Authentification, surement cette commande :
Code : Tout sélectionner
htpasswd -c /srv/eyesofnetwork/nagstamon/.htpasswd.users admin
Donc pour l'instant, j'ai fait machine arrière, retour à la case départ
