distributed monitoring setup - ocsp_command not being executed
Marc Powell
mpowell at ena.com
Wed Oct 29 16:17:16 CET 2003
> -----Original Message-----
> From: jason [mailto:jchambers at shaw.ca]
> Sent: Tuesday, October 28, 2003 5:18 PM
> To: nagios-users at lists.sourceforge.net
>
> Hey all,
> I am trying to setup distributed monitoring and I am running
> into
> wall.
> After following the steps describing setting up the distributed
> server,
> I don't see the ocsp_command getting executed. I can execute the
> submit_check_result script manually.
At first glance your command and nagios config information looks
correct. One thing that you don't mention, and is important, is whether
you have enabled the obsess_over_service option for each service you
wish to submit results for? Here is what I use --
# 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 0 ; Process performance
data
retain_status_information 0 ; 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 none
notification_options c,r
register 0 ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}
# Service definition
define service{
use generic-service
host_name my_host
service_description HTTP
retry_check_interval 3
contact_groups nateng-oncall-servers
check_command check_http
}
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list