Hello, I've created an API poller to check the number of endpoints available for a given subnet. When the count of endpoints is 1 (bad), a value of device name is populated with the name of the offending device. When the value is 0 (good), the device name is null. When considering the status of the API poller, I would like to exclude the device name value (since it should be null most of the time) from the calculation. For example:
Count of Endpoints = 0
Device name = null
This is fine
Count of Endpoints = 0
Device name = ponies
This is also fine.
Count of Endpoints = 0
Device name = 2920dindn032012nond2kon2knw
Again, fine.
The reason I am capturing device name is to use it in an alert. Any idea how I can accomplish this?