Re: Create Availability Report within Working Hours
Mike Kelly <[email protected]> Tue, 10 Jul 2018 19:08:55 -0400
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <CAFb0NsK61W64sO21e3QuBp-9T7UBShSymXSG3VJZJLtd_dh8Vg@mail.gmail.com> |
One answer, though not one that'll help you with historical data, would be to set up recurring Scheduled Outages. Then, you'd just stop polling outside of that window, and any outages in that time would disappear from your report. But, the major issue then would be that, if the app went down at 4:55pm on a Friday, and came up 10 minutes later, it would look like a 2+ day long outage, because it wouldn't "clear" until the scheduled outage window ended... You may be better off diving deep into the nitty gritty of the Jasper Reports engine; you should be able to tweak the (already complicated) SQL query there to just exclude outages occurring outside of normal business hours... On Tue, Jul 10, 2018 at 2:46 PM Alberto Medina <[email protected]> wrote: > I have defined some applications in OpenNMS and I want to generate availability > reports <https://wiki.opennms.org/wiki/AvailabilityReports> for it, but > some of this applications are used only from 8:00 a.m. to 5:00 p.m.. This > apps should be available 99.99% of the time, but within the time frame. > > How can I create/modify the default report to query only working hours? > > Regards, > > Amedina > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Please read the OpenNMS Mailing List FAQ: > http://www.opennms.org/index.php/Mailing_List_FAQ > > opennms-discuss mailing list > > To *unsubscribe* or change your subscription options, see the bottom of > this page: > https://lists.sourceforge.net/lists/listinfo/opennms-discuss -- Mike Kelly ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss