Kod: Zaznacz cały
<VirtualHost 192.168.1.2>
DocumentRoot /usr/local/nagios/share
ServerName nagios.sdom
ServerAlias nagios
</VirtualHost>
Kod: Zaznacz cały
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride NOne
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Alias /nagios /usr/local/nagios/share
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "nagios"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
</Directory>
Kod: Zaznacz cały
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.9 (Debian) PHP/5.2.6-2+b1 with Suhosin-Patch Server at nagios.sdom Port 80
Interesuje mnie konfiguracja Nagiosa nie jakiegoś zastępczego narzędzia. Dziękuje za pomoc
[ Dodano: 2008-08-24, 12:17 ]
Zmieniłem nieco konfiguracje w serwerze www, pokazuje sie główna strona Nagiosa. Gdy prubuje wybrać jedną z opcji menu dostaje jednak błąd.
Kod: Zaznacz cały
Whoops!
Error: Could not read object configuration data!
Here are some things you should check in order to resolve this error:
1. Verify configuration options using the -v command-line option to check for errors.
2. Check the Nagios log file for messages relating to startup or status data errors.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at [url]http://www.nagios.org[/url].