Quote:
Originally Posted by Tinkster
Hi,
Welcome to LQ!
I've split out your post from the other thread; please do tell which
part of the documentation you were unable to follow, so we can give
you well-targeted guidance.
Cheers,
Tink
|
@Tinkster
Thank you for the reply, sorry for my ingnorance, just new in here.
Back to my question.
I read and follow instruction on the nagios website the documentation, I install it to my centos box, succeded.
I dont know how I will ,modify, the nagios.cfg, first I've like to make it start so I can perhaps monitor my local machine, but I always got error. please see attach:
[root@nagios-server nagios]# nagios -v nagios.cfg
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (
http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 8 services.
Checking hosts...
Checked 1 hosts.
Checking host groups...
Checked 1 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 24 commands.
Checking time periods...
Checked 5 time periods.
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
seems to be ok, then i command
[root@nagios-server nagios]# service nagios start
Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration.
I already enable the httpd, I can access the web interface to other machine, but if i click on the function ie Tackical Overview, i got this maessage:
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
http://www.nagios.org.
Please help and guide, so desperate, I really nagios to work
nanie