LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nagios and Fedora 3 (https://www.linuxquestions.org/questions/linux-software-2/nagios-and-fedora-3-a-310148/)

laltopi 04-05-2005 08:23 PM

Nagios and Fedora 3
 
Hi

I installed nagios-2.0-0.b2.1.fc3.test.rpm and nagios-plugins-1.4-2.1.fc3.rf.rpm on Fedora 3.
I have also installed fping because of dependency issues.

I added my configurations and ran a test on the config file .
As you can see there are no errors or warnings. So far so good.


[root@216 nagios]# nagios -v /etc/nagios/nagios.cfg

Nagios 2.0b2
Copyright (c) 1999-2005 Ethan Galstad (www.nagios.org)
Last Modified: 02-09-2005
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 2 services.
Checking hosts...
Checked 2 hosts.
Checking host groups...
Checked 2 host groups.
Checking service groups...
Checked 2 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 2 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 22 commands.
Checking time periods...
Checked 1 time periods.
Checking extended host info definitions...
Checked 0 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

# id -a apache
uid=48(apache) gid=48(apache) groups=48(apache),101(nagios)

Apache has been added to nagios group. All the directories and files are owned by
nagios.

However, I get the following error when I click on the cgi script on the left nav.

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.
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).

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 http://www.nagios.org.

Any insights appreciated.
Thanks.


All times are GMT -5. The time now is 08:31 AM.