How can we check for "Not Monitored" devices using a REST api?
Dx NetOps Performance Management any version
Do a POST against:
http://<DA>:<PORT>/rest/devices/manageable/filtered
... with 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">
<Lifecycle>
<State use="include"/>
</Lifecycle>
<Item>
<Name use="include"/>
</Item>
<Device>
<PrimaryIPAddress use="include"/>
<SupportedProtocols use="include"/>
</Device>
</Select>
</FilterSelect>
Lifecycle state will show Active, Retired, or Maintenance