{"id":19648359,"url":"https://github.com/bestpractical/rt-extension-nagios","last_synced_at":"2025-06-28T17:32:59.992Z","repository":{"id":674438,"uuid":"317947","full_name":"bestpractical/rt-extension-nagios","owner":"bestpractical","description":null,"archived":false,"fork":false,"pushed_at":"2014-12-16T17:27:47.000Z","size":221,"stargazers_count":13,"open_issues_count":1,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-05T09:25:25.127Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://search.cpan.org/dist/RT-Extension-Nagios","language":"Perl","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"moumar/ruby-mp3info","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bestpractical.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-09-26T00:56:07.000Z","updated_at":"2020-06-30T19:30:03.000Z","dependencies_parsed_at":"2022-08-16T10:40:16.861Z","dependency_job_id":null,"html_url":"https://github.com/bestpractical/rt-extension-nagios","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-extension-nagios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-extension-nagios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-extension-nagios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bestpractical%2Frt-extension-nagios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bestpractical","download_url":"https://codeload.github.com/bestpractical/rt-extension-nagios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251338847,"owners_count":21573623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T14:48:04.858Z","updated_at":"2025-04-28T15:32:24.644Z","avatar_url":"https://github.com/bestpractical.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    RT::Extension::Nagios - Merge and resolve Nagios tickets\n\nDESCRIPTION\n    Nagios \u003chttp://www.nagios.org\u003e is a powerful monitoring system that\n    enables organizations to identify and resolve IT infrastructure problems\n    before they affect critical business processes.\n\n    This extension allows email alerts generated by Nagios to be aggregated\n    and resolved as it generates them. It does this by examining the\n    standard subject line that Nagios generates; by default, these take the\n    form:\n\n        PROBLEM Service Alert: localhost/Root Partition is WARNING\n\n    There are 5 useful parts in subject; we call them type, category, host,\n    problem_type and problem_severity. These are parsed from the subject via\n    a regular expression; in the above example, the extension would extract:\n\n        type:             PROBLEM\n        category:         Service\n        host:             localhost\n        problem_type:     Root Partition\n        problem_severity: WARNING\n\n    After the new ticket is created, the following is done:\n\n    1.  Find all the other active tickets in the same queue with the same\n        values of category, host and problem_type. If the configuration\n        setting NagiosSearchAllQueues is set (see below), all queues are\n        searched.\n\n    2.  If the configuration setting NagiosMergeTickets is set (see below),\n        merge all matching tickets.\n\n    3.  If type is 'RECOVERY', resolve them.\n\nINSTALLATION\n    perl Makefile.PL\n    make\n    make install\n        May need root permissions\n\n    make initdb\n        Only run this the first time you install this module.\n\n        If you run this twice, you may end up with duplicate data in your\n        database.\n\n        If you are upgrading this module, check for upgrading instructions\n        in case changes need to be made to your database.\n\n    Edit your /opt/rt4/etc/RT_SiteConfig.pm\n        If you are using RT 4.2 or greater, add this line:\n\n            Plugin('RT::Extension::Nagios');\n\n        For RT 4.0, add this line:\n\n            Set(@Plugins, qw(RT::Extension::Nagios));\n\n        or add RT::Extension::Nagios to your existing @Plugins line.\n\n    Restart your webserver\n\nCONFIGURATION\n    This extension has three configuration settings; setting them should be\n    done in RT_SiteConfig.pm.\n\n    NagiosSearchAllQueues\n        If set, this causes step 1, above, to search for matching Nagios\n        tickets in an queue. In most configurations, Nagios notifications\n        will arrive in one queue, and remain there. If your workflow\n        involves triaging Nagios notifications from there into other queues,\n        you will want to set:\n\n           Set( $NagiosSearchAllQueues, 1 );\n\n    NagiosMergeTickets\n        Controls if the extensions merges tickets about the same incident\n        together. By default, each PROBLEM, ACKNOWLEDGEMENT, FLAPPINGSTART,\n        FLAPPINGSTOP and RECOVERY notification will remain as its own\n        ticket; when the RECOVERY email is received by RT, all will be\n        resolved.\n\n        Setting this configuration parameter to 1 causes the extension to\n        merge all old tickets on the same topic into new tickets as they\n        arrive; as such, the Created date will respect the most recent\n        message.\n\n        Setting it to -1 causes the extension to merge new tickets into any\n        existing tickets as they arrive; the Created date will respect the\n        oldest message, and the ticket ID will remain constant:\n\n            Set( $NagiosMergeTickets, -1 );\n\n    NagiosResolvedStatus\n        Since RT allows for custom lifecycles on queues, this extension's\n        default of setting tickets to Resolved upon RECOVERY may be\n        incorrect for the queue they are in. If the queue your Nagios\n        tickets reside in does not have a Resolved status, or you would like\n        tickets to be transitioned to a different status on RECOVERY, set\n        NagiosResolvedStatus:\n\n            Set( $NagiosResolvedStatus, 'recovered' );\n\nAUTHOR\n    Best Practical Solutions, LLC \u003cmodules@bestpractical.com\u003e\n\n    Based on work by Todd Chapman.\n\nBUGS\n    All bugs should be reported via email to\n\n        L\u003cbug-RT-Extension-Nagios@rt.cpan.org|mailto:bug-RT-Extension-Nagios@rt.cpan.org\u003e\n\n    or via the web at\n\n        L\u003crt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-Nagios\u003e.\n\nLICENSE AND COPYRIGHT\n    This software is Copyright (c) 2014 by Best Practical Solutions\n\n    This is free software, licensed under:\n\n      The GNU General Public License, Version 2, June 1991\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Frt-extension-nagios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbestpractical%2Frt-extension-nagios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbestpractical%2Frt-extension-nagios/lists"}