[omd-devel] OMD 1.20 breaks being able to place a host into downtime from a script
feedback at mathias-kettner.de
Mon Jun 29 12:09:14 CEST 2015
sorry for the late response. You will need to use a user account which
authenticates with an automation secret instead of a normal user account
for setting the downtime. I just added the note to the mentioned
The current downtime script works with the current Check_MK version
On 02.03.2015 19:33, Scott Shannon wrote:
> Thank you for the pointer. Unfortunately, this is the very document I've been following. It works successfully with OMD 1.10, but the very same command fails to put the host into downtime for OMD 1.20. I have not been able to find any logs or anything that would give me a clue as to why it is failing. As mentioned, I had a test site that was running OMD 1.10 that worked, and after updating to 1.20 with no other changes it no longer worked.
> I had also found your downtime.py script which I have dabbled with as well. It too works on OMD 1.10 sites, but not on OMD 1.20 sites.
> All fingers point to OMD 1.20, but I have no idea why. Was there a new (global?) setting introduced in 1.20 that inhibits such scripts from executing by default, and all I have to do is change that setting??
> By the way, we love your product!! Very simple to manage and maintain! I'm still learning my way around to some degree, and I'm sure there's much more I can do with it that I haven't discovered yet. We moved to this from a (much) older version of just straight Nagios that was a much more difficult beast to maintain.
> Thank you for your time!
> Scott Shannon
> -----Original Message-----
> From: Mathias Kettner [mailto:mk at mathias-kettner.de]
> Sent: Monday, March 02, 2015 4:24 AM
> To: OMD developers mailing list (english)
> Cc: Scott Shannon
> Subject: Re: [omd-devel] OMD 1.20 breaks being able to place a host into downtime from a script
> Hi Scott,
> when you want to set downtimes via HTTP, please have a look here:
> Am 26.02.2015 um 20:18 schrieb Scott Shannon:
>> My production OMD site is running OMD 1.20. I played around with the
>> syntax presented on various web sites to place a host into downtime,
>> all without any success.
>> Finally I decided to try it on a crash and burn OMD site running 1.10.
>> It worked first time, and there was great rejoicing! Comparison of
>> configurations between the 1.10 site and the 1.20 site did not yield
>> anything that really struck me as being a problem.
>> I then updated the 1.10 site to 1.20. Instant failure - the command
>> that I had used before no longer worked, yielding the same (lack of)
>> results as the production OMD site.
>> Why is this? What changed between 1.10 and 1.20 that would change the
>> Thank you!
>> Scott Shannon
>> -- The information contained in this transmission may be confidential.
>> Any disclosure, copying, or further distribution of confidential
>> information is not permitted unless such privilege is explicitly
>> granted in writing by Quantum. Quantum reserves the right to have
>> electronic communications, including email and attachments, sent
>> across its networks filtered through anti virus and spam software
>> programs and retain such messages in order to comply with applicable
>> data security and retention requirements. Quantum is not responsible
>> for the proper and complete transmission of the substance of this
>> communication or for any delay in its receipt.
>> omd-devel mailing list
>> omd-devel at lists.mathias-kettner.de
> Die Videomitschnitte der 1. Check_MK Konferenz sind jetzt online!
> Mathias Kettner GmbH
> Kellerstraße 29, 81667 München, Germany
> Registergericht: Amtsgericht München, HRB 165902
> Geschäftsführer: Mathias Kettner
> Tel. +49 89 1890 435-0
> Fax. +49 89 1890 435-29
Mathias Kettner GmbH
Kellerstraße 29, 81667 München, Germany
Registergericht: Amtsgericht München, HRB 165902
Geschäftsführer: Mathias Kettner
Tel. +49 89 1890 435-12
Fax. +49 89 1890 43529
More information about the omd-devel