Skip to content

Commit

Permalink
Ship Icinga 2 config in packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Aug 29, 2020
1 parent ee79a48 commit 2139760
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis-ci/mk-pkgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ export PKG_VERSION="${PKG_VERSION/v/}"
export PKG_NAME="check_masifupgrader_agent"

mkdir -p pkgroot/usr/lib/nagios/plugins
mkdir -p pkgroot/usr/share/icinga2/include/plugins-contrib.d

cp icinga2/check_masifupgrader_agent.conf pkgroot/usr/share/icinga2/include/plugins-contrib.d/


# LSBDISTID DEB_ARCH GO_ARCH GO_ENV
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Limitations:

#### Icinga 2

This repository ships the [check command definition]
as well as a [service template] and [host example] for [Icinga 2].
The [Debian packages] ship the [check command definition] for [Icinga 2].
This repository ships a [service template] and a [host example] as well.

The service definition will work in both correctly set up [Icinga 2 clusters]
and Icinga 2 instances not being part of any cluster
Expand All @@ -82,9 +82,9 @@ as long as the [hosts] are named after the [endpoints].
[Debian packages]: https://github.com/masif-upgrader/check_masifupgrader_agent/releases
[Nagio$ check plugin API]: https://nagios-plugins.org/doc/guidelines.html#AEN78
[check command definition]: ./icinga2/check_masifupgrader_agent.conf
[Icinga 2]: https://www.icinga.com/docs/icinga2/latest/doc/01-about/
[service template]: ./icinga2/check_masifupgrader_agent-service.conf
[host example]: ./icinga2/check_masifupgrader_agent-host.conf
[Icinga 2]: https://www.icinga.com/docs/icinga2/latest/doc/01-about/
[Icinga 2 clusters]: https://www.icinga.com/docs/icinga2/latest/doc/06-distributed-monitoring/
[hosts]: https://www.icinga.com/docs/icinga2/latest/doc/09-object-types/#host
[endpoints]: https://www.icinga.com/docs/icinga2/latest/doc/09-object-types/#endpoint

0 comments on commit 2139760

Please sign in to comment.