The objectlist_xml
command returns an xml document containing a list on all objects and monitors that the operator can access.
Syntax
http://localhost:8080/extract.xsi?cmd=objectlist_xml&user=Admin
cmd |
object_xml |
user |
KNM operator username |
Returned data
An xml document.
XML fields
INM_OBJECTLIST |
Root of tree |
INM_OBJECT |
Root of object |
NAME |
Name of the object |
DESC |
Description of the object |
ID |
ID Number of object |
INM_AGENT |
Root of object |
ID |
ID Number of Monitor |
NAME |
Name of the monitor |
Example
<INM_OBJECTLIST>
<INM_OBJECT>
<NAME>Fileserver</NAME>
<DESC>Office fileserver</DESC>
<ID>955</ID>
<INM_AGENT>
<ID>8</ID>
<NAME>Bandwidth test</NAME>
</INM_AGENT>
</INM_OBJECT>
</INM_OBJECTLIST>