Allow Icinga/Nagios notify server problem as new issue in Redmine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Cybervitexus fa83c33021
Create FUNDING.yml
3 weeks ago
.github Create FUNDING.yml 3 weeks ago
bin Initial Redmine notification support commit 3 years ago
debian Initial Redmine notification support commit 3 years ago
nbproject Initial Redmine notification support commit 3 years ago
src Initial Redmine notification support commit 3 years ago
.gitignore Initial Redmine notification support commit 3 years ago
LICENSE Initial commit 3 years ago
Makefile Initial Redmine notification support commit 3 years ago
README.md Project Logo Added to Readme 3 years ago
composer.json Initial Redmine notification support commit 3 years ago
notifications.cfg Initial Redmine notification support commit 3 years ago
project_logo.png Project Logo Added 3 years ago
project_logo.xcf Project Logo Added 3 years ago

README.md

Project Logo

monitoring-to-redmine-notify

Allow Icinga/Nagios notify server problem as new issue in redmine

Please Use following formats for address2 url:

?project value is project identifier as is used in redmine project url

We need redmine API enabled https://www.youtube.com/watch?v=l3vhtQohrXw

Add To your configuration:

define command { 
        command_line /usr/bin/host-notify-by-redmine
        command_name host-notify-by-redmine
}

define command { 
        command_line /usr/bin/service-notify-by-redmine
        command_name service-notify-by-redmine
}

define contact { 
        address2                      https://login:password@server/redmine?project=monitoring
        alias                         redmine
        contact_name                  john doe redmine
        host_notification_commands    host-notify-by-redmine
        host_notification_options     d,u,r
        host_notification_period      24x7
        host_notifications_enabled    1
        service_notification_commands service-notify-by-redmine
        service_notification_options   ,w,u,c
        service_notification_period   24x7
        service_notifications_enabled 1
        use                           generic-contact
}

Debian Installation

Please use our repo:

    wget -O - http://v.s.cz/info@vitexsoftware.cz.gpg.key|sudo apt-key add -
    echo deb http://v.s.cz/ stable main > /etc/apt/sources.list.d/ease.list
    apt update
    apt install monitoring-to-redmine-notify

You can import initial configuration into Icinga Editor using this command:

iecfgimporter  /usr/share/doc/monitoring-to-redmine-notify/notifications.cfg

We Use https://github.com/kbsali/php-redmine-api to talk with redmine