Current time: 05-31-2024, 06:31 AM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] Setup Nagios
Author Message
keffer Offline
Junior Member
*

Posts: 25
Joined: Jun 2007
Reputation: 0
Post: #7
RE: [HowTo] Setup Nagios
FeG Wrote:Hi keffer,

as you've already quoted:
keffer Wrote: 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).

It would be helpful, if you try out these suggestions:

1. Have a look at the configuration files...
Code:
nagios2 -v /etc/nagios2/nagios.cfg

2. Try to open nagios so that the error appears and then look into:
Code:
tail /var/log/nagios2/nagios.log

3. Is the nagios daemon running?
Code:
ps axxfu | grep nagios

If you don't find a solution this way, post the tail of nagios.log here...

Greetings,
FeG


in nagios2 -v /etc/nagios2/nagios.cfg

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check


in tail /var/log/nagios2/nagios.log

:~# tail /var/log/nagios2/nagios.log
[1191785990] Auto-save of retention data completed successfully.
[1191789590] Auto-save of retention data completed successfully.
[1191793190] Auto-save of retention data completed successfully.
[1191796790] Auto-save of retention data completed successfully.
[1191800390] Auto-save of retention data completed successfully.
[1191800496] Caught SIGTERM, shutting down...
[1191800496] Successfully shutdown... (PID=28725)
[1191800496] Nagios 2.6 starting... (PID=588)
[1191800496] LOG VERSION: 2.0
[1191800496] Finished daemonizing... (New PID=589)


in ps axxfu | grep nagios

:~# ps axxfu | grep nagios
root 943 0.0 0.0 3084 676 pts/0 S+ 18:46 0:00 \_ grep nagios
nagios 589 0.0 0.1 13928 1548 ? SNsl 18:41 0:00 /usr/sbin/nagios2 -d /etc/nagios2/nagios.cfg
10-08-2007 07:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[HowTo] Setup Nagios - FeG - 09-16-2007, 05:27 AM
RE: [HowTo] Setup Nagios - keffer - 09-19-2007, 12:11 PM
RE: [HowTo] Setup Nagios - FeG - 09-20-2007, 02:18 AM
RE: [HowTo] Setup Nagios - keffer - 09-20-2007, 05:37 AM
RE: [HowTo] Setup Nagios - keffer - 10-05-2007, 04:12 AM
RE: [HowTo] Setup Nagios - FeG - 10-06-2007, 07:16 AM
RE: [HowTo] Setup Nagios - keffer - 10-08-2007 07:44 AM
RE: [HowTo] Setup Nagios - keffer - 10-08-2007, 07:46 AM
RE: [HowTo] Setup Nagios - FeG - 10-09-2007, 05:41 AM
RE: [HowTo] Setup Nagios - natural - 11-22-2008, 04:34 AM
RE: [HowTo] Setup Nagios - sakal - 04-06-2010, 09:36 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)