How do i check the nodata of same time on yesterday example:
i have configured servers and items at 11:15pm there won't be any data present on yesterday.
suppose now time is 11:30 pm
check if no data present on yesterday 11:30 then consider last occurred cycle data.
i tried using 2 ways:
1.({Clearcode_Template_MAH:clearcode.total[
].last(1d)} > 0) or ({Clearcode_Template_MAH:clearcode.total[
{HOSTNAME}].nodata(1d)} = 1 and {Clearcode_Template_MAH:clearcode.total[{HOSTNAME}].last()} > 0)
2.({Clearcode_Template_MAH:clearcode.total[
{HOSTNAME}].count(1d)} >= 96 and {Clearcode_Template_MAH:clearcode.total[{HOSTNAME}].last(15m,1d)} >0) or ({Clearcode_Template_MAH:clearcode.total[
{HOSTNAME}].count(1d)} < 96 and {Clearcode_Template_MAH:clearcode.total[{HOSTNAME}].last()} >0)
In Both ways i did not get expected results.
how do achieve this ?