Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


check_mk_raw_centos

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
check_mk_raw_centos [2015/05/26 11:52] – [Configure CRE] admincheck_mk_raw_centos [2015/07/02 08:58] admin
Line 6: Line 6:
  
 ====Install OS==== ====Install OS====
-  * Configure network.+  * Configure your network.
   * Configure NTP.   * Configure NTP.
   * Disable SELinux. Normally i would let SELinux be enabled, but with a monitoring system it is one of the few exceptions I make. This service does too many things SELinux doesn't like.   * Disable SELinux. Normally i would let SELinux be enabled, but with a monitoring system it is one of the few exceptions I make. This service does too many things SELinux doesn't like.
   * Configure EPEL repository.   * Configure EPEL repository.
 +  * Create a separate /opt filesystem.
  
 ====Install Check_MK==== ====Install Check_MK====
 +  * Install fonts (for RRD graphs):<code>yum install dejavu-fonts-common dejavu-sans-mono-fonts dejavu-lgc-sans-mono-fonts</code>
   * Download the latest CRE (Check_MK Raw Edition) for CentOS 7.   * Download the latest CRE (Check_MK Raw Edition) for CentOS 7.
   * Install the CRE RPM: <code>yum localinstall check-mk-raw-1.2.6p4-el7-34.x86_64.rpm</code>   * Install the CRE RPM: <code>yum localinstall check-mk-raw-1.2.6p4-el7-34.x86_64.rpm</code>
Line 30: Line 31:
  
 ====Firewall==== ====Firewall====
 +  * Open the appropriate firewall ports (eg. port 80/443)
 +
 +====Upgrade Check_MK====
 +  * Download the new version, for example: check-mk-raw-1.2.6p6-el7-34.x86_64.rpm
 +  * Install the new version:<code>rpm -ivh check-mk-raw-1.2.6p6-el7-34.x86_64.rpm</code>
 +  * Switch to site user (prod):<code>su - prod</code>
 +  * Stop OMD:<code>omd stop</code>
 +  * Update OMD, select the newer version:<code>omd update</code>
 +  * Check versions:<code>OMD[prod]:~$ omd versions
 +1.2.6p4.cre
 +1.2.6p5.cre
 +1.2.6p6.cre (default)</code>
 +  * Start OMD:<code>omd start</code>
 +  * Test!
check_mk_raw_centos.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1