Networking Forums

Networking Forums > Computer Networking > Linux Networking > Nagios Configuration

Reply
Thread Tools Display Modes

Nagios Configuration

 
 
Mike
Guest
Posts: n/a

 
      10-02-2003, 12:15 AM
Hello,

I'm trying to setup Nagios to monitor the status of some hosting boxes
and have come across an error that seems strange.


[root@localhost sample-config]# /usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg

Nagios 1.1
Copyright (c) 1999-2003 Ethan Galstad ((E-Mail Removed))
Last Modified: 06-02-2003
License: GPL

Reading configuration data...

Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line
34 (NULL value)

Here's the top of the configuration file. So you know, I'm using the
'minimal.cfg' file to try and get how this works, so it's pretty much
stock as supplied with the distro.

# '24x7' timeperiod definition
define timeperiod {
timeperiod_name 24x7
alias All Day Every Day
sunday 00:00-24:00
monday 00:00-24:00
tuesday 00:00-24:00
wednesday 00:00-24:00
thursday 00:00-24:00
friday 00:00-24:00
saturday 00:00-24:00
}

Line 34 is the "define timeperiod" line, which seems to match all the
lines in all the other sample config files. If I comment it out, then
it just goes onto the next define and says it's a Null Value.

Can anyone supply a basic minimal nagios.cfg that works?

Mike
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nagios camerota Linux Networking 0 09-20-2006 09:21 AM
nagios check_nrpe help Gabriele Linux Networking 0 01-26-2004 03:21 PM
Nagios escalation definition configuration Jim Fortner Linux Networking 0 11-20-2003 03:44 PM
Check_snmp in Nagios mallu0987 Linux Networking 0 07-25-2003 07:24 PM
Nagios monitor says nagios isn't running but it is. Eric Vanderveer Linux Networking 0 06-28-2003 09:59 AM



1 2 3 4 5 6 7 8 9 10 11