2 Replies Latest reply on Mar 25, 2015 7:19 AM by Scott Sadlocha

    Advice Requested for Task Alerting

    Scott Sadlocha

      Hello Everyone,

      Recently, we had some issues with server tasks not completing correctly. As a result, I would like to create some automatic responses to alert/email me when there are task issues in the future. I can't find any quick way to do it, so I was hoping to get help from the community, perhaps from someone that has done it already. I have looked through event IDs to possible find an event that would correspond to what I want, but none of them seem to fit, and I can't seen any pre-built responses that work either. What I would like are:

       

      1. A notification if tasks are stuck in a Waiting status. During our issues, there were so many tasks firing off that some tasks had a status of "Waiting". I would like to create a notification somehow, whether it is a single task, multiple tasks, or for an extended period of time, if a task has this status.

       

      2. A notification if a number of tasks fail within a given period of time. Perhaps if 10 tasks fail within an hour, a notification could fire off.

       

      3. A notification if a task is in a status of "In Progress" for a set number of time. Perhaps if a task runs more than 2 hours, I get a notification, so that I am aware.

       

      If any help can be provided with any type of alerting to match, I would greatly appreciate it. If any further information is needed from me, please let me know.

        • 1. Re: Advice Requested for Task Alerting
          rrodrig1

          This looks like a fun challenge and sounds like you might have some other issues at play. I'm guessing that you are running client task deployments for more than 245 systems at a time? You shouldn't ever have to do that; instead, you may want to consider tag-based deployments (which can be automated).

           

          Let's see how we can help answer your questions:

           

           

          1. A notification if tasks are stuck in a Waiting status. During our issues, there were so many tasks firing off that some tasks had a status of "Waiting". I would like to create a notification somehow, whether it is a single task, multiple tasks, or for an extended period of time, if a task has this status.

           

          So you will want to create a table-based query for this, and then use that query with a server task.

          EPO-AUTO-Tasks_Waiting_State.PNG

           

          2. A notification if a number of tasks fail within a given period of time. Perhaps if 10 tasks fail within an hour, a notification could fire off.

           

          There is not a native solution for this type of request since this isn't something that most organizations will do. I have an inelegant idea for a work-around, but I'm not sure it's the best way to handle this situation. Also, non-native solutions are not supported, so please keep that in mind. Could you help me understand what the goal is here? Otherwise, the recommended solution (and the best) is to monitor your dashboard for this activity. Then you can take action as you see these types of issues come up.

           

          3. A notification if a task is in a status of "In Progress" for a set number of time. Perhaps if a task runs more than 2 hours, I get a notification, so that I am aware

          This is same answer as #1. You can use a table-based query, and then a server task for the notification piece. Here's what I could think of for how to configure the query to find the type of task you're looking for.

          EPO-AUTO-Tasks_Duration_Status.PNG

          Keep in mind, I haven't tested these solutions, so be sure to do your own testing. I hope it will at least give you a good idea about how to accomplish what you're trying to do. Let us know how things turn out!


          Good luck!

          • 2. Re: Advice Requested for Task Alerting
            Scott Sadlocha

            Thanks much rrodrig1! I took your advice and steps, and these worked exactly as I needed them to!