Listing Device Monitoring Details: list_device_monitoring_details
Service name: list_device_monitoring_details |
|
URL |
https://SERVER/api/?apikey=yourAPItoken&service=list_device_monitoring_details &required_parameters=required_parameters [&optional_parameters=optional_parameters] |
Description |
Lists all monitoring information for the device (server or workstation) identified by the deviceid. |
Parameters |
|||||
Post Variable |
Description |
Type |
Required |
Options |
Default |
Optional. Returns a description of the service. |
boolean |
no |
true |
0 |
|
deviced |
The deviceid must be a valid id. |
integer |
yes |
0 |
0 |
Example Service Call =list_device_monitoring_details&deviceid=DEVICEID |
https://SERVER/api/?apikey=yourAPItoken&service=list_device_monitoring_details&deviceid=DEVICEID |
Example Response: Server |
<?xml version="1.0"?> <result created="2010-08-30T12:53:05+01:00" host="SERVER" status="OK"> <server> <id>78401</id> <name>SERVER3</name> <description>Dashboard Description</description> <username>Company\Administrator</username> <guid>1234567890</guid> <os>Microsoft Windows XP Professional Service Pack 2 (build 2600)</os> <agent>Agent v8.2.6</agent> <lastresponse>2010-08-13 16:54:35</lastresponse> <lastboot>2010-08-02 09:12:56</lastboot> <checks count="28"> <check> <checkid>2089484</checkid> <dsc_247>2</dsc_247> <description>Windows Service Check - TCP/IP NetBIOS Helper</description> <extra>Status RUNNING</extra> <datetime>2010-08-13 17:54:34</datetime> <consecutive_fails>0</consecutive_fails> <emailalerts>1</emailalerts> <smsalerts>0</smsalerts> <servertime>2010-08-30 12:53:05</servertime> </check> ..... more check nodes </checks> <outages count="500"> <outage> <id>15818974</id> <checkid>2234125</checkid> <descriptorid>1001</descriptorid> <clearcheck>checkoff</clearcheck> <checkstatusicon>testerror</checkstatusicon> <frequencyicon>dsc</frequencyicon> <typeicon>av</typeicon> <description>Anti-virus Update Check - Sunbelt VIPRE Antivirus + Antispyware</description> <duration>000000000000_Still open</duration> <psaticketstatus>None</psaticketstatus> <startdate>001278055441_02-Jul-2010 07:24</startdate> <finishdate>000000000000_</finishdate> <isclosed>0</isclosed> <psaticketstatusid>0</psaticketstatusid> <failreason>Product not found</failreason> </outage> ..... more outage nodes </outages> <notes count="3"> <note> <noteid>117575</noteid> <created>2010-07-01 11:38:14</created> <description>1007 // Performance Monitoring Check - Memory Usage</description> <devicename>SERVER3</devicename> <checkdescriptorid>1007</checkdescriptorid> <checkdescription>Performance Monitoring Check - Memory Usage</checkdescription> <note>Memory is far too low</note> <public_note>Recommend upgrade, consistent issue.</public_note> <login>user@example.com</login> </note> <note> <noteid>117575</noteid> <created>2010-07-01 11:38:14</created> <description>SERVER3</description> <devicename>SERVER3</devicename> <checkdescriptorid/> <checkdescription/> <note>Tonights tape loaded & formatted OK</note> <public_note>Tonights tape loaded & formatted OK</public_note> <login>user@example.com</login> </note> ..... more note nodes </notes> <takecontrol>1</takecontrol> <patch>1</patch> <mav>1</mav> <mob>0</mob> <systray>1</systray> <mavbreck>0</mavbreck> </server> </result> |
Example Response: Workstation |
<?xml version="1.0"?> <result created="2010-08-30T12:53:05+01:00" host="SERVER" status="OK"> <workstation> <id>78401</id> <name>WORKSTATION3</name> <description>Dashboard Description</description> <username>Company\User</username> <os>Microsoft Windows XP Professional Service Pack 2 (build 2600)</os> <agent>Agent v8.2.6</agent> <lastresponse>2010-08-13 16:54:35</lastresponse> <lastboot>2010-08-02 09:12:56</lastboot> <checks count="28"> <check> <checkid>2089484</checkid> <dsc_247>2</dsc_247> <description>Windows Service Check - TCP/IP NetBIOS Helper</description> <extra>Status RUNNING</extra> <datetime>2010-08-13 17:54:34</datetime> <consecutive_fails>0</consecutive_fails> <emailalerts>1</emailalerts> <smsalerts>0</smsalerts> <servertime>2010-08-30 12:53:05</servertime> </check> ..... more check nodes </checks> <outages count="500"> <outage> <id>15818974</id> <checkid>2234125</checkid> <descriptorid>1001</descriptorid> <clearcheck>checkoff</clearcheck> <checkstatusicon>testerror</checkstatusicon> <frequencyicon>dsc</frequencyicon> <typeicon>av</typeicon> <description>Anti-virus Update Check - Sunbelt VIPRE Antivirus + Antispyware</description> <duration>000000000000_Still open</duration> <psaticketstatus>None</psaticketstatus> <startdate>001278055441_02-Jul-2010 07:24</startdate> <finishdate>000000000000_</finishdate> <isclosed>0</isclosed> <psaticketstatusid>0</psaticketstatusid> <failreason>Product not found</failreason> </outage> ..... more outage nodes </outages> <notes count="3"> <note> <noteid>117575</noteid> <created>2010-07-01 11:38:14</created> <description>1007 // Performance Monitoring Check - Memory Usage</description> <devicename>WORKSTATION3</devicename> <checkdescriptorid>1007</checkdescriptorid> <checkdescription>Performance Monitoring Check - Memory Usage</checkdescription> <note>Memory is far too low</note> <public_note>Recommend upgrade, consistent issue.</public_note> <login>user@example.com</login> </note> <note> <noteid>117575</noteid> <created>2010-07-01 11:38:14</created> <description>WORKSTATION3</description> <devicename>WORKSTATION3</devicename> <checkdescriptorid/> <checkdescription/> <note>Tonights tape loaded & formatted OK</note> <public_note>Tonights tape loaded & formatted OK</public_note> <login>user@example.com</login> </note> ..... more note nodes </notes> <takecontrol>1</takecontrol> <patch>1</patch> <mav>1</mav> <mob>0</mob> <systray>1</systray> <mavbreck>0</mavbreck> </workstation> </result> |
Fields Description |
|||||||||||||||||||||||||
Field |
Type |
Can Be Empty |
Description |
||||||||||||||||||||||
result/[server/workstation]/id |
Integer |
No |
Unique Identifier of device |
||||||||||||||||||||||
result/[server/workstation]/name |
String |
No |
Name of the device |
||||||||||||||||||||||
result/[server/workstation]/username |
String |
Yes |
Logged on user |
||||||||||||||||||||||
result/[server/workstation]/description |
String |
Yes |
Device's Dashboard description |
||||||||||||||||||||||
result/[server/workstation]/guid |
String |
No |
GUID of the device |
||||||||||||||||||||||
result/[server/workstation]/os |
String |
Yes |
Operating System of the device |
||||||||||||||||||||||
result/[server/workstation]/agent |
String |
Yes |
The formatted version number of the agent on the device |
||||||||||||||||||||||
result/[server/workstation]/lastresponse |
Datetime |
Yes |
The last date and time the device responded |
||||||||||||||||||||||
result/[server/workstation]/lastboot |
Datetime |
Yes |
The last date and time the device was booted |
||||||||||||||||||||||
result/[server/workstation]/checks@count |
Integer |
No |
The number of checks |
||||||||||||||||||||||
result/[server/workstation]/checks/check/checkid |
Integer |
No |
Unique Identifier of the check |
||||||||||||||||||||||
result/[server/workstation]/checks/check/dsc_247 |
Integer |
Yes |
Is the check a Daily Safety Check, 24x7 Check, Scheduled Task or special case?
|
||||||||||||||||||||||
result/[server/workstation]/checks/check/description |
String |
Yes |
Description of the check |
||||||||||||||||||||||
result/[server/workstation]/checks/check/checkstatus |
String |
No |
Icon to use for the check status States available:
|
||||||||||||||||||||||
result/[server/workstation]/checks/check/extra |
String |
Yes |
Extra Information about the check |
||||||||||||||||||||||
result/[server/workstation]/checks/check/datetime |
Datetime |
Yes |
Date and time when the check occurred |
||||||||||||||||||||||
result/[server/workstation]/checks/check/consecutive_fails |
Integer |
No |
Number of consecutive failures |
||||||||||||||||||||||
result/[server/workstation]/checks/check/emailalerts |
Integer (1 or 0) |
No |
If the check is configured to send email alerts
|
||||||||||||||||||||||
result/[server/workstation]/checks/check/smsalerts |
Integer (1 or 0) |
No |
If the check is configured to send SMS alerts
|
||||||||||||||||||||||
result/[server/workstation]/checks/check/emailrecoveryalerts |
Integer (1 or 0) |
no |
If the check is configured to send recovery email alerts
|
||||||||||||||||||||||
result/[server/workstation]/checks/check/smsrecoveryalerts |
Integer (1 or 0) |
No |
If the check is configured to send recovery SMS alerts
|
||||||||||||||||||||||
result/[server/workstation]/checks/check/servertime |
Datetime |
No |
Current date and time of server |
||||||||||||||||||||||
result/[server/workstation]/outages@count |
Integer |
No |
The number of outages |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/id |
Integer |
No |
Unique Identifier of outage |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/checkid |
Integer |
Yes |
Unique Identifier of associated check |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/descriptorid |
Integer |
Yes |
Type of check |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/clearcheck |
String |
Yes |
Outage checkbox state |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/checkstatusicon |
String |
Yes |
Icon to use for the outage status States available:
|
||||||||||||||||||||||
result/[server/workstation]/outages/outage/frequencyicon |
String |
Yes |
Icon to use for the check frequency |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/typeicon |
String |
Yes |
Icon to use for the check type |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/description |
String |
Yes |
Description of outage |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/duration |
String |
Yes |
Duration of the outage Number of seconds and formatted values are returned separated by _ (underscore character) |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/psaticketstatus |
String |
Yes |
Status of associated PSA Ticket |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/startdate |
String |
Yes |
Date and time of when the outage started Timestamp and formatted values are returned separated by _ (underscore character) |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/enddate |
String |
Yes |
Date and time of when the outage finished Timestamp and formatted values are returned separated by _ (underscore character) |
||||||||||||||||||||||
result/[server/workstation]/outages/outage/isclosed |
Integer (1 or 0) |
No |
If the outage is closed or not
|
||||||||||||||||||||||
result/[server/workstation]/outages/outage/psaticketstatusid |
Integer |
No |
Status indicator of associated PSA Ticket
|
||||||||||||||||||||||
result/[server/workstation]/outages/outage/failreason |
String |
Yes |
Reason for failure |
||||||||||||||||||||||
result/[server/workstation]/notes@count |
Integer |
No |
The number of notes |
||||||||||||||||||||||
result/[server/workstation]/notes/noteid |
Integer |
No |
Unique Identifier for the note |
||||||||||||||||||||||
result/[server/workstation]/notes/created |
Datetime |
No |
The date and time of when the note was created |
||||||||||||||||||||||
result/[server/workstation]/notes/description |
String |
No |
Name of Device, or Check ID // Check Description if available |
||||||||||||||||||||||
result/[server/workstation]/notes/devicename |
String |
No |
Name of Device |
||||||||||||||||||||||
result/[server/workstation]/notes/checkdescriptorid |
String |
Yes |
Check ID if available |
||||||||||||||||||||||
result/[server/workstation]/notes/checkdescription |
String |
Yes |
Check Description if available |
||||||||||||||||||||||
result/[server/workstation]/notes/note |
String |
Yes |
The private note |
||||||||||||||||||||||
result/[server/workstation]/notes/public_notes |
String |
Yes |
The public note |
||||||||||||||||||||||
result/[server/workstation]/notes/login |
String |
No |
The email address of the user who created the note |
||||||||||||||||||||||
result/[workstation|server] / takecontrol |
integer (1 or 0) |
no |
Is Take Control installed and active
|
||||||||||||||||||||||
result/[workstation|server] / patch |
integer (1 or 0) |
no |
Is Patch Management installed and active
|
||||||||||||||||||||||
result/[workstation|server] / mav |
integer (1 or 0) |
no |
Is Managed Anti-virus (VIPRE Engine) installed and active
|
||||||||||||||||||||||
result/[workstation|server] / mob |
integer (1 or 0) |
no |
Is Managed Backup installed and active
|
||||||||||||||||||||||
result/[workstation|server] / systray |
integer (1 or 0) |
no |
Is System Tray installed and active
|
||||||||||||||||||||||
result/[workstation|server] / mavbreck |
integer (1 or 0) |
no |
Is Managed Anti-virus (Bitdefender Engine) installed and active
|
Example Associated Service Calls | ||
Parameter | Call | URL Format |
DeviceID | list_devices_at_client |
https://SERVER/api/?apikey=yourAPItoken&service=list_devices_at_client&clientid=CLIENTID&devicetype=server |
list_servers |
https://SERVER/api/?apikey=yourAPItoken&service=list_servers&siteid=SITEID |
|
list_workstations |
https://SERVER/api/?apikey=yourAPItoken&service=list_workstations&siteid=SITEID |
|
SiteID | list_sites | https://SERVER/api/?apikey=yourAPItoken&service=list_sites&clientid=CLIENTID |
ClientID | list_clients | https://SERVER/api/?apikey=yourAPItoken&service=list_clients |