Have a Question?
Upgrade Checkmk Raw to Enterprise Free Edition
Steps to upgrade exiting Checkmk Raw to Enterprise Free Edition which is limited to two sites, each with a maximum of 10 hosts that can be monitored.
- Download the latest version of Checkmk Enterprise – Free Edition for CentOS 7 and transfer it to existing Checkmk Raw Edition Server
- Install the checkmk enterprise free edition
[root@checkmk tmp]# yum install check-mk-enterprise-1.6.0p11.demo-el7-38.x86_64.rpm
- Verify the Checkmk Enterprise Free Edition (.cee) is installed successfully
[root@checkmk tmp]# omd version
OMD - Open Monitoring Distribution Version 1.6.0p11.cee.demo
- Switch to installed checkmk site and upgrade from Raw to Enterprise Edition
[root@checkmk tmp]# su checkmk
OMD[checkmk]:~$ omd version
OMD - Open Monitoring Distribution Version 1.6.0p11.cre
OMD[checkmk]:~$ omd stop
OMD[checkmk]:~$ omd update
Select the Checkmk Enterprise Free Edition (.cee.demo) and click Update Now
- Start omd services
OMD[checkmk]:~$ omd start
- Login to https://FQDN-CHECKMK/checkmk to verify that it had been upgraded to Enterprise Free Edition
Change the Core from NAGIOS to CMC
Change the Core Engine from nagios to CMC (Check_MK Micro Core)
# Verify the existing CORE used
[root@checkmk tmp]# omd config checkmk show
CORE: nagios
PNP4NAGIOS: on
#Stop the omd site
[root@checkmk tmp]# omd stop
#Change from nagios to cmc
[root@checkmk tmp]# omd config checkmk set CORE cmc
#Start the omd site
[root@checkmk tmp]# omd start
# Verify Core is changed to cmc now
[root@checkmk tmp]# omd config checkmk show
CORE: cmc
Advanced Graphing
Enable the new CMC format to replace the existing pnp4nagios
- Backup existing graph data in ~/var/pnp4nagios/perfdata/ to /tmp/backup.tar
tar -cvzf ~/tmp/backup.tar ~/var/pnp4nagios/perfdata/
- Go to WATO-CONFIGURATION – Host & Service Parameters – Monitoring Configuration – Various – Configuration of RRD database of hosts
- Create a new rule for RRD Storage Format = One RRD per host/service (saves disk IO, only with CMC) and activate the changes
- Migrate existing RRDs to new format
[root@checkmk tmp]# su checkmk
# Migrate existing RRDs
OMD[mysite]:~$ cmk --convert-rrds -v
# Path for new RRDs files
OMD[checkmk]:~/var/check_mk/rrd$ ls
AVENTIS-AD01/ AVENTIS-MGMT/
- Delete all files in ~/var/pnp4nagios/perfdata to free up disk space
OMD[mysite]:~$ cmk --convert-rrds --delete-rrds -v
- Click on the graph icon to view the Graph
Reference Links