Hi.
I have a user parameter set like this:
UserParameter=last_article_id,C:\PROGRA~1\PowerShe ll\7\pwsh.exe -command "(Invoke-RestMethod -Uri ""https://feed.xxx.com/test.php?key=xxxlastid=?&num_art=10&doc_format=jso n"").searchresult.search_start"
The item pulls every second
It uses powershell 7 to query an API for a given property. Among other things. we want to know if the data is empty thus using a trigger with nodata:
{PPS01:last_article_id.nodata(1)}=1
But every time the trigger are triggering a red PROBLEM and we get warning that lasts for 21 seconds and zabbix clears the trigger with a green RESOLVED.
Looking at the data history, it seems that there are data every single time.
I tried raising the timeout to 30 in the agent.conf... but it didn't solve the problem. What could be the reason for this?
Regards, Lars.
I have a user parameter set like this:
UserParameter=last_article_id,C:\PROGRA~1\PowerShe ll\7\pwsh.exe -command "(Invoke-RestMethod -Uri ""https://feed.xxx.com/test.php?key=xxxlastid=?&num_art=10&doc_format=jso n"").searchresult.search_start"
The item pulls every second
It uses powershell 7 to query an API for a given property. Among other things. we want to know if the data is empty thus using a trigger with nodata:
{PPS01:last_article_id.nodata(1)}=1
But every time the trigger are triggering a red PROBLEM and we get warning that lasts for 21 seconds and zabbix clears the trigger with a green RESOLVED.
Looking at the data history, it seems that there are data every single time.
I tried raising the timeout to 30 in the agent.conf... but it didn't solve the problem. What could be the reason for this?
Regards, Lars.
Comment