[Nagiosplug-help] Passive control expiring time

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Feb 24 04:22:52 CET 2007


On 21/02/07 12:06 PM, D.Parise at iaea.org wrote:
>  Thanks, I understood how it works:
> 
> You have to config both passive and active checks and you can configure
> the active check to change the status if the passive message is too old.
> Here is a sample configuration of a template:
> 
> 
> 
> define service{
>         name                            passive-service
>         use                             generic-service
>         active_checks_enabled           1
>         passive_checks_enabled          1
>         flap_detection_enabled          0
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts              1
>         normal_check_interval           5
>         retry_check_interval            1
>         check_freshness                 1
>         contact_groups                  admins
>         check_command                   check_nsca!2!'No Message'
>         notification_interval           120
>         notification_period             24x7
>         notification_options            w,u,c,r
>         stalking_options                w,c,u
>         register                        0
>         }
> 
> Check_nsca is a command that use check_dummy to send CRITICAL with
> description 'No Message'

You got how it works, but you should rather run check_dummy directly
from nagios. You will have to create a new command definition.

You do:

Nagios --> check_nrpe --[tcp]--> nrpe --> check_dummy

You should do:

Nagios --> check_dummy

Regards,

Thomas




More information about the Help mailing list