Check MK: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
6vffdh (Diskussion | Beiträge) |
6vffdh (Diskussion | Beiträge) |
||
(10 dazwischenliegende Versionen desselben Benutzers 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 21: | Zeile 34: | ||
Ubuntu 16.04.5 LTS (2.6.32-042stab127.2). | 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 | |
− | apt-get install gdebi-core | + | sudo apt-get install curl |
− | wget https:// | + | sudo apt-get update |
− | apt-get install curl | ||
− | apt-get update | ||
apt-get update --fix-missing | apt-get update --fix-missing | ||
− | gdebi check-mk-raw-1. | + | sudo gdebi check-mk-raw-1.6.0b3_0.xenial_amd64.deb omd version |
− | |||
ifconfig | ifconfig | ||
omd sites | omd sites | ||
− | omd create | + | omd create cmk |
− | omd start | + | omd start cmk |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Zeile 51: | Zeile 53: | ||
Restarting Apache...OK | Restarting Apache...OK | ||
Created new site ttt with version 1.5.0p7.cre. | Created new site ttt with version 1.5.0p7.cre. | ||
− | + | --- | |
The site can be started with omd start ttt. | The site can be started with omd start ttt. | ||
− | The default web UI is available at http://mail/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 | 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.) | (It can be changed with 'htpasswd -m ~/etc/htpasswd cmkadmin' as site user.) | ||
Please do a su - ttt for administration of this site. | 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 |
Aktuelle Version vom 20. Juli 2019, 12:51 Uhr
- Webseite, Infos
- 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
- 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