infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
TclAlert Type
Jerry Tilsley
All,
I'm working on a couple new alerts that are based off TCL. I can get them to fire initially, but how do you get them to reset so they will fire again? Do they have to be passed with a value of 0 to reset?
Thanks,
Jerry
Find more posts tagged with
Clovertech
Comments
RobertKersemakers
Hi Jerry,
You can have the alerts reset by doing a 'touch' (we are on HP-UX) of the alert-file (default.alrt for example). That way all alerts are loaded again and will fire again according to the configuration.
Jerry Tilsley
Robert, I appreciate your reply it was helpful.
All, I also spoke with Support yesterday in regards to this issue and we found out my main issue was with the TCL Alert script I had created.
With the TCL Alerts, you can specify how often you want the script executed; such as every 6 polling passes (a polling pass is 5 seconds). So with my script which passes return values of 0,1,2, or 3; if I define a an alert around this and say I want an e-mail if the value is equal to 3, then the first time it is a 3 I get an e-mail but I will not get another e-mail until the script returns another value other than 3 first which in effect resets this alert.
So on the first pass if the value is 3 I get an e-mail, but if the very next pass is also a 3 I do not. If the third pass is anything but 3(because my alert is defined to be equal 3), then I will receive an e-mail on the next occurrence of value 3.
This comes in handy when you want to monitor the Error DB without setting up a bunch of alerts that may fire if the monitor daemon is restarted. I can provide my TCL Alert file if anyone else wants to venture into this craziness. Though I do see a lot of potential here.
Jerry