<div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 28, 2018 at 4:33 AM pabe-smokepingmailingliste <<a href="mailto:pabe-smokepingmailingliste@phcn.de">pabe-smokepingmailingliste@phcn.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there an option to define maintenance windows?<br>
<br><br></blockquote><div><br></div><div>No, but you can call an external program as an alert. In that external program, likely some sort of script, you could have it check for time of day and then send an email message or any number of automated functions.</div><div><br></div><dt style="padding-top:1em;font-weight:bold;color:rgb(255,255,255);font-family:sans-serif;font-size:medium;background-color:rgb(76,76,76)"><b>to</b> <i>(mandatory setting)</i></dt><div><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">Either an email address to send alerts to, or the name of a program to execute when an alert matches. To call a program, the first character of the</span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><b style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">to</b><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">value must be a pipe symbol "|". The program will the be called whenever an alert matches, using the following 5 arguments (except if</span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><b style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">edgetrigger</b><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">is 'yes'; see below):</span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><b style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">name-of-alert</b><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">,</span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><b style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">target</b><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">,</span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><b style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">loss-pattern</b><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">,</span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><b style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">rtt-pattern</b><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">,</span><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium"> </span><b style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">hostname</b><span style="background-color:rgb(76,76,76);color:rgb(255,255,255);font-family:sans-serif;font-size:medium">. You can also provide a comma separated list of addresses and programs.</span> </div></div></div>