Skip to main content

AWA (Automic Workload Automation) JMX

Pack Assets​

Templates​

The Centreon Monitoring Connector Awa JMX brings 1 host template:

  • App-Awa-JMX-custom

It brings the following Service Templates:

Service AliasService TemplateDefault
Awa-AgentApp-Awa-Agent-JMXX
Awa-QueueApp-Awa-Queue-JMXX
Awa-ServerApp-Awa-Server-JMXX

Collected metrics & status​

Metric NameUnit
statusstring

Prerequisites​

Please deploy the Jolokia agent on your AWA Server (Jolokia download page). Ask your admin to deploy it and give you the URL.

Setup​

  1. Install the Centreon package on every Centreon poller expected to monitor AWA JMX resources:
yum install centreon-plugin-Applications-Awa-Jmx
  1. On the Centreon Web interface, install the Awa JMX Centreon Monitoring Connector on the Configuration > Monitoring Connector Manager page.

Configuration​

Host​

  • Log into Centreon and add a new Host through Configuration > Hosts
  • Fill the Name, Alias & IP Address / DNS fields according to your AWA JMX server settings
  • Select the applications-awa-jmx-custom template to apply to the Host
  • Once the template is applied, fill in the corresponding macros. Some macros are mandatory.
MandatoryNameDescription
EXTRAOPTIONSAny extra option you may want to add to every command_line (eg. a --verbose flag)

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon Poller CLI using the centreon-engine user account and test the Plugin by running the following command:

/usr/lib/centreon/plugins//centreon_awa_jmx.pl \
--plugin=apps::java::awa::jmx::plugin \
--mode=queue \
--custommode=jolokia \
--url='' \
--username='' \
--password='' \
--filter-name='' \
--warning-status='' \
--critical-status='%{status} !~ /GREEN/i' \
--use-new-perfdata

The expected command output is shown below:

OK:  All queues are ok 

This command would trigger a CRITICAL alarm if the queue status isn't equal to 'GREEN' (--critical-status='%{status} !~ /GREEN/i').

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins//centreon_awa_jmx.pl \
--plugin=apps::java::awa::jmx::plugin \
--mode=queue \
--help

All available options for a given mode can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins//centreon_awa_jmx.pl \
--plugin=apps::java::awa::jmx::plugin \
--list-mode

Troubleshooting​

Please find all the troubleshooting documentation for the Centreon Plugins in the dedicated page