|
Steve,
I have nsca setup on my nagios 1.2 box and I have the send_nsca setup on my windows 2k box correctly.
But when I try to setup the service in nagios using two different services definitions that I found as examples I am getting the following messsages.
#define service {
# service_description Event Log
# host_name tech-dvd
# active_checks_enabled 1
# check_period 24x7
# passive_checks_enabled 1
# flap_detection_enabled 0
# notification_period 24x7
# max_check_attempts 1
# normal_check_interval 5
# notification_options c,r
# check_freshness 1
# 1800 sec = 30 min
# freshness_threshold 1800
# check_command ok!No alerts in last 30 min
#}
Error: Invalid max_attempts, check_interval, retry_interval, or notification_int erval value for service 'Event Log' on host 'tech-dvd'
Error: Could not register service (config file '/usr/local/nagios/etc/services.c fg', line 6187)
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation on the main and host config files, as well as the
'Whats New' section to find out what has changed.
#define service {
# service_description EventLog
# host_name tech-dvd
# active_checks_enabled 1
# check_period none
# passive_checks_enabled 1 ; passive checks allowed
# flap_detection_enabled 0
# is_volatile 1 ; allow to change frequently
# notification_period 24x7
# max_check_attempts 1 ; number of fails before alert
# normal_check_interval 5 ; should be 5
# notification_options ,c,r
# stalking_options w,c,u ; track changes of alert message as well
#}
Reading configuration data...
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file '/usr/local/nagios/etc/services.cfg', line 6187)
***> One or more problems was encountered while processing the config files...
Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation on the main and host config files, as well as the
'Whats New' section to find out what has changed.
And the windows machine keeps putting errors in the event log about missing dll's. I am able to telnet to my nagios box on port 5667 and get a bunch of weird characters to come back.
I am hoping that you can help me out.
Thanks,
Don
|