Ahoj vsem, instaluji Nagios2 a narazil jsem na problem, pres synaptic jsem nainstaloval nagios2 a vsechny potrebne balicky,
ve chvili kdy se pripojim pres web rozhrani, zobrazi se mi tato hlaska
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.
3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file).
pomoci -v parametru jsem proveril konfiguracni soubor
/etc/nagios2$ nagios2 -v nagios.cfg
Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (
http://www.nagios.org)
Last Modified: 04-10-2007
License: GPL
Reading configuration data...
Error: Cannot open resource file '/etc/nagios2/resource.cfg' for reading!
Running pre-flight check on configuration data...
Checking services...
Checked 7 services.
Checking hosts...
Checked 2 hosts.
Checking host groups...
Checked 5 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 85 commands.
Checking time periods...
Checked 4 time periods.
Checking extended host info definitions...
Checked 1 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Log file nagiosu ukazuje :
[1196537430] Nagios 2.9 starting... (PID=6458)
[1196537430] LOG VERSION: 2.0
[1196537430] Finished daemonizing... (New PID=6459)
Nevim kudy dal, vse se zda byt OK, primo na strankach nagiosu je postup jak zkompilovat
ale touto cestou se me nechce jit radeji bych sel pres balicek...
Nesetkal jste se nekdo s timto problemem ?
Jinak pouzivam apache2 s modulem cgi, fastcgi nemam nainstalovan
Diky za kazdou radu
Bak0