Hi,
I'm trying to configure two alerts based on time conditions and need some help:
#1
the first one I want to get alerted if a process is not running for more than 7 days then to raise an alert :
Item :
Trigger :
#2
The second check I'm monitoring the checksum of a file that another process is updating when it runs successfuly. I want to get alerted if the file hans't changed for more than an hour to raise a trigger :
item :
Trigger :
Unfortunately none of the alerts are working correctly... any help appreciated.
I'm trying to configure two alerts based on time conditions and need some help:
#1
the first one I want to get alerted if a process is not running for more than 7 days then to raise an alert :
Item :
Code:
proc.num[,,,/usr/bin/chef-client]
Code:
{my_app:proc.num[,,,/usr/bin/myprocess].max(7d)}<1
The second check I'm monitoring the checksum of a file that another process is updating when it runs successfuly. I want to get alerted if the file hans't changed for more than an hour to raise a trigger :
item :
Code:
vfs.file.cksum[/var/log/last_successful_run]
Code:
{my_app:vfs.file.cksum[/var/log/last_successful_run].diff(0)}=0
Unfortunately none of the alerts are working correctly... any help appreciated.
Comment