I got an Active Agent which retrieves data for a LLD rule
And that LLD is working just fine, however when I stop the process which generates the API data I get the following error on the item:
The error is expected but how can I trigger on the "nodata" issue
I tried it with the following trigger but nothing happens. (I guess the error message is still data? )
Could it be related that when you don't save any history this last 2 data points isn't working?
Code:
web.page.regexp[http://localhost,/api,8080,^({.*)$,,]
Code:
Cannot get content of web page: Get "http://localhost:8080/api": dial tcp :0->[::1]:8080: connectex: No connection could be made because the target machine actively refused it.
I tried it with the following trigger but nothing happens. (I guess the error message is still data? )
Code:
nodata(//web.page.regexp[http://localhost,/api,8080,^({.*)$,,],2)=1
nodata does not take "count of checks" as paramater. and that number should not be less than 30s, as thats the time when history syncer calculates it, every 30 seconds... So you should set this to double the checking time maybe?
Comment