QueryMonitoringList
Query information of running or upcoming maintenance.
Required Parameters
Section titled “Required Parameters”The following parameters are standard parameters for this command.
Command
COMMAND = QueryMonitoringListCLASS = next_maintenance|running_maintenanceDAYS = (INT)WIDE = 0|1Response
code = (INT)description = (TEXT)property[END_DATE][n] = (TEXT)property[REASON][n] = (TEXT)property[ZONES][n] = (TEXT)property[SERVICE_ID][n] = (TEXT)property[SERVICE_NAME][n] = (TEXT)property[SERVICE_TYPE][n] = (TEXT)property[START_DATE][n] = (TEXT)property[COUNT][0] = (INT)property[TOTAL][0] = (INT)Attributes
Section titled “Attributes”| CLASS | next_maintenance|running_maintenance |
|---|---|
| DAYS | Show the maintenances of the next X days |
| COUNT | Total number of monitorings shown |
| TOTAL | Total number of monitorings |
| WIDE | Show more or less details in the results (optional) |
| ZONES | A comma separated list of affected zones |
Optional
Section titled “Optional”The following parameters are optional for this command.
Command
COMMAND = QueryMonitoringListCLASS = next_maintenance|running_maintenanceGENERATELIST = 0|1SENDLISTEMAIL = (EMAILS)SUBUSER = (TEXT)Response
code = (INT)description = (TEXT)property[END_DATE][n] = (TEXT)property[REASON][n] = (TEXT)property[ZONES][n] = (TEXT)property[SERVICE_ID][n] = (TEXT)property[SERVICE_NAME][n] = (TEXT)property[SERVICE_TYPE][n] = (TEXT)property[START_DATE][n] = (TEXT)property[COUNT][0] = (INT)property[TOTAL][0] = (INT)Attributes
Section titled “Attributes”| GENERATELIST | Show result on screen|Generate a CSV File and upload to ftp (optional) |
|---|---|
| SENDLISTEMAIL | Email address where the CSV will be sent to (optional) |
Query commands