[Eisfair] [E1] Nagios, nrpe, nrpe-check und NConf update

Stefan Welte post at stefan-welte.de
Mi Mär 4 14:15:08 CET 2015


Hallo Peter,

Am 09.10.2013 um 06:12 schrieb Peter Bäumer:
> NConf v. 1.0.1
> - update - Nagios-Binaerfile auf v. 3.5.1

Habe soeben Nagios, pnp4nagios installiert. Nachdem Nagios wegen falscher Konfiguration (steht auf Manual)
nicht startete, kurzfristig nconf Installation versucht, allerdings geht das was schief:

> 2015-03-04 13:36:11 (925 KB/s) - »nconf.tar.gz« gespeichert [710405/710405]
> 
> Please wait ...
> Creating configuration.... Finished.
>  * Restarting Apache ...
> AH00526: Syntax error on line 15 of /etc/apache2/mods-enabled/nagios.conf:
> Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration                                                        [  OK  ]
> Look at http://eis2/nconf/
> Press ENTER to continue

die nagios.conf (ohne, daß ich da was editiert habe):
> <IfModule !mod_auth_digest.c>
>     LoadModule auth_digest_module /usr/local/apache2/modules/mod_auth_digest.so
> </IfModule>
> 
> Alias /nagios/ /usr/local/nagios/share/
> <Directory /usr/local/nagios/share/>
>     Options FollowSymLinks MultiViews ExecCGI
>     AddHandler cgi-script .cgi
>     DirectoryIndex index.php
>     AuthType Digest
>     AuthName "Nagios Members only!"
>     AuthUserFile /usr/local/apache2/nagios/password.pass 
>     require valid-user
>     AllowOverride All
>     Order Deny,Allow
>     Deny from all
>     Allow from all
> </Directory>

was ist da futsch, wie repariere ich das?
Welche der Konfigurationsarten NAGIOS_CONFIGURATION={manual,nconf,nagios-objects} empfiehlst du? Vorerst
will ich nur spielen/testen was damit möglich ist.
pnp4nagios startete problemlos.

http://eis2/nconf/:
> Not Found
> 
> The requested URL /nconf was not found on this server.
> Apache/2.4 Server at 192.168.4.22 Port 80

Danke,
Stefan



Mehr Informationen über die Mailingliste Eisfair