LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-27-2004, 05:14 AM   #1
apache
Member
 
Registered: Jun 2004
Posts: 37

Rep: Reputation: 15
Nagios configuration on redhat linux help needed !!!


Hello,
I have successfully installed nagios and pluings but having difficulty in it's configuration:
---------------------------------------------------------------------
root@server [/usr/local/nagios/etc]# ../bin/nagios -v nagios.cfg

Nagios 1.2
Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
Last Modified: 02-02-2004
License: GPL

Reading configuration data...

Running pre-flight check on configuration data...

Checking services...
Checked 38 services.
Checking hosts...
Checked 15 hosts.
Checking host groups...
Checked 6 host groups.
Checking contacts...
Checked 2 contacts.
Checking contact groups...
Checked 6 contact groups.
Checking service escalations...
Checked 2 service escalations.
Checking host group escalations...
Checked 2 host group escalations.
Checking service dependencies...
Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)!
Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)!
Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)!
Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere!
Error: Service dependency definition for service 'Website #1' on host 'nt1' is circular (it depends on itself)!
Checked 4 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 4 time periods.
Checking for circular paths between hosts...
Checking for circular service execution dependencies...
Checking global event handlers...
Checking obsessive compulsive service processor command...
Checking misc settings...

Total Warnings: 0
Total Errors: 12

***> One or more problems was encountered while running the pre-flight check...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation on the main and host config files, as well as the
'Whats New' section to find out what has changed.
--------------------------------------------------------
How should I proceeed with this?
Thank you
 
Old 09-01-2004, 02:33 PM   #2
jibranilyas
LQ Newbie
 
Registered: Sep 2004
Location: Chicago
Posts: 7

Rep: Reputation: 0
I am having the same issue

I also couldn't run make install-init
i get this error:

[nagios@localhost nagios-1.2]$ make install-init
/usr/bin/install -c -m 755 -d -o root -g root /etc/rc.d/init.d
/usr/bin/install: cannot change permissions of `/etc/rc.d/init.d': Operation not permitted
make: *** [install-daemoninit] Error 1
[nagios@localhost nagios-1.2]$
 
Old 09-14-2004, 11:02 AM   #3
tarpat1
LQ Newbie
 
Registered: Dec 2001
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
It looks to me like you still have the sample dependencies configured in the dependencies.cfg file. You can either remove all the entries in that file or comment them out by placing a # in the beginning of each line or you can go into the nagios.cfg file and comment out this line cfg_file=/usr/local/nagios/etc/dependencies.cfg. This will tell nagios to ignore the contects of the dependencies config file. Hope this helps.

Last edited by tarpat1; 09-14-2004 at 11:06 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Configuration.. a little help needed phsythax Linux - Software 3 11-07-2005 03:54 PM
nagios cgis on redhat 8 aetengoku Linux - Software 1 01-23-2004 10:15 PM
How much space on my hard-drive would be needed by RedHat Linux 5? Treefrog Linux - Software 12 11-01-2003 12:32 PM
Opinion needed: FreeBSD vs Redhat Linux happyruyi Linux - Software 10 09-25-2003 07:44 PM
Nagios check_load configuration variables mdwillia Linux - Software 5 06-25-2003 08:35 AM


All times are GMT -5. The time now is 12:20 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration