[Nagios-devel] status.dat not created
Posted: Wed Nov 26, 2003 12:42 pm
Hey all,
I'm starting to play with 2.0a1 (CVS autobuild dated 11/25) and I'm
having a problem right off the bat. I'm starting with a pretty simple
compile (only specifying cgi/htmurl) and configuration (3 hosts, 4
services, 1 contact). The hosts and services are set up to be passive --
(template definitions)
define host{
name generic-host =20
notifications_enabled 1 ; Host notifications are
enabled
event_handler_enabled 1 ; Host event handler is
enabled
flap_detection_enabled 1 ; Flap detection is
enabled
process_perf_data 1 ; Process performance
data
retain_status_information 1 ; Retain status
information across program restarts
retain_nonstatus_information 1 ; Retain non-status
information across program restarts
max_check_attempts 10
notification_interval 10080
notification_period 24x7
notification_options d,r
register 0 ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}
# Generic service definition template
define service{
name generic-service
active_checks_enabled 1 ; Active service checks
are enabled
passive_checks_enabled 1 ; Passive service checks
are enabled/accepted
parallelize_check 1 ; Active service checks
should be parallelized
obsess_over_service 1 ; We should obsess over
this service (if necessary)
check_freshness 0 ; Default is to NOT
check service 'freshness'
notifications_enabled 1 ; Service notifications
are enabled
event_handler_enabled 1 ; Service event handler
is enabled
flap_detection_enabled 1 ; Flap detection is
enabled
process_perf_data 1 ; Process performance
data
retain_status_information 1 ; Retain status
information across program restarts
retain_nonstatus_information 1 ; Retain non-status
information across program restarts
is_volatile 0
check_period none
max_check_attempts 5
normal_check_interval 5
retry_check_interval 3
notification_interval 10080
notification_period 24x7
notification_options c,r
register 0 ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}
(example host and service definitions) --
# Host definition
define host {
use generic-host
host_name tnops-cedarbluff-int.knox.tn.ena.net
alias cedarbluff-int.knox.tn.ena.net
address 172.31.73.20
contact_groups tnops
}
#Service definition
define service {
use generic-service
host_name tnops-cedarbluff-int.knox.tn.ena.net
service_description PING
contact_groups tnops
check_command check_ping
}
pre-flight check looks good --
-bash-2.05b$ bin/nagios -v etc/nagios.cfg
Nagios 2.0a1
Copyright (c) 1999-2003 Ethan Galstad ([email protected])
Last Modified: 11-18-2003
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 4 services.
Checking hosts...
Checked 3 hosts.
Checking host groups...
Checked 3 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 100 commands.
Checking time periods...
Checked 4 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking f
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
I'm starting to play with 2.0a1 (CVS autobuild dated 11/25) and I'm
having a problem right off the bat. I'm starting with a pretty simple
compile (only specifying cgi/htmurl) and configuration (3 hosts, 4
services, 1 contact). The hosts and services are set up to be passive --
(template definitions)
define host{
name generic-host =20
notifications_enabled 1 ; Host notifications are
enabled
event_handler_enabled 1 ; Host event handler is
enabled
flap_detection_enabled 1 ; Flap detection is
enabled
process_perf_data 1 ; Process performance
data
retain_status_information 1 ; Retain status
information across program restarts
retain_nonstatus_information 1 ; Retain non-status
information across program restarts
max_check_attempts 10
notification_interval 10080
notification_period 24x7
notification_options d,r
register 0 ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
}
# Generic service definition template
define service{
name generic-service
active_checks_enabled 1 ; Active service checks
are enabled
passive_checks_enabled 1 ; Passive service checks
are enabled/accepted
parallelize_check 1 ; Active service checks
should be parallelized
obsess_over_service 1 ; We should obsess over
this service (if necessary)
check_freshness 0 ; Default is to NOT
check service 'freshness'
notifications_enabled 1 ; Service notifications
are enabled
event_handler_enabled 1 ; Service event handler
is enabled
flap_detection_enabled 1 ; Flap detection is
enabled
process_perf_data 1 ; Process performance
data
retain_status_information 1 ; Retain status
information across program restarts
retain_nonstatus_information 1 ; Retain non-status
information across program restarts
is_volatile 0
check_period none
max_check_attempts 5
normal_check_interval 5
retry_check_interval 3
notification_interval 10080
notification_period 24x7
notification_options c,r
register 0 ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}
(example host and service definitions) --
# Host definition
define host {
use generic-host
host_name tnops-cedarbluff-int.knox.tn.ena.net
alias cedarbluff-int.knox.tn.ena.net
address 172.31.73.20
contact_groups tnops
}
#Service definition
define service {
use generic-service
host_name tnops-cedarbluff-int.knox.tn.ena.net
service_description PING
contact_groups tnops
check_command check_ping
}
pre-flight check looks good --
-bash-2.05b$ bin/nagios -v etc/nagios.cfg
Nagios 2.0a1
Copyright (c) 1999-2003 Ethan Galstad ([email protected])
Last Modified: 11-18-2003
License: GPL
Reading configuration data...
Running pre-flight check on configuration data...
Checking services...
Checked 4 services.
Checking hosts...
Checked 3 hosts.
Checking host groups...
Checked 3 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 1 contacts.
Checking contact groups...
Checked 1 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 100 commands.
Checking time periods...
Checked 4 time periods.
Checking extended host info definitions...
Checked 0 extended host info definitions.
Checking extended service info definitions...
Checked 0 extended service info definitions.
Checking f
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]