omd start <site> --rescue --- The ability to launch a site in all off mode
The ability to launch a site for debugging or disabling checks in a Rescue Mode.
z. e.g. omd start <site> --rescue
starts the site without host checks, service checks, notification, alert handler, flap detection, performance data so to say master control all off
Comments: 11
-
22 May, '22
Thomas Lippert Admin MergedSometimes it is required to clone a site and start it. Unfortunately, it requires the master control to disable checks and notifications. So some false alerts are triggered.
Please allow to start a site with master control settings set from the command line -
07 Sep, '22
mimimi Merged+1
++++++++++ -
01 Mar, '23
Tanja Hohenstatt Admin"Start site without checks and notifications" (suggested by Thomas Lippert on 2022-05-22), including upvotes (16) and comments (1), was merged into this suggestion.
1 -
21 Mar, '23
Docabsolutely +1!!!!
-
13 Dec, '23
Daniel RoettgermannI think this should be considered and "joined" with the topic to overwork the "Simulation Mode"
1
Its not only the backup you wanna take and start somewhere else as a Test Site
It can also be, just creating a copy/clone localy.
Some ideas in general regarding this Feature Request: Part1
Like "omd cp" you could add "omd clone-sim"
What could that mean afterwards?
#Host Simulation Data
All Datasources for each Host will be moved towards cat ~/var/check_mk/agent_output/$HOSTNAME$
Ensuring not to trigger the Agent, pulling data from the Host by two Sites (Prodcution & Simulation)
#Notifications
ALL Notification will be disabled.
This does also include the once configured by users themself
All Notification spooler Files will be deleted before starting the site
#Inventory
Retention Time should be set to an maximun
#Ports
Making sure the site does not have the same port if running on the same Host -
13 Dec, '23
Daniel RoettgermannPart2
1
#Master/Slave - Choose Option
Master is simple, but Slave site can be more tricky.
There need to be an option to Switch a Slave site into becoming a master side
Why? There are many different daily business scenarios, one could be, Slave site is running only particular SNMP Devices
and there is no need to test the full Distributed Monitoring, as you are only interested in the SNMP Checks to Simulate and test.
Right now if you wanna change from Slave->Master you need to edit 3 different files manually
#changing names
With "omd clone-sim" it should also be possible to change the name of a site.
#Eventconsole
# default off, should be possible to switch on/off
#Cronjobs
Custom Cronjobs to be considered as well
Most likely there is more to it, just some thoughts for now -
14 Dec, '23
Niklas Pulina AdminHi Daniel, thanks a lot for the comprehensive description of the desired behavior of this feature. Highly appreciated!
You asked for joining this suggestion with "the topic to overwork the 'Simulation Mode'". Could you please post the URL of the suggestion you have in mind?
Many thanks in advance! -
03 Jan, '24
Daniel RoettgermannHi Niklas
There was no post for this here - CMK internal discussion with Simon/Martin/...
Cheers -
05 Jan, '24
Niklas Pulina AdminUnderstood. Thanks for clarifying!
-
31 Jan, '24
DanielI think it should be given kind of a higher priority as it makes it easy to create a proper simulation mode and we can find errors like the ones in p18/p19 before we jump into production
so most likely more people will use it and it gives you quicker feedback
just some thoughts
cheers -
25 Jun, '24
MichaelI'd like to express our organzations need for this feature as well. It seems like a neccesary feature for every bigger setup. It would greatly simplifiy testing new versions.