webadminstatus

This checks if the WebAdmin is working properly allowing user login. This can be used in Active-Active deployments to check if the WebAdmin is available for a load balancer.

Concept Link IconSee Also

Required Parameters:

Argument

Required

Type

Description

format

no

string

The format of the output for the API: text, json or xml. The default is text.

callback

no

string

This only works with Direct APIs. This is a JavaScript function that should be called after the API is completed. This function will be called with the response of the API.  Please note: It can only be used when requesting this API via AJAX request.

Example

servername/webadmin/api/webadminstatus.php?

Output:

OK:

it would return OK if the server is operating properly, otherwise ERROR: followed by a specific error message.

ERROR: WebAdmin Disabled

ERROR: There is an Apache + PHP configuration error which does not allow the preg_match function to return the proper result. This can occur when upgrading Apache and PHP packages.

<br><br>

It is recommended you run the following commands to fix this issue,

<pre>

/etc/rc.d/rc.httpd stop

slapt-get --install pcre

cp /etc/apache/php.ini-recommended /etc/apache/php.ini

/etc/rc.d/rc.httpd start

ERROR: There is a translation problem which does not allow the Reporter to display proper category names in multiple languages. If you have a custom package installed for branding, you must install the latest version of this package.

This issue affects the WebAdmin and Reporter services

ERROR: The free disk space ratio {$freespace}Mb/{$totalspace}Mb is lower than the minimum value $MINIMUM_FREESPACE_RATIO%. This problem affects the WebAdmin's ability to run scripts and communicate with databases. Please make sure there is enough free disk space.

ERROR: The size of free disk space $freespace Mb is lower than the minimum value $MINIMUM_FREESPACE_SIZE Mb. This problem affects the WebAdmin's ability to run scripts and communicate with databases. Please make sure there is enough free disk space.

ERROR: There is a database connection problem which does not allow the WebAdmin to use the NSD configuration database. Please make sure that the service is running on the server $configip and the database $configdb exists.

ERROR: There is a database connection problem which does not allow the WebAdmin to use NSD log database. Please make sure that the service is running on the server $logip and the database $logdb exists.

ERROR: WebAdmin Config database version is out of date.

ERROR: WebAdmin Log database version is out of date.

ERROR: WebAdmin Reporter database version is out of date.

Version: 7.2.5