[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: poll time

From: Lutz Mader
Subject: Re: poll time
Date: Fri, 24 Jul 2020 20:31:31 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

Hello sashk,
sorry, no, I think.

The only way to combine services is an additional service with a
"depends on" statement. But this additional service will be monitored
with the slowest cycle rate only.
To combine cycle rates in one service is not possible.

With regards,

> Hi,
> I have a question on how to improve my config file. I have several hosts, 
> which 
> I would like to monitor, but I don't want to run some checks every cycle, and 
> therefore come up with something like code bellow: check host and it's 
> services 
> availability every cycle, but check ssl certificate for expiration once every 
> hour. Is there a way to combine two services definition into a single service 
> definition?
> check host hostname with address
>    if failed ping then alert
>   if failed port 443 with protocol https then alert
>   if failed port 993...
>   if failed port 25...
> check host ssl-hostname with address every 60 cycles
>     if failed port 443 with protocol https
>         and certificate valid > 14 days use ssl options {verify: enable}
>     then alert
> Thanks.
> -S

reply via email to

[Prev in Thread] Current Thread [Next in Thread]