Startup errors
Daniel Geske
daniel.geske at yoc.de
Tue Oct 8 18:28:24 CEST 2002
dont use dots in hostnames.
greetings
Daniel
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Seth
Hollen
Sent: Tuesday, October 08, 2002 3:07 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Startup errors
I am new to nagios and have been following all directions I can find
especially the article in Onlamp.
If I do "/usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg"
I get this:
Reading configuration data...
Error: Could not add object property in file
'/usr/local/nagios/etc/hosts.cfg' on line 3.
Here is my hosts.cfg file
-----------begin hosts.cfg-----------------------
# Generic host definition template
define host{
# The name of this host template - referenced i
name generic-host
n other host definitions, used for template recursion/resolution
# Host notifications are enabled
notifications_enabled 1
# Host event handler is enabled
event_handler_enabled 1
# Flap detection is enabled
flap_detection_enabled 1
# Process performance data
process_perf_data 1
# Retain status information across program restarts
retain_status_information 1 # Retain non-status information
across program restarts
retain_nonstatus_information 1
# DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST,
# JUST A TEMPLATE!
register 0
}
# Host Definition
define host{
# Name of host template to use
use generic-host
host_name nagios.lan
alias nagios
address xxx.xxx.xxx.xxx
check_command check-host-alive
max_check_attempts 10
notification_interval 120
notification_period 24x7
notification_options d,u,r
}
----------------end hosts.cfg-------------------
Could anyone point me in the right direction???
Thank you!
Take Care,
Seth Hollen
seth at opentechinc.net
727-919-1598
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list