mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-20 01:48:07 +00:00
Update checkmk-install.sh
This commit is contained in:
parent
2892762a80
commit
8e1644ab6e
@ -28,18 +28,19 @@ $STD apt-get install -y /opt/checkmk.deb
|
|||||||
echo "${RELEASE}" >"/opt/checkmk_version.txt"
|
echo "${RELEASE}" >"/opt/checkmk_version.txt"
|
||||||
msg_ok "Installed Checkmk"
|
msg_ok "Installed Checkmk"
|
||||||
|
|
||||||
|
motd_ssh
|
||||||
|
customize
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
PASSWORD=$(omd create monitoring | grep "password:" | awk '{print $NF}')
|
||||||
$STD omd start
|
$STD omd start
|
||||||
{
|
{
|
||||||
echo "Application-Credentials"
|
echo "Application-Credentials"
|
||||||
echo "Username: cmkadmin"
|
echo "Username: cmkadmin"
|
||||||
echo "Password: cmkadmin"
|
echo "Password: $PASSWORD"
|
||||||
} >> ~/checkmk.creds
|
} >> ~/checkmk.creds
|
||||||
msg_ok "Created Service"
|
msg_ok "Created Service"
|
||||||
|
|
||||||
motd_ssh
|
|
||||||
customize
|
|
||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -rf /opt/checkmk.deb
|
rm -rf /opt/checkmk.deb
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
|
Loading…
x
Reference in New Issue
Block a user