The automatic setup of around 80-90 SAP-Servers running several releases and flavors of SAP software in NetEye 4 by:
Automatically importing SAP hosts, databases and instance definitions
Automatically applying a set of basic services to each level of monitoring (OS, database, and SAP Basis) depending on the host, database and instance definitions imported before.
Host Definitions:
First, let’s look at the logical structure of a typical SAP System, for example a System running an ABAP or JAVA Stack of SAP NetWeaver 7.x:
An SAP system consists of one corresponding database (Oracle, DB2, SAP HANA, etc.), one central services Instance, and 1-n application instances. All the mentioned components of one SAP system may run on either a single or multiple hosts. A host can be a physical, virtual (e.g., VMware, Hyper-V etc.) or logical (e.g., clustered instances) host. On the other hand, multiple databases or instances of different SAP systems may run on a single host.
Because NetEye and the underlying Icinga are centered on hosts, I created an import structure for Excel based on one line for each physical, virtual or logical host. Information related to SAP systems, SAP databases and SAP instances running on a host are stored in corresponding array structures, e.g., SAP-Instance[0], SAP-Instance[1], etc.
The automation component of Icinga Director reads the Excel sheet and creates or modifies host definitions having all SAP and database related information stored in host variables or arrays. Several Host Templates are imported depending on the role of the corresponding host (database server and/or SAP instance server).
Service Definitions:
The next challenge was to automate the generation of service checks depending on the content of the host variables of an SAP host. I could not use the service-apply feature of Director because it is not capable of dealing correctly with array variables. So I created a script containing some “for loops”, reading all array elements in a host variable and generating the corresponding services.
I defined Service Templates for each type of service generated containing “best practice” thresholds for the metrics provided. If there is a need to define individual thresholds for one of the metrics, a host variable should be defined and then used in the service definition. A good example of this is the minimal free space threshold for database-related filesystems like “sapdata”, which may vary a lot.
Here are
some examples of generated services on different levels:
OS Level: Monitoring of database- or SAP instance-related file systems.
DB Level: Connection time, the filling degree of tablespaces, cache quality, individual SQL statements, backup status, etc.
SAP System: The health of central and distributed services like SAP Host Agent, SAP enqueue, SAP update, SAP instance status, dispatcher queues, etc.
As a result, customers can set up basic health checks for their SAP systems just by performing an automatic import of a single Excel sheet containing all hosts in their SAP system landscape. All services will be automatically generated when deploying the import-results.
(to be continued)
I’ll be attending the NetEye User Group 2020 on May 7th in Nuremburg, Germany. Part of the agenda will be a short presentation on what I’ve written in this blog post.
Andreas Foerster
After 14 years working for HP as a consultant for Unix-Systems, networking and then SAP-Basis, in 2002 I decided to continue my business-life as a freelancer. Working most of my time in SAP-Basis related projects (Database-migrations, performance-tuning, upgrades etc.), in parallel I started focussing on OpenSource-Monitoring. I got in touch with Würth-Phoenix in 2012 visiting one of the Open Source Monitoring Conferences in Bolzano. Since then we are collaborating in the area of SAP- and Database-Monitoring.
Author
Andreas Foerster
After 14 years working for HP as a consultant for Unix-Systems, networking and then SAP-Basis, in 2002 I decided to continue my business-life as a freelancer. Working most of my time in SAP-Basis related projects (Database-migrations, performance-tuning, upgrades etc.), in parallel I started focussing on OpenSource-Monitoring. I got in touch with Würth-Phoenix in 2012 visiting one of the Open Source Monitoring Conferences in Bolzano. Since then we are collaborating in the area of SAP- and Database-Monitoring.
Important: Icinga 2 security update Type/Severity NetEye Product Security has rated this update as having a critical security impact. Topic An update for the icinga package is now available for NetEye 4. Security Fix for NetEye 4.48 2.15.5_neteye1.71.2-1 Summary The vulnerabilities include an Read More
As you should already know, with NetEye 4.45 we officially began the transition from Icinga IDO to IcingaDB (see NetEye 4.45 Release Notes | www.neteye-blog.com). This means that IDO has been deprecated on NetEye. We're now reaching the end of Read More
Hello to you all. It's been a while. Don't worry though, this won't be a long and technical post. It's just to let you know I'm doing (almost) well and to tell you about our latest news. The Metrics Challenge Read More
Among the several plugins that Grafana provides is Node Graph, a useful plugin for visualizing elements and relationships between them. This plugin, as described in the article: https://grafana.com/docs/grafana/latest/panels-visualizations/visualizations/node-graph/ , can be used to represent: Solution topologies Networks Infrastructure Organizational charts Read More
Important: Icinga2 security update Type/Severity NetEye Product Security has rated this update as having a High security impact. Topic An update for the icinga2 packages is now available for NetEye 4. Security Fix for NetEye 4.44 2.15.1_neteye1.61.3-1 CVEs CVE-2025-61907: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N CVE-2025-61908: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVE-2025-61909: Read More