Check wildfly-server-status


This check plugin monitors a WildFly server, using its HTTP-JSON based API (JBossAS REST Management API). This allows us to monitor the application server without any additional configuration and installation - no need to deploy WAR-Agents like Jolokia. The plugin supports both standalone mode and domain mode.

Tested with WildFly 11 and WildFly 23.

To create a monitoring user, do this:

What type of user do you wish to add?
 a) Management User (
 b) Application User (
(a): a

Enter the details of the new user to add.
Using realm 'ManagementRealm' as discovered from the existing property files.
Username : wildfly-monitoring
Password :
Re-enter Password :
What groups do you want this user to belong to? (Please enter a comma separated list, or leave blank for none)[  ]:
About to add user 'wildfly-monitoring' for realm 'ManagementRealm'
Is this correct yes/no? yes
Is this new user going to be used for one AS process to connect to another AS process?
e.g. for a slave host controller connecting to the master or for a Remoting connection for server to server Jakarta Enterprise Beans calls.
yes/no? no

Fact Sheet

Check Plugin Download

Check Interval Recommendation

Once a minute

Can be called without parameters


Available for

Python 2, Python 3, Windows




usage: wildfly-server-status [-h] [-V] [--always-ok] [--instance INSTANCE]
                             [--mode {standalone,domain}] [--node NODE] -p
                             PASSWORD [--timeout TIMEOUT] [--url URL]
                             --username USERNAME

Checks the health of a Wildfly/JBossAS over HTTP.

optional arguments:
  -h, --help            show this help message and exit
  -V, --version         show program's version number and exit
  --always-ok           Always returns OK.
  --instance INSTANCE   The instance (server-config) to check if running in
                        domain mode.
  --mode {standalone,domain}
                        The mode the server is running.
  --node NODE           The node (host) if running in domain mode.
  -p PASSWORD, --password PASSWORD
                        WildFly API password.
  --timeout TIMEOUT     Network timeout in seconds. Default: 3 (seconds)
  --url URL             WildFly API URL. Default: http://localhost:9990
  --username USERNAME   WildFly API username. Default: wildfly-admin

Usage Examples

./wildfly-server-status --username wildfly-monitoring --password password --url http://wildfly:9990


Server status "running", Launch Type STANDALONE, Running Mode NORMAL, v23.0.0.Final


Triggers an alarm on its own.

  • OK: server-state == ‚running‘

  • WARN: server-state in [‚reload-required‘, ‚restart-required‘]

  • CRIT: everything else

Perfdata / Metrics

  • server-state: 0 (STATE_OK), 1 (STATE_WARN), 2 (STATE_CRIT)

Credits, License