### OMD Documentation: Getting Started Source: https://omd.consol.de/docs/snclient/checks A guide for new users to get started with OMD, covering initial setup and basic configuration. -------------------------------- ### OMD Documentation - Getting Started Source: https://omd.consol.de/docs/omd/packages A guide for new users to get started with OMD, covering initial setup and basic usage. -------------------------------- ### SNClient Installation Instructions Source: https://omd.consol.de/docs/omd/howtos/kerberos Guides for installing SNClient on various operating systems, including Windows, RHEL, Debian, and OSX, as well as installation from source. ```text Windows RHEL Debian OSX From Source Supported OS ``` -------------------------------- ### Install snclient MSI with Parameters Source: https://omd.consol.de/docs/snclient/install/windows Installs the snclient MSI package with specified parameters, logging the installation process to a file. This example demonstrates setting a password and including a remote INI file for configuration. ```batch msiexec.exe /i snclient.msi /l*V snclient_installer.log /qn PASSWORD="test" INCLUDES="https://company.local/snclient_local.ini" ``` -------------------------------- ### SNClient Installation Documentation Source: https://omd.consol.de/docs/omd/packages/check_sap_health Guides for installing SNClient on various operating systems, including Windows, RHEL, Debian, and OSX, as well as installation from source. It also lists supported operating systems. ```text SNClient * Installation * Windows * RHEL * Debian * OSX * From Source * Supported OS ``` -------------------------------- ### OMD SNClient Installation RHEL Source: https://omd.consol.de/docs/omd/filesystem_layout Guides for installing SNClient on RHEL within OMD. -------------------------------- ### SNClient Installation RHEL Source: https://omd.consol.de/docs/omd/packages Guides for installing SNClient on Red Hat Enterprise Linux (RHEL) systems. -------------------------------- ### SNClient Installation Instructions Source: https://omd.consol.de/docs/snclient/prometheus/managed Instructions for installing SNClient on various operating systems including Windows, RHEL, Debian, and OSX, as well as installation from source. ```Shell # Example installation commands (conceptual) # For RHEL: yum install snclient # For Debian: apt-get install snclient # From Source: ./configure && make && make install ``` -------------------------------- ### SNClient Installation - From Source Source: https://omd.consol.de/docs/plugins Instructions for installing SNClient by compiling from source code. ```text From Source ``` -------------------------------- ### SNClient Installation From Source Source: https://omd.consol.de/docs/omd/migration_5 Instructions for installing SNClient by compiling from source code. ```text From Source ``` -------------------------------- ### SNClient Installation From Source Source: https://omd.consol.de/docs/omd/packages Guidance on installing SNClient by compiling from source code. -------------------------------- ### SNClient Installation (From Source) Source: https://omd.consol.de/docs/snclient/prometheus/exporter Instructions for installing SNClient by compiling from source code. This section would typically include build dependencies, compilation commands, and installation steps. ```English This section provides instructions for installing SNClient from source. It covers build dependencies and compilation steps. ``` -------------------------------- ### SNClient Installation: From Source Source: https://omd.consol.de/docs/snclient/checks Covers the procedure for compiling and installing SNClient from its source code. -------------------------------- ### SNClient Installation RHEL Source: https://omd.consol.de/docs/omd/filesystem_layout Guides for installing SNClient on Red Hat Enterprise Linux (RHEL) systems. -------------------------------- ### Start All OMD Components Source: https://omd.consol.de/docs/omd/getting_started Starts all the components associated with the current OMD site. This command is executed as the site user. ```bash OMD[demosite@host]:~$ omd start ``` -------------------------------- ### OMD Console Package - check_vsphere commands Examples Source: https://omd.consol.de/docs/snclient/prometheus/managed Examples demonstrating the usage of specific commands within the check_vsphere plugin. ```Shell # Example: Check datastore usage check_vsphere -H vcenter.example.com -u user -p 'pass' --datastore "VMFS-1" # Example: Check VM Tools status check_vsphere -H vcenter.example.com -u user -p 'pass' --vm "MyVM" --vm-tools ``` -------------------------------- ### SNClient Installation From Source Source: https://omd.consol.de/docs/omd/filesystem_layout Guidance on compiling and installing SNClient from its source code. -------------------------------- ### Coshsh Cookbook Configuration Source: https://omd.consol.de/docs/coshsh Example of a Coshsh cookbook file (`.cfg`) which defines the overall setup, including datasources, recipes, and global parameters. This INI-style file is the entry point for Coshsh's configuration generation process. ```INI [global] [datasources] [recipes] ``` -------------------------------- ### SNClient Installation Documentation Source: https://omd.consol.de/docs/snclient/install Provides OS-specific installation instructions for SNClient, including guidance for Windows, RHEL/Rocky/Alma, Debian/Ubuntu, and Mac OSX. It also directs users to the SNClient Releases Page for stable packages and mentions the need to expand assets for download links. ```text ## Installation There is a OS specific installation documentation available for: * Windows * RHEL/Rocky/Alma * Debian/Ubuntu * Mac OSX ## Using Binary Packages Using packages is the recommended way to install SNClient. Find a list of supported OS distributions here. ### Stable Releases Stable release installation packages can be found here: * SNClient Releases Page You might need to expand the assets to find the download links. ``` -------------------------------- ### OMD SNClient Installation From Source Source: https://omd.consol.de/docs/omd/packages Instructions for installing SNClient from source as part of OMD. -------------------------------- ### SNClient Installation From Source Source: https://omd.consol.de/docs/plugins/eventhandler Guidelines for compiling and installing SNClient from its source code. This provides the most flexibility but requires development tools. ```Shell # SNClient Installation From Source # Example: ./configure && make && make install ``` -------------------------------- ### Kerberos Configuration Example Source: https://omd.consol.de/docs/omd/howtos/kerberos Provides example configurations for Kerberos integration, including krb5.conf and auth.conf files, for setting up secure authentication within the OMD environment. ```text Example krb5.conf Example auth.conf ``` -------------------------------- ### SNClient Installation RHEL Source: https://omd.consol.de/docs/mod-gearman/configuration Instructions for installing SNClient on Red Hat Enterprise Linux (RHEL) systems. This guide covers the necessary steps for deployment on RHEL. ```SNClient Installation RHEL ``` -------------------------------- ### SNClient Installation Source: https://omd.consol.de/docs/mod-gearman/configuration/module Instructions for installing SNClient on various operating systems. Includes support for Windows, RHEL, Debian, OSX, and installation from source. ```text Windows RHEL Debian OSX From Source Supported OS ``` -------------------------------- ### OMD Console Package - check_vmware_esx Examples Source: https://omd.consol.de/docs/snclient/prometheus/managed Examples demonstrating the usage of the check_vmware_esx package for monitoring VMware ESXi hosts. ```Shell # Example: Check ESXi host CPU usage check_vmware_esx -H esxi.example.com -u admin -p 'password' --metric cpu.usage.average # Example: Check datastore free space check_vmware_esx -H esxi.example.com -u admin -p 'password' --datastore "datastore1" --metric datastore.freeSpace.latest ``` -------------------------------- ### OMD SNClient Installation From Source Source: https://omd.consol.de/docs/omd/filesystem_layout Guidance on installing SNClient from source within OMD. -------------------------------- ### SNClient Installation (Windows) Source: https://omd.consol.de/docs/snclient/prometheus/exporter Instructions for installing SNClient on Windows operating systems. This section would typically include prerequisites, download links, and installation steps. ```English This section provides instructions for installing SNClient on Windows. It covers prerequisites and the installation process. ``` -------------------------------- ### Install EPEL Repository (RHEL/CentOS) Source: https://omd.consol.de/docs/omd/getting_started Installs the Extra Packages for Enterprise Linux (EPEL) repository, which is often a prerequisite for installing other software packages on RHEL-based systems. ```bash #> rpm -Uvh https://download.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ``` -------------------------------- ### OMD Plugins check_logfiles Examples Source: https://omd.consol.de/docs/omd/filesystem_layout Provides examples for using the check_logfiles plugin. -------------------------------- ### Install CONSOL Labs Repository (RHEL/CentOS) Source: https://omd.consol.de/docs/omd/getting_started Installs the CONSOL Labs stable repository for RHEL 7, enabling the installation of OMD and related packages from CONSOL. ```bash #> rpm -Uvh "https://labs.consol.de/repo/stable/rhel7/i386/labs-consol-stable.rhel7.noarch.rpm" ``` -------------------------------- ### OMD Plugins check_logfiles Examples Source: https://omd.consol.de/docs/omd/migration_5 Provides examples for using the check_logfiles plugin. ```text Examples ``` -------------------------------- ### SNClient Installation from Source Source: https://omd.consol.de/docs/omd/builds Instructions for installing SNClient by compiling from source code. This method provides more control but requires development tools and libraries. ```text From Source ``` -------------------------------- ### OMD Howto GIT Source: https://omd.consol.de/docs/omd/filesystem_layout Guide on using GIT within the OMD environment. -------------------------------- ### Install OMD Package (RHEL/CentOS) Source: https://omd.consol.de/docs/omd/getting_started Installs the OMD (On-site Monitoring Distribution) package using yum, after the necessary repositories have been added. ```bash #> yum install omd ``` -------------------------------- ### OMD Plugins: check_logfiles Examples Source: https://omd.consol.de/docs/omd/howtos Examples for using the check_logfiles plugin. ```OMD check_logfiles Examples ``` -------------------------------- ### SNClient Installation Debian Source: https://omd.consol.de/docs/omd/migration_5 Instructions for installing SNClient on Debian-based Linux systems. ```text Debian ``` -------------------------------- ### OMD SNClient Installation Source: https://omd.consol.de/docs/omd/migration_5 Instructions for installing the SNClient component in OMD. ```text Installation ``` -------------------------------- ### SNClient Installation - Debian Source: https://omd.consol.de/docs/plugins Instructions for installing SNClient on Debian-based Linux distributions. ```text Debian ``` -------------------------------- ### OMD Console Package - check_logfiles Examples Source: https://omd.consol.de/docs/snclient/prometheus/managed Specific examples demonstrating the usage of the check_logfiles package for monitoring log files. ```Shell # Example: Check for 'ERROR' in syslog check_logfiles -f /var/log/syslog -p "ERROR" # Example: Check for specific pattern with case-insensitivity check_logfiles -f /var/log/messages -p "warning" -i ``` -------------------------------- ### SNClient Installation Windows Source: https://omd.consol.de/docs/omd/packages Instructions for installing SNClient on Windows operating systems. -------------------------------- ### Install VMware SDK using install_vmware_sdk.sh Source: https://omd.consol.de/docs/omd/packages/check_vmware_esx This command demonstrates how to use the provided helper script to install the VMware vSphere Perl SDK. Ensure you have downloaded the SDK tarball from VMware. ```shell %> ./share/doc/check_vmware_esx/install_vmware_sdk.sh /tmp/VMware-vSphere-Perl-SDK-5.5.0-1384587.x86_64.tar.gz ``` -------------------------------- ### OMD Plugins Documentation - check_logfiles Examples Source: https://omd.consol.de/docs/omd/packages Provides examples of how to use the check_logfiles plugin for monitoring log files. -------------------------------- ### SNClient Installation From Source Source: https://omd.consol.de/docs/mod-gearman/configuration Instructions for compiling and installing SNClient from its source code. This method provides flexibility for custom builds and specific environments. ```SNClient Installation From Source ``` -------------------------------- ### SNClient Installation - OSX Source: https://omd.consol.de/docs/plugins Instructions for installing SNClient on macOS (OSX) systems. ```text OSX ``` -------------------------------- ### Install SNClient on Debian/Ubuntu Source: https://omd.consol.de/docs/snclient/install/debian Installs the SNClient package on Debian or Ubuntu systems using the ConSol Software Repository. This is the recommended installation method. ```bash #> apt install snclient ``` -------------------------------- ### OMD SNClient Installation Windows Source: https://omd.consol.de/docs/omd/packages Instructions for installing SNClient on Windows as part of OMD. -------------------------------- ### SNClient Installation OSX Source: https://omd.consol.de/docs/omd/migration_5 Instructions for installing SNClient on macOS (OSX) systems. ```text OSX ``` -------------------------------- ### OMD Documentation - Howtos Source: https://omd.consol.de/docs/mod-gearman/configuration/module A list of 'how-to' guides for OMD, covering various functionalities. This includes setting up GIT, Grafana graphing, HTML notifications, Kerberos authentication, and SNMP exporters. ```text GIT Grafana Graphing HTML Notifications Kerberos SNMP Exporter ``` -------------------------------- ### SNClient Installation OSX Source: https://omd.consol.de/docs/omd/packages Steps for installing SNClient on macOS (OSX) systems. -------------------------------- ### OMD Packages - check_logfiles Examples Source: https://omd.consol.de/docs/snclient/prometheus/exporter Example usage scenarios for the check_logfiles plugin within OMD. This section provides practical examples of how to configure and use the plugin. ```English This section provides example configurations and usage scenarios for the check_logfiles plugin in OMD. ``` -------------------------------- ### OMD SNClient Installation RHEL Source: https://omd.consol.de/docs/omd/packages Instructions for installing SNClient on RHEL as part of OMD. -------------------------------- ### OMD SNClient Installation - Windows Source: https://omd.consol.de/docs/plugins Instructions for installing SNClient on Windows operating systems. ```text Windows ``` -------------------------------- ### SNClient Installation Debian Source: https://omd.consol.de/docs/omd/packages Instructions for installing SNClient on Debian-based Linux distributions. -------------------------------- ### SNClient Installation Debian Source: https://omd.consol.de/docs/omd/filesystem_layout Steps for installing SNClient on Debian-based Linux distributions. -------------------------------- ### SNClient Installation Debian Source: https://omd.consol.de/docs/mod-gearman/configuration Instructions for installing SNClient on Debian-based Linux distributions. This guide details the deployment process for Debian systems. ```SNClient Installation Debian ``` -------------------------------- ### SNClient Installation Windows Source: https://omd.consol.de/docs/omd/filesystem_layout Instructions for installing SNClient on Windows operating systems. -------------------------------- ### SNClient Installation OSX Source: https://omd.consol.de/docs/mod-gearman/configuration Instructions for installing SNClient on macOS (OSX) systems. This guide covers the deployment steps for Apple's operating system. ```SNClient Installation OSX ``` -------------------------------- ### OMD SNClient Installation OSX Source: https://omd.consol.de/docs/omd/packages Instructions for installing SNClient on OSX as part of OMD. -------------------------------- ### SNClient Installation Debian Source: https://omd.consol.de/docs/plugins/eventhandler Instructions for installing SNClient on Debian-based Linux distributions. This usually involves apt-get commands. ```Shell # SNClient Installation Debian # Example: apt-get install snclient ``` -------------------------------- ### Get Nagios Version Source: https://omd.consol.de/docs/omd/packages/nagios This snippet shows the command to retrieve the installed version of Nagios. ```bash nagios --version ``` -------------------------------- ### OMD Documentation - Howtos Kerberos Source: https://omd.consol.de/docs/omd/packages How-to guides for integrating OMD with Kerberos for authentication. -------------------------------- ### OMD SNClient Installation Debian Source: https://omd.consol.de/docs/omd/packages Instructions for installing SNClient on Debian as part of OMD. -------------------------------- ### SNClient Installation: Windows Source: https://omd.consol.de/docs/snclient/checks Provides instructions for installing SNClient on Windows operating systems. -------------------------------- ### OMD SNClient Installation Windows Source: https://omd.consol.de/docs/omd/filesystem_layout Instructions for installing SNClient on Windows within OMD. -------------------------------- ### Get Naemon Version Source: https://omd.consol.de/docs/omd/packages/naemon Command to retrieve the installed version of the Naemon monitoring core. ```bash naemon --version ``` -------------------------------- ### SNClient Installation (Debian) Source: https://omd.consol.de/docs/snclient/prometheus/exporter Instructions for installing SNClient on Debian-based Linux systems. This section would typically include package management commands and configuration steps. ```English This section provides instructions for installing SNClient on Debian. It covers package management and configuration. ``` -------------------------------- ### OMD SNClient Installation Debian Source: https://omd.consol.de/docs/omd/filesystem_layout Steps for installing SNClient on Debian within OMD. -------------------------------- ### SNClient Installation RHEL Source: https://omd.consol.de/docs/omd/migration_5 Instructions for installing SNClient on Red Hat Enterprise Linux (RHEL) systems. ```text RHEL ``` -------------------------------- ### OMD Documentation: Troubleshooting Source: https://omd.consol.de/docs/snclient/checks A guide to troubleshooting common issues encountered with OMD installations and configurations. -------------------------------- ### Coshsh Recipe Configuration Example Source: https://omd.consol.de/docs/coshsh Illustrates the definition of a Coshsh recipe, specifying required and optional parameters for data sources, directories, output handling, filtering, and Git initialization. ```configuration [recipe_my_linux_servers] datasources = cmdb_linux, local_overrides_csv classes_dir = %(OMD_ROOT)/local/etc/coshsh/my_classes, %(OMD_ROOT)/share/coshsh/recipes/custom_apps/classes templates_dir = /opt/my_app/coshsh_templates objects_dir = %(OMD_ROOT)/etc/nagios/conf.d/generated_configs_linux datarecipients = >>>, prometheus_output, audit_log_db filter = main_cmdb(os_type=~linux.*, status=active), other_source(tag=prod) git_init = no max_delta = 10:15 log_file = %(OMD_ROOT)/var/log/coshsh/my_linux_servers.log pid_dir = %(OMD_ROOT)/run/coshsh/my_linux_servers force = yes safe_output = no ENV_MY_CUSTOM_PATH = /opt/special_tools ``` -------------------------------- ### SNClient Filter Syntax Example Source: https://omd.consol.de/docs/snclient/checks/filter Demonstrates the basic syntax for filtering objects in SNClient, where an attribute is compared to a value using a specific operator. This example shows how to filter for a 'started' status. ```OMD Console SNClient filter="status = 'started'" ``` -------------------------------- ### check_logfiles Configuration Example Source: https://omd.consol.de/docs/plugins/check_logfiles An example of a check_logfiles configuration file, demonstrating how to set the script path, define custom macros, and configure search patterns with associated scripts and options. ```nagioscfg $scriptpath = '/usr/bin/my_application/bin:/usr/local/nagios/contrib'; $MACROS = { MY_FUNNY_MACRO => 'hihihihohoho', MY_VOLUME => 'loud' }; @searches = ( { tag => 'fun', logfile => '/var/adm/messages', criticalpatterns => 'a funny pattern', script => 'laugh.sh', scriptparams => '$MY_VOLUME$', options => 'noprotocol,script,perfdata' }, ); ``` -------------------------------- ### Get NSCA Version Source: https://omd.consol.de/docs/omd/packages/nsca This command retrieves the installed version of NSCA, a daemon for integrating passive alerts and checks with Nagios. ```bash nsca --version ``` -------------------------------- ### Get check_sap_health Version Source: https://omd.consol.de/docs/omd/packages/check_sap_health Retrieves the version information for the check_sap_health Nagios plugin. This is a basic command to verify the installation and version of the plugin. ```Shell check_sap_health -V ``` -------------------------------- ### Get Monitoring Plugin Version Source: https://omd.consol.de/docs/omd/packages/plugins This command retrieves the version information for a monitoring plugin. It's a common way to check the installed version of a plugin. ```bash -h ``` -------------------------------- ### SNClient Installation on Debian Source: https://omd.consol.de/docs/omd/builds Instructions for installing SNClient on Debian-based Linux distributions. This would typically involve package management commands like apt-get. ```text Debian ``` -------------------------------- ### SNClient Installation - RHEL Source: https://omd.consol.de/docs/plugins Instructions for installing SNClient on Red Hat Enterprise Linux (RHEL) systems. ```text RHEL ``` -------------------------------- ### OMD Migration to 5.x Source: https://omd.consol.de/docs/omd/filesystem_layout Guidance on migrating OMD installations to version 5.x. -------------------------------- ### OMD Documentation Howto Kerberos Source: https://omd.consol.de/docs/mod-gearman/configuration A guide on integrating Kerberos authentication with the OMD Console. This covers the steps for setting up secure access using Kerberos. ```OMD Howtos Kerberos ``` -------------------------------- ### Get Promtail Version Source: https://omd.consol.de/docs/omd/packages/loki_promtail This command retrieves the currently installed version of Promtail, an agent used for shipping local logs to a Grafana Loki instance. ```bash promtail --version ``` -------------------------------- ### SNClient Installation (OSX) Source: https://omd.consol.de/docs/snclient/prometheus/exporter Instructions for installing SNClient on macOS (OSX) systems. This section would typically include package management commands and configuration steps. ```English This section provides instructions for installing SNClient on OSX. It covers package management and configuration. ``` -------------------------------- ### Nagios Service Definition with check_logfiles Source: https://omd.consol.de/docs/plugins/check_logfiles Defines a Nagios service that uses the check_logfiles command. This example shows a basic setup where the configuration file is hard-coded. ```Nagios define service { service_description check_sanlogs host_name oaschgeign.muc check_command check_nrpe!check_logfiles is_volatile 1 check_period 7x24 max_check_attempts 1 ... } define command { command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } command[check_logfiles]=/opt/nagios/libexec/check_logfiles --config logdefs.cfg ``` -------------------------------- ### SNClient Installation: Supported OS Source: https://omd.consol.de/docs/snclient/checks Lists the operating systems that are officially supported for SNClient installation and operation. -------------------------------- ### Install Mod-Gearman with OMD Source: https://omd.consol.de/docs/mod-gearman/usage This snippet shows how to enable Mod-Gearman within the OMD (One-Man-DataCenter) environment. OMD simplifies the installation and management of monitoring tools. ```Shell OMD[test]:~$ omd config set MOD_GEARMAN on ``` -------------------------------- ### Get Prometheus SNMP Exporter Version Source: https://omd.consol.de/docs/omd/packages/prometheus_snmp_exporter This command retrieves the version of the Prometheus SNMP Exporter. It requires the exporter to be installed and accessible in the system's PATH. ```bash ~$ snmp_exporter --version ``` -------------------------------- ### OMD Howto Kerberos Source: https://omd.consol.de/docs/omd/migration_5 Instructions for setting up and using Kerberos authentication with OMD. ```text Kerberos ``` -------------------------------- ### Get LMD Version Source: https://omd.consol.de/docs/omd/packages/lmd This command retrieves the current version of the LMD (Livestatus Multitool Daemon). It's a simple utility to verify the installed LMD version. ```bash lmd -version ``` -------------------------------- ### OMD Troubleshooting Source: https://omd.consol.de/docs/omd/filesystem_layout General troubleshooting guide for issues encountered with OMD. -------------------------------- ### Get MariaDB Version Source: https://omd.consol.de/docs/omd/packages/mariadb This snippet shows the command to retrieve the currently installed version of MariaDB. It is a fundamental command for checking the database's status and compatibility. ```bash mariadb --version ``` -------------------------------- ### OMD Documentation - Migration to 5.x Source: https://omd.consol.de/docs/omd/packages Guidance on migrating OMD installations to version 5.x. -------------------------------- ### Get Apache HTTP Server Version Source: https://omd.consol.de/docs/omd/packages/apache This snippet shows the command to retrieve the currently installed version of the Apache HTTP Server. It is a common utility for verifying the server's status and compatibility. ```bash apachectl -v ``` -------------------------------- ### OMD Migration to 4.x Source: https://omd.consol.de/docs/omd/filesystem_layout Instructions for migrating OMD installations to version 4.x. -------------------------------- ### Coshsh Template Example with Monitoring Details Source: https://omd.consol.de/docs/coshsh Demonstrates how to access structured monitoring details within Jinja2 templates. It shows an example of iterating through a list of filesystem details attached to an application object. ```Jinja2 {% for fs in application.filesystems %} Check {{ fs.path }} for disk usage. Warning threshold: {{ fs.warning }}% Critical threshold: {{ fs.critical }}% {% endfor %} ``` -------------------------------- ### Accessing Items from Recipe Objects Source: https://omd.consol.de/docs/coshsh Provides examples of how to retrieve items from the `recipe.objects` collection. It shows general dictionary-style access and the use of convenience methods like `get()` and `getall()` provided by the Datasource class. ```python # General Access all_hosts_dict = recipe.objects.get('hosts', {}) specific_host = recipe.objects.get('hosts', {}).get('some_host_fingerprint') # Datasource Helper Methods specific_host = self.get('hosts', 'hostname_fingerprint') all_application_objects_list = self.getall('applications') is_present = self.find('hosts', 'hostname_fingerprint') ``` -------------------------------- ### OMD Howto Grafana Graphing Source: https://omd.consol.de/docs/omd/filesystem_layout Instructions for setting up Grafana graphing with OMD. -------------------------------- ### SNClient Installation (RHEL) Source: https://omd.consol.de/docs/snclient/prometheus/exporter Instructions for installing SNClient on Red Hat Enterprise Linux (RHEL) systems. This section would typically include package management commands and configuration steps. ```English This section provides instructions for installing SNClient on RHEL. It covers package management and configuration. ``` -------------------------------- ### OMD Plugins check_logfiles Examples Source: https://omd.consol.de/docs/mod-gearman/configuration Provides examples for using the check_logfiles plugin within OMD. This plugin monitors log files for specific patterns and events. ```OMD Plugins check_logfiles Examples ``` -------------------------------- ### Install snclient MSI to Custom Directory Source: https://omd.consol.de/docs/snclient/install/windows Installs the snclient MSI package into a custom directory using the INSTALLDIR property. This command is used for automated installations where a specific installation path is required. ```batch msiexec.exe /i snclient.msi /qn INSTALLDIR="D:\Apps\snclient" ``` -------------------------------- ### OMD Console Package - check_mysql_health Examples Source: https://omd.consol.de/docs/snclient/prometheus/managed Examples demonstrating the usage of the check_mysql_health package for monitoring MySQL databases. ```Shell # Example: Check MySQL health connecting via host, user, and password check_mysql_health -H mysql.example.com -u monitor_user -p 'secure_password' # Example: Check replication status check_mysql_health -H localhost -u root -p 'root_pass' --replication ``` -------------------------------- ### OMD Console Package - check_oracle_health Examples Source: https://omd.consol.de/docs/snclient/prometheus/managed Examples demonstrating the usage of the check_oracle_health package for monitoring Oracle databases. ```Shell # Example: Check health of a specific Oracle instance using TNS alias check_oracle_health -d ORCL # Example: Check specific metric like tablespace usage check_oracle_health -d ORCL -t tablespace -w 80 -c 90 ``` -------------------------------- ### Adding Host, Application, and MonitoringDetail Items Source: https://omd.consol.de/docs/coshsh Demonstrates how to instantiate and add Host, Application, and MonitoringDetail objects to the recipe's object collection using the `self.add()` method. Each object is initialized with specific parameters. ```python host_params = {'host_name': 'server01', 'address': '192.168.1.1'} h = coshsh.host.Host(host_params) self.add('hosts', h) # Adds to self.objects['hosts']['server01'] app_params = {'host_name': 'server01', 'name': 'os', 'type': 'linux'} a = coshsh.application.Application(app_params) self.add('applications', a) # Adds to self.objects['applications']['server01+os+linux'] detail_params = {'host_name': 'server01', 'name': 'os', 'type': 'linux', 'monitoring_type': 'FILESYSTEM', 'monitoring_0': '/'} md = coshsh.monitoringdetail.MonitoringDetail(detail_params) self.add('details', md) # Adds to self.objects['details'][] ``` -------------------------------- ### OMD Documentation - Backup / Restore Source: https://omd.consol.de/docs/omd/packages Guides on performing backup and restore operations for the OMD (Open Monitoring Distribution) environment. -------------------------------- ### OMD Console Package - check_db2_health Examples Source: https://omd.consol.de/docs/snclient/prometheus/managed Examples demonstrating the usage of the check_db2_health package for monitoring IBM Db2 databases. ```Shell # Example: Check Db2 database health check_db2_health -d SAMPLEDB # Example: Check Db2 tablespace usage check_db2_health -d SAMPLEDB -t SYSIBM ``` -------------------------------- ### OMD Howto Kerberos Source: https://omd.consol.de/docs/omd/filesystem_layout Instructions for integrating Kerberos authentication with OMD. -------------------------------- ### OMD Documentation - Migration to 4.x Source: https://omd.consol.de/docs/omd/packages Instructions for migrating OMD installations from version 4.x. -------------------------------- ### Create OMD Site Source: https://omd.consol.de/docs/omd/getting_started Creates a new OMD site with a unique user and group. Requires root permissions. The output includes the initial password needed for web access. ```bash #> omd create demosite ``` -------------------------------- ### OMD Console Package - check_mssql_health Examples Source: https://omd.consol.de/docs/snclient/prometheus/managed Examples demonstrating the usage of the check_mssql_health package for monitoring Microsoft SQL Server databases. ```Shell # Example: Check health of a specific SQL Server instance and database check_mssql_health -S "SERVER\SQLEXPRESS" -d AdventureWorks # Example: Check SQL Server agent job status check_mssql_health -S "SERVER" -j "MyBackupJob" ``` -------------------------------- ### OMD Documentation - Howtos GIT Source: https://omd.consol.de/docs/omd/packages How-to guides for integrating and using Git with OMD for version control and collaboration. -------------------------------- ### Search for OMD Versions (RHEL/CentOS) Source: https://omd.consol.de/docs/omd/getting_started Demonstrates how to search for available OMD versions using yum, allowing users to install specific or multiple versions. ```bash yum search omd- ``` -------------------------------- ### OMD Documentation - Troubleshooting Source: https://omd.consol.de/docs/omd/packages General troubleshooting guides and common issues encountered with OMD. -------------------------------- ### Configure Check_db2_health Installation Source: https://omd.consol.de/docs/plugins/check_db2_health This snippet shows the common configuration options for the check_db2_health plugin during its installation. It covers setting the installation prefix, Nagios user, Nagios group, and the path to the Perl interpreter. ```bash ./configure --prefix=BASEDIRECTORY ./configure --with-nagios-user=SOMEUSER ./configure --with-nagios-group=SOMEGROUP ./configure --with-perl=PATHTOPERL ``` -------------------------------- ### OMD Documentation Migration to 5.x Source: https://omd.consol.de/docs/mod-gearman/configuration Guides and instructions for migrating from OMD version 5.x to newer versions. This covers the necessary steps and considerations for a smooth transition. ```OMD Migration to 5.x ``` -------------------------------- ### OMD Documentation - Kerberos Howto Source: https://omd.consol.de/docs/snclient/prometheus/exporter A guide on integrating Kerberos authentication within the OMD environment. This how-to likely covers configuration steps for secure access. ```English This how-to guide explains how to integrate Kerberos authentication within OMD, covering necessary configuration steps. ``` -------------------------------- ### OMD Documentation - Migration to 3.x Source: https://omd.consol.de/docs/omd/packages Guidance on migrating OMD installations from version 3.x to newer versions.