LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-10-2004, 10:28 PM   #1
dwarf007
Member
 
Registered: Sep 2004
Location: Malaysia
Posts: 181

Rep: Reputation: 30
how to start nagios?


Anyone knows how to starup nagios? I had instal the folowing

nagios-1.2.tar.gz
nagios-plugins-1.3.1.tar.gz

I only had the nagios file inside the folder, but there is no any file to run the program
/usr/local/nagios/libexec

check_breeze check_flexlm check_ldap check_nntp check_pop check_spop check_users
check_by_ssh check_ftp check_load check_nt check_procs check_ssh check_vsz
check_dig check_http check_log check_ntp check_real check_swap check_wave
check_disk check_ifoperstatus check_mailq check_nwstat check_rpc check_tcp negate
check_disk_smb check_ifstatus check_mrtg check_oracle check_sensors check_time urlize
check_dns check_imap check_mrtgtraf check_overcr check_simap check_udp utils.pm
check_dummy check_ircd check_nagios check_ping check_smtp check_ups utils.sh

Anyone knows please hjelp.........
Thanks you......
 
Old 11-10-2004, 11:16 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
You'll want to read up on configuring the various .conf files first. Next you should look into /etc/rc.d/ and see if you have an entry called 'nagios' - run this and see what happens.
 
Old 11-11-2004, 08:42 AM   #3
dwarf007
Member
 
Registered: Sep 2004
Location: Malaysia
Posts: 181

Original Poster
Rep: Reputation: 30
i dont get any nagios inside the /etc/rc.d/ dir

While i check with the service i got this
Code:
No lock file found in /var/run/nagios.pid
can i know whats going on? And how to start using nagios?

Anyone knows please help , thank you......
 
Old 11-13-2004, 06:07 AM   #4
dwarf007
Member
 
Registered: Sep 2004
Location: Malaysia
Posts: 181

Original Poster
Rep: Reputation: 30
I had try to starup nagios but encouter the another problem

Code:
[root@localhost etc]# /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg-sample
 
Nagios 1.2
Copyright (c) 1999-2004 Ethan Galstad (nagios@nagios.org)
Last Modified: 02-02-2004
License: GPL
 
Error: Cannot open resource file '/usr/local/nagios/etc/resource.cfg' for reading!
Error: Cannot open config file '/usr/local/nagios/etc/checkcommands.cfg' for reading!
Nagios 1.2 starting... (PID=3160)
Bailing out due to one or more errors encountered in the configuration files.  Run Nagios from the command line with the -v option to verify your config before restarting. (PID=3160)
anyone knows whats going on? Please help........
Thank you........
 
Old 11-13-2004, 08:01 AM   #5
dwarf007
Member
 
Registered: Sep 2004
Location: Malaysia
Posts: 181

Original Poster
Rep: Reputation: 30
The above question are solcve i guess, buit i encounter another probem....
I think is somewhere around the configuration fie, but i cant figure it out which one of the file because there are lots of them

[root@localhost etc]# /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg

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

Nagios 1.2 starting... (PID=3884)
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)!
Bailing out due to errors encountered while running the pre-flight check. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=3884)

Anyone who has setup nagios before, can please help me....
Thanks a lot........
 
Old 10-02-2005, 04:59 PM   #6
denver1980
Member
 
Registered: Dec 2004
Location: Québec
Distribution: Gentoo, Kubuntu Karmic
Posts: 48

Rep: Reputation: 15
I know this thread is old but it must be said for futur searchs ...
With Nagios, you REALLY MUST RTFM !
Take each cfg sample files ... one by one ... and do a basic configuration for YOUR network.

There is no quick way to install then start ... starting Nagios for the 1st time may take an hour or two.
EACH files in the samples must contain something significant to YOUR network and checks.
 
  


Reply



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
Nagios Addon NRPE didnt start? dwarf007 Linux - Software 3 04-27-2011 01:38 AM
Problems trying to start Nagios... shelby Linux - Software 15 10-02-2005 05:34 PM
Nagios? suresheva31 Linux - General 2 10-13-2004 07:55 AM
About NAGIOS Redhat_guy Linux - Networking 3 06-30-2004 01:43 PM
Nagios markus1982 Linux - Software 1 04-01-2003 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:36 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration