I need to check remote log file regularly. If log file was no longer updated for 2 minutes I should receive alert.
looks like:
while true
do
stat -c %z $LOGFILE
if test `find $LOGFILE -cmin +2`
then
cscript sm.vbs
echo "mail sended, 2 min inactive period"
fi
echo "loop 60 sec, pause"
sleep 60
done
Can do this OE Management?
There is no specific "last change rule", but you can certainly have your script run on a scheduled interval as a job from within OEM and have it call the fathom api to fire an alert.
For 10.2B documentation here:
documentation.progress.com/.../omalr.pdf
Check out page 2-35 and nearby pages.
Deleted.
There is no specific "last change rule", but you can certainly have your script run on a scheduled interval as a job from within OEM and have it call the fathom api to fire an alert.
For 10.2B documentation here:
documentation.progress.com/.../omalr.pdf
Check out page 2-35 and nearby pages.