Next Topic

Previous Topic

Book Contents

objectlist_xml

The objectlist_xml command returns a 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

A xml document.

XML fields

KNM_OBJECTLIST

Root of tree

KNM_OBJECT

Root of object

NAME

Name of the object

DESC

Description of the object

ID

ID Number of object

KNM_AGENT

Root of object

ID

ID Number of Monitor

NAME

Name of the monitor

Example

<KNM_OBJECTLIST>
	<KNM_OBJECT>
		<NAME>Fileserver</NAME>
		<DESC>Office fileserver</DESC>
		<ID>955</ID>
			<KNM_AGENT>
				<ID>8</ID>
  				<NAME>Bandwidth test</NAME>
  			</KNM_AGENT>
	</KNM_OBJECT>
</KNM_OBJECTLIST>