Check MK: Unterschied zwischen den Versionen

Aus Meine Wiki
Zur Navigation springen Zur Suche springen
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 36: Zeile 36:
  
  
[https://mathias-kettner.de/download.php? ]
+
[https://mathias-kettner.de/download.php? Download]
[https://mathias-kettner.de/subscription.php? ]
 
  
[https://mathias-kettner.de/checkmk_windows.html ]
+
[https://mathias-kettner.de/subscription.php? Subscription]
  
[https://mathias-kettner.de/cms_check_mk_getting_started.html ]
+
[https://mathias-kettner.de/checkmk_windows.html Check MK Windows Agent ]
  
 +
[https://mathias-kettner.de/cms_check_mk_getting_started.html Geting started]
  
;Quick setup OMD auf Ubuntu 16.04
 
:[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
+
  SITE            VERSION          COMMENTS
  dpkg -i check-mk-raw-1.4.0p24_0.xenial_amd64.deb
+
  root@mail:~# omd create ttt
  apt-get -f install
+
  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://213.202.238.208/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.
  
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
 
  apt-get update --fix-missing
 
  apt-get install traceroute curl dialog  fping graphviz libdbi1 libevent-1.4-2 libltdl7 libnet-snmp-perl
 
  apt-get -f install
 
  service apache2 restart
 
  omd create vihome
 
  
    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.
+
root@mail:~# omd help
    The default web UI is available at http://server/vihome/
+
Usage (called as root):
 
+
--
    The admin user for the web applications is cmkadmin with password: PassXuXuXu
+
omd help                              Show general help
     It can be changed with 'htpasswd -m ~/etc/htpasswd cmkadmin' as site user. )
+
omd setup                              Prepare operating system for OMD (installs packages)
     Please do a su - vihome for administration of this site.
+
omd uninstall                          Remove OMD and all sites!
 
+
omd setversion VERSION                Sets the default version of OMD which will be used by new sites
    su - vihome
+
omd version    [SITE]                  Show version of OMD
 
+
omd versions                          List installed OMD versions
     cd /opt/omd/sites/vihome/
+
omd sites                              Show list of sites
     omd config
+
omd create     SITE                    Create a new site (-u UID, -g GID)
    WebGUI
+
omd init      SITE                    Populate site directory with default files and enable the site
     own
+
omd rm        SITE                    Remove a site (and its data)
     exit
+
omd disable    SITE                    Disable a site (stop it, unmount tmpfs, remove Apache hook)
 
+
omd enable     SITE                    Enable a site (reenable a formerly disabled site)
   apt-get install check-mk-agent xinetd nagios-plugins-basic
+
omd mv        SITE NEWNAME            Rename a site
  apt-get install -f
+
omd cp        SITE NEWNAME            Make a copy of a site
Jjjjj
+
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

Version vom 12. November 2018, 21:34 Uhr


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).


 apt-get install gdebi-core
 wget https://mathias-kettner.de/support/1.5.0p7/check-mk-raw-1.5.0p7_0.xenial_amd64.deb
 apt-get install curl
 apt-get update
 apt-get update --fix-missing
 gdebi check-mk-raw-1.5.0p7_0.xenial_amd64.deb
 omd version
 ifconfig
 omd sites
 omd create ttt
 omd start ttt


Download

Subscription

Check MK Windows Agent

Geting started


 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