mirror of
				https://github.com/bashclub/zamba-lxc-toolbox.git
				synced 2025-11-04 08:02:28 +01:00 
			
		
		
		
	Added checkmk prototype (TLS config left)
This commit is contained in:
		
							
								
								
									
										22
									
								
								src/checkmk/constants-service.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								src/checkmk/constants-service.conf
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Authors:
 | 
			
		||||
# (C) 2021 Idea an concept by Christian Zengel <christian@sysops.de>
 | 
			
		||||
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
 | 
			
		||||
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
 | 
			
		||||
 | 
			
		||||
# This file contains the project constants on service level
 | 
			
		||||
 | 
			
		||||
# Create sharefs mountpoint
 | 
			
		||||
LXC_MP="0"
 | 
			
		||||
 | 
			
		||||
# Create unprivileged container
 | 
			
		||||
LXC_UNPRIVILEGED="1"
 | 
			
		||||
 | 
			
		||||
# enable nesting feature
 | 
			
		||||
LXC_NESTING="0"
 | 
			
		||||
 | 
			
		||||
# checkmk version
 | 
			
		||||
CMK_VERSION=2.0.0p4
 | 
			
		||||
# build number of the debian package (needs to start with underscore)
 | 
			
		||||
CMK_BUILD=_0
 | 
			
		||||
							
								
								
									
										16
									
								
								src/checkmk/install-service.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								src/checkmk/install-service.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Authors:
 | 
			
		||||
# (C) 2021 Idea an concept by Christian Zengel <christian@sysops.de>
 | 
			
		||||
# (C) 2021 Script design and prototype by Markus Helmke <m.helmke@nettwarker.de>
 | 
			
		||||
# (C) 2021 Script rework and documentation by Thorsten Spille <thorsten@spille-edv.de>
 | 
			
		||||
 | 
			
		||||
source /root/zamba.conf
 | 
			
		||||
source /root/constants-service.conf
 | 
			
		||||
 | 
			
		||||
wget https://download.checkmk.com/checkmk/$CMK_VERSION/check-mk-$CMK_EDITION-$CMK_VERSION$CMK_BUILD.buster_amd64.deb
 | 
			
		||||
DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical apt -y -qq install ./check-mk-$CMK_EDITION-$CMK_VERSION$CMK_BUILD.buster_amd64.deb
 | 
			
		||||
 | 
			
		||||
omd create --admin-password $CMK_ADMIN_PW $CMK_INSTANCE
 | 
			
		||||
 | 
			
		||||
omd start $CMK_INSTANCE
 | 
			
		||||
		Reference in New Issue
	
	Block a user