I need to have a list of devices that are in a "Not Monitored" state or in maintenance mode. This will give us a list of devices that are not being polled
Dx NetOps Performance Management any version
Do a "POST" against the following URL:
http://<DA>:8581/rest/devices/filtered
For NOT MONITORED, the "Body" must have the following syntax:
<FilterSelect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="filter.xsd">
<Filter>
<Device.CalculatedContactStatus type ="EQUAL">NOT_MONITORED</Device.CalculatedContactStatus>
</Filter>
<Select use="exclude" isa="exclude">
<Item use="exclude">
<Name use="include"/>
<CreateTime use="include"/>
</Item>
<Device use="exclude">
<PrimaryIPAddress use="include"/>
<CalculatedContactStatus use="include"/>
<UniqueID use="include"/>
</Device>
</Select>
</FilterSelect>