systemstatus_get_webdb_status
This API returns the status of the webdb for servers.
Parameters:
|
Argument |
Required |
Type |
Description |
|---|---|---|---|
|
host |
no |
string |
Enter the host IP address. The default is 127.0.0.1. |
|
port |
no |
string |
Enter the port. The default port is 3434. |
| Online | no | boolean | This is set to false by default. If online is false, the call gets data cached in the database. When it is set to 1, it gets the real time state. |
|
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. More Information can be found here. |
Example:
servername/webadmin/api/systemstatus_get_webdb_status.php?setting=VALUE&type=VALUE
Output:
OK: Up2Date
Out of Date 11 days 23 hours 33 minutes 12 seconds
ERROR: Permission Denied: Unauthorized access.
Netsweeper Version: 4.0.0