Hi,
Following the example from this topic, I have created a sensor to count the number of locked out Active Directory accounts.
The XML output looks like this:
<prtg>
<result>
<channel>Locked Out Users</channel>
<value>5</value>
</result>
<text>training, boydco, grossth, berberoy, test</text>
</prtg>
On this Locked Out Users channel, I have set an Upper Error Limit of 0, so the Sensor goes Down, resulting in the expected message:
5 # (Locked Out Users) is above the error limit of 0 #
... but the <text>
contents is not shown anywhere.
If I remove the Upper Error Limit, the message turns into:
training, boydco, grossth, berberoy, test
... but the Sensor status is Up
Is there a 'best of both worlds', where the sensor goes down, but still shows me the <text> message with the locked out accounts?
Thanks, Wim
Add comment