Re: missing or invalid Authorization header

2017-07-18 Thread mart...@tildeslash.com
Hello Thomas, this error is usually related to the first request the browser sends, as the browser doesn't "know" yet, that authorization is required. Monit sends a "401" response and browser then repeats the request with Basic authentication (some browsers send multiple requests in parallel, f

Re: Planned Downtime

2017-07-18 Thread mart...@tildeslash.com
You can use the M/Monit HTTP-API to switch the host status to "ignored" before the planned downtime starts and back to "active" when it stops ... see the /admin/hosts/update method for details: https://mmonit.com/documentation/http-api/Methods/Admin_Hosts Example of simple script: