Hi. So I'm reading through this thread and I'm just wondering if when you guys run this script - say every 30 minutes - do you just have a single team / person that you send the messages to? And does it potentially report the SAME messages over and over?
For example, let's say there's a FAULT_OTHER error at 10:17am. The script runs at 10:30am and obviously picks up the error and sends out an alert / email or whatever. But what happens at 11, 11:30, 12, etc.? Does it always pick up that same error? It seemed like the query was for a 24 hour period, so I kind of feel like if there is a single FAULT_OTHER error - you're going to get an alert every 30 minutes for the rest of that day. Can that be right?
The dilemma I have is that we do not have a single operations team who handles all the alerts. Each team handles their own. I think I can figure out how to identify which errors belong to which team by the object name, but again, I'm not sure how I would keep track of which errors I've already sent and new ones. The teams are not going to want the same errors over and over. I was thinking I could possibly use variables and run ID's to keep track, but this seems more complex than I was hoping for.
All suggestions welcome. Thanks.
------------------------------
Enterprise Scheduling Lead
Takeda
------------------------------
Original Message:
Sent: 07-06-2017 01:36 PM
From: Anon Anon
Subject: Automatically finding objects/jobs that end with status "FAULT_OTHER"
You re welcome :-)
great that it works this easy cheesy :-)