Send scheduled report only if there are entries.
Posted: Wed Mar 06, 2019 5:15 pm
Hello, folks.
I want to lighten the email load of my alert recipients for WARNINGS. In my environment, WARNINGs are "This should be looked at" not "WAKE THE PRESIDENT!" events.
Generally, WARNINGS can wait a bit to get resolved while the CRTICALs are paged immediately.
My question has to do with reports.
I can create a scheduled "State History" report for the servicegroup that I care about and it works perfectly.
What I want to do is suppress that report if it is empty. I don't want to send a daily email that will start to be ignored in 5 days and have something of note in 6 days.
Is this doable? I'm not seeing any configuration options to suppress the email if the report is empty.
I already have a script that kicks off for criticals that inserts some info into a database to be scraped later for outage causing events that I could restructure to insert warning events into a separate table, but the reports are so close to being what I need, I figured I'd ask the question.
Thanks!
I want to lighten the email load of my alert recipients for WARNINGS. In my environment, WARNINGs are "This should be looked at" not "WAKE THE PRESIDENT!" events.
Generally, WARNINGS can wait a bit to get resolved while the CRTICALs are paged immediately.
My question has to do with reports.
I can create a scheduled "State History" report for the servicegroup that I care about and it works perfectly.
What I want to do is suppress that report if it is empty. I don't want to send a daily email that will start to be ignored in 5 days and have something of note in 6 days.
Is this doable? I'm not seeing any configuration options to suppress the email if the report is empty.
I already have a script that kicks off for criticals that inserts some info into a database to be scraped later for outage causing events that I could restructure to insert warning events into a separate table, but the reports are so close to being what I need, I figured I'd ask the question.
Thanks!