Check MK: Unterschied zwischen den Versionen

Aus Meine Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „Category:Linux ; Check_MK Agent download Check_MK Agents für Linux, Windows und andere Systeme die auf einen einzelnen Host installiert werden können,…“)
 
 
(15 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
[[Category:Linux]]
 
[[Category:Linux]]
 +
 +
;Webseite, Infos
 +
 +
[https://mathias-kettner.com/index.html Check_MK]
 +
 +
[https://mathias-kettner.de/download.php? Download]
 +
 +
[https://mathias-kettner.de/subscription.php? Subscription]
 +
 +
[https://mathias-kettner.de/checkmk_windows.html Check MK Windows Agent ]
 +
 +
[https://mathias-kettner.de/cms_check_mk_getting_started.html Geting started]
  
  
Zeile 7: Zeile 19:
  
 
http://omd.server.de/prod/check_mk/agents
 
http://omd.server.de/prod/check_mk/agents
 +
  
 
; Installation Agent
 
; Installation Agent
Zeile 16: Zeile 29:
  
  
;Quick setup OMD auf Ubuntu 16.04
+
;Quick setup OMD auf  
:[https://www.bdjl.de/localhost/?p=4872 Quelle] Feb. 2018
+
 
  
  wget https://mathias-kettner.de/support/1.4.0p24/check-mk-raw-1.4.0p24_0.xenial_amd64.deb
+
Ubuntu 16.04.5 LTS (2.6.32-042stab127.2).
  dpkg -i check-mk-raw-1.4.0p24_0.xenial_amd64.deb
 
  apt-get -f install
 
  
   E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
+
   sudo apt-get install gdebi-core
 +
  wget https://checkmk.de/support/1.6.0b3/check-mk-raw-1.6.0b3_0.xenial_amd64.deb
 +
  sudo apt-get install curl
 +
  sudo apt-get update
 
   apt-get update --fix-missing
 
   apt-get update --fix-missing
   apt-get install traceroute curl dialog  fping graphviz libdbi1 libevent-1.4-2 libltdl7 libnet-snmp-perl
+
   sudo gdebi check-mk-raw-1.6.0b3_0.xenial_amd64.deb  omd version
   apt-get -f install
+
   ifconfig
   service apache2 restart
+
   omd sites
   omd create vihome
+
   omd create cmk
 +
  omd start cmk
  
    Adding /opt/omd/sites/vihome/tmp to /etc/fstab.
 
    Creating temporary filesystem /omd/sites/vihome/tmp...OK
 
    Restarting Apache...OK
 
    Created new site vihome with version 1.4.0p24.cre.
 
  
    The site can be started with omd start vihome.
 
    The default web UI is available at http://server/vihome/
 
  
    The admin user for the web applications is cmkadmin with password: PassXuXuXu
+
  SITE            VERSION          COMMENTS
    It can be changed with 'htpasswd -m ~/etc/htpasswd cmkadmin' as site user. )
+
  root@mail:~# omd create ttt
    Please do a su - vihome for administration of this site.
+
  Adding /opt/omd/sites/ttt/tmp to /etc/fstab.
 +
  Creating temporary filesystem /omd/sites/ttt/tmp...OK
 +
  Restarting Apache...OK
 +
  Created new site ttt with version 1.5.0p7.cre.
 +
  ---
 +
  The site can be started with omd start ttt.
 +
  The default web UI is available at [http://1.1.1.2/ttt/ http://mail/ttt/]
 +
  ---
 +
  The admin user for the web applications is cmkadmin with password: xxxuuuaaa
 +
  (It can be changed with 'htpasswd -m ~/etc/htpasswd cmkadmin' as site user.)
 +
  Please do a su - ttt for administration of this site.
  
    su - vihome
 
  
    cd /opt/omd/sites/vihome/
 
    omd config
 
    WebGUI
 
    own
 
    exit
 
  
   apt-get install check-mk-agent xinetd nagios-plugins-basic
+
root@mail:~# omd help
  apt-get install -f
+
Usage (called as root):
 +
--
 +
omd help                              Show general help
 +
omd setup                              Prepare operating system for OMD (installs packages)
 +
omd uninstall                          Remove OMD and all sites!
 +
omd setversion VERSION                Sets the default version of OMD which will be used by new sites
 +
omd version   [SITE]                  Show version of OMD
 +
omd versions                          List installed OMD versions
 +
omd sites                              Show list of sites
 +
omd create    SITE                    Create a new site (-u UID, -g GID)
 +
omd init      SITE                    Populate site directory with default files and enable the site
 +
omd rm        SITE                    Remove a site (and its data)
 +
omd disable    SITE                    Disable a site (stop it, unmount tmpfs, remove Apache hook)
 +
omd enable    SITE                    Enable a site (reenable a formerly disabled site)
 +
omd mv        SITE NEWNAME            Rename a site
 +
omd cp        SITE NEWNAME            Make a copy of a site
 +
omd update    SITE                    Update site to other version of OMD
 +
omd start      [SITE] [SERVICE]        Start services of one or all sites
 +
omd stop      [SITE] [SERVICE]        Stop services of site(s)
 +
omd restart    [SITE] [SERVICE]        Restart services of site(s)
 +
omd reload    [SITE] [SERVICE]        Reload services of site(s)
 +
omd status    [SITE] [SERVICE]        Show status of services of site(s)
 +
omd config    SITE ...                Show and set site configuration parameters
 +
omd diff      SITE ([RELBASE])        Shows differences compared to the original version files
 +
omd su        SITE                    Run a shell as a site-user
 +
omd umount    [SITE]                  Umount ramdisk volumes of site(s)
 +
omd backup    SITE [SITE] [-|ARCHIVE_PATH] Create a backup tarball of a site, writing it to a file or stdout
 +
omd restore    [SITE] [-|ARCHIVE_PATH] Restores the backup of a site to an existing site or creates a new site
 +
--
 +
General Options:
 +
-V <version>                    set specific version, useful in combination with update/create
 +
omd COMMAND -h, --help          show available options of COMMAND

Aktuelle Version vom 20. Juli 2019, 12:51 Uhr


Webseite, Infos

Check_MK

Download

Subscription

Check MK Windows Agent

Geting started


Check_MK Agent download

Check_MK Agents für Linux, Windows und andere Systeme die auf einen einzelnen Host installiert werden können, befinden sich auf dem Check_MK/Nagios Server, und können von dort geladen werden.

http://omd.server.de/prod/check_mk/agents


Installation Agent
Monitoring Windows with Check_MK
Installing the Linux agent
Monitoring VMWare ESX with Check_MK
Check_MK Config


Quick setup OMD auf


Ubuntu 16.04.5 LTS (2.6.32-042stab127.2).

 sudo apt-get install gdebi-core
 wget https://checkmk.de/support/1.6.0b3/check-mk-raw-1.6.0b3_0.xenial_amd64.deb
 sudo apt-get install curl
 sudo apt-get update
 apt-get update --fix-missing
 sudo gdebi check-mk-raw-1.6.0b3_0.xenial_amd64.deb  omd version
 ifconfig
 omd sites
 omd create cmk
 omd start cmk


 SITE             VERSION          COMMENTS
 root@mail:~# omd create ttt
 Adding /opt/omd/sites/ttt/tmp to /etc/fstab.
 Creating temporary filesystem /omd/sites/ttt/tmp...OK
 Restarting Apache...OK
 Created new site ttt with version 1.5.0p7.cre.
 ---
 The site can be started with omd start ttt.
 The default web UI is available at http://mail/ttt/
 ---
 The admin user for the web applications is cmkadmin with password: xxxuuuaaa
 (It can be changed with 'htpasswd -m ~/etc/htpasswd cmkadmin' as site user.)
 Please do a su - ttt for administration of this site.


root@mail:~# omd help
Usage (called as root):
--
omd help                               Show general help
omd setup                              Prepare operating system for OMD (installs packages)
omd uninstall                          Remove OMD and all sites!
omd setversion VERSION                 Sets the default version of OMD which will be used by new sites
omd version    [SITE]                  Show version of OMD
omd versions                           List installed OMD versions
omd sites                              Show list of sites
omd create     SITE                    Create a new site (-u UID, -g GID)
omd init       SITE                    Populate site directory with default files and enable the site
omd rm         SITE                    Remove a site (and its data)
omd disable    SITE                    Disable a site (stop it, unmount tmpfs, remove Apache hook)
omd enable     SITE                    Enable a site (reenable a formerly disabled site)
omd mv         SITE NEWNAME            Rename a site
omd cp         SITE NEWNAME            Make a copy of a site
omd update     SITE                    Update site to other version of OMD
omd start      [SITE] [SERVICE]        Start services of one or all sites
omd stop       [SITE] [SERVICE]        Stop services of site(s)
omd restart    [SITE] [SERVICE]        Restart services of site(s)
omd reload     [SITE] [SERVICE]        Reload services of site(s)
omd status     [SITE] [SERVICE]        Show status of services of site(s)
omd config     SITE ...                Show and set site configuration parameters
omd diff       SITE ([RELBASE])        Shows differences compared to the original version files
omd su         SITE                    Run a shell as a site-user
omd umount     [SITE]                  Umount ramdisk volumes of site(s)
omd backup     SITE [SITE] [-|ARCHIVE_PATH] Create a backup tarball of a site, writing it to a file or stdout
omd restore    [SITE] [-|ARCHIVE_PATH] Restores the backup of a site to an existing site or creates a new site
--
General Options:
-V <version>                    set specific version, useful in combination with update/create
omd COMMAND -h, --help          show available options of COMMAND