The Application Monitoring Metrics Command Line Interface (CLI) consists of a portable Java archive (JAR-file). The java file has all dependencies built in and the only requirement is a locally installed Java runtime. It can be used either locally or remote to query metrics from IFS Applications.
Application Monitoring Metrics CLI can be found in <build home>/external/fndbas/monitoring/application-monitoring-metrics-cli.jar
The CLI is modular built and can query metrics from different data sources:
Output types:
A helptext is provided with the Application Monitoring Metrics CLI and can be accessed via commandline.
java -jar application-monitoring-metrics-cli.jar -help
Predefined set of metrics related to IFS Middleware Server.
For more information run following command.
java -jar ifs-application-monitoring-metrics-cli.jar mws -help
Predefined metrics is defined in IFS Solution Manager > Monitoring > Application Monitoring > Application Monitoring Entries and is queried by their "EntryID"-name.
Custom querys can be added in the Application Monitoring Entries. These metrics can then be queried from the Application Monitoring Metrics CLI.
For more information run following
command.
java -jar
ifs-application-monitoring-metrics-cli.jar db -help
Metrics related to HTTP/HTTPS resources. Can match HTTP response, content, server-status and certificate validity.
For more information run following command.
java -jar ifs-application-monitoring-metrics-cli.jar http -help
Metrics related to file resources. Can match if a file exists and the filesize.
For more information run following command.
java -jar ifs-application-monitoring-metrics-cli.jar file -help
Goal: A central monitoring software monitors IFS Applications via Application Monitoring Metrics CLI to ensure application availability.
A 3:rd party central monitoring software is setup together with corresponding monitoring agents. The monitoring agents requests metrics from the Application Monitoring Metrics CLI and sends the response back to the central monitoring software.
The Application Monitoring Metrics CLI is portable and therefor run as close to the monitored resources as possible. For example when monitoring Crystal, the Application Monitoring Metrics CLI is run from the machine running Crystal reports.
Example: visualization of IFS Application Metrics in a 3:rd party central monitoring solution.
In this example action need to be taken related to
Invalid
Objects,
Batch
Processor and
Triggers
to ensure application availability.