Giter Club home page Giter Club logo

nagios_jira_version's Introduction

Jira version check scipt for icinga/nagios

Script checks for latest version on atlassian website and against your server.

For now it supports:

  • jira server/datacenter
  • confluence
  • jira service desk

Patches/mrs are welcome.

Installation on Debian/Ubuntu for Icinga2

apt -y install python3 python3-requests python3-packaging python3-bs4
cp check_jira_version.py /usr/lib/nagios/plugins/
cp check-jira-version-command.conf /etc/icinga2/conf.d/check-jira-command.conf

Example configuration of icinga2

apply Service "check_jira_version" {
  import "generic-service"
  check_command = "check_jira_version"
  assign where host.vars.jira_host
  check_interval = 1d
}

object Host "jira.example.com" {
  import "generic-host"
  address = "192.0.2.10"
  vars.jira_host = "jira.example.com"
  vars.jira_lts = true
}

object Host "wiki.example.com" {
  import "generic-host"
  address = "192.0.2.11"
  vars.jira_host = "wiki.example.com"
  vars.jira_software_type = "confluence"
  vars.jira_lts = true
}

object Host "sd.example.com" {
  import "generic-host"
  address = "192.0.2.12"
  vars.jira_host = "sd.example.com"
  vars.jira_software_type = "jira-service-desk"
  vars.jira_lts = false
}

Observium configuration

Probes support requires paid subscription.

cp check_jira_version.py /usr/lib/nagios/plugins/

add to observium's config.php:

$probe = 'check_jira_version.py';
$config['probes'][$probe]['enable'] = 1;
$config['probes'][$probe]['descr']  = 'Check Atlassian products versions';
$config['probes'][$probe]['args']['default']         = "-H %hostname%";

Example probe parameters

  • Device: your jira server
  • Probe type: check_jira_version.py
  • Description: Jira needs update
  • Extra arguments: -S --lts --software jira

nagios_jira_version's People

Contributors

ugenk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.