I want check the nginx log. if it count >100 or more than 5 thousandths, it will be sendmail.
the actions set
Period 180s
setp from 3 to 0 will send mail.
the trigger is :
{all_nginx:all.nginx.[403].last(0)}>100|{all_nginx:all.nginx.[403].last(0)}/{all_nginx:all.nginx.[pv].last(0)}>0.005
when has wrong
the index page issus will view alert,but every 180s the age will be to 0 again,the setp looks to 1 again. so it don't active the action send mail.
why???
the actions set
Period 180s
setp from 3 to 0 will send mail.
the trigger is :
{all_nginx:all.nginx.[403].last(0)}>100|{all_nginx:all.nginx.[403].last(0)}/{all_nginx:all.nginx.[pv].last(0)}>0.005
when has wrong
the index page issus will view alert,but every 180s the age will be to 0 again,the setp looks to 1 again. so it don't active the action send mail.
why???