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.
Anton Fischl 45894f9db8
.github/workflows/emerge-test.filter: no need for separate tests for users/groups
3 days ago
.github .github/workflows/emerge-test.filter: no need for separate tests for users/groups 3 days ago
acct-group/graphite-web net-analyzer/graphite-web-gunicorn: first commit 3 weeks ago
acct-user/graphite-web net-analyzer/graphite-web-gunicorn: first commit 3 weeks ago
app-admin/VMware-vSphere-CLI shellcheck: fix SC2001 1 month ago
app-misc/go-carbon shellcheck: fix SC2164 (cd or die) 1 month ago
dev-libs/icinga-php-thirdparty Delete dev-libs/icinga-php-library: is uptodate in gentoo 2 weeks ago
dev-perl remove old ebuilds 3 days ago
dev-python shellcheck: fix SC2153 1 month ago
licenses net-analyzer/check_vmware_esx: added 5 months ago
metadata update metadata 3 days ago
net-analyzer remove old ebuilds 3 days ago
profiles profile: package.accept_keywords for www-apps/Thruk 3 weeks ago
www-apps remove old ebuilds 3 days ago
www-client/phantomjs-bin www-client/phantomjs-bin: cleanup 4 days ago
.gitignore net-analyzer/check_vmware_esx: added 5 months ago
.shellcheckrc .shellcheckrc: allow /sbin/openrc-run as shell 1 month ago
LICENSE add GPL-3 License 5 months ago
README.md README.md: fix typo 7 days ago

README.md

Gentoo Overlay Repository for Icinga2 related stuff (mainly check plugins)

QA-Status: repoman pkgcheck ShellCheck

Intro

in its current form this repo hosts ebuilds for a handful of icinga2 check plugins (and, if necessary, their dependencies) that I found useful for myself. I will also provide command definitions for icinga2, if necessary (i.e. the plugin isn't already in the icinga2 ITL)

In rare cases these ebuilds also include templates for icingaweb2-modules-graphite (see net-analyzer/check_haproxy as an example).

There are also a few icingaweb2-modules in category www-apps.

I try to have these ebuilds as current to upstream as possible. In the near future I want to have a bot doing most of the maintenance stuff (like bumping ebuilds on new releases) For this, I have build a bot that does most of the (unstable) version bumping

If you think there is an check plugin missing, please file an Issue or (much more appreciated) a pull request at Github.

Adding the overlay

Official list

Layman

If you are using Layman, execute:

layman -a icinga

eselect-repository

If you are using eselect-repository, execute:

eselect repository enable icinga

using the profile

This repo provides profiles selectable via "eselect profile" for default USE-Flags and masking/unmasking different packages. Take a look at profiles/icinga/ for details.

eselect profile list
...
[xx]  icinga:default/linux/amd64/17.1/icinga (stable)

eselect profile select icinga:default/linux/amd64/17.1/icinga

You can also use this profile as basis for your own profile. (see wiki.gentoo.org)

# make new repository
eselect repository create <repo_name>

# we must use 'portage-2' format so 'parent' can be easily set to other repos
echo "profile-formats = portage-2" >> /var/db/repos/<repo_name>/metadata/layout.conf

# create new profile
mkdir /var/db/repos/<repo_name>/profiles/<profile_name>
echo 7 > /var/db/repos/<repo_name>/profiles/<profile_name>/eapi

# set parent to mix and match your needs
echo "gentoo:default/linux/amd64/17.1" >/var/db/repos/<repo_name>/profiles/<profile_name>/parent
# include icinga defaults
echo "icinga:icinga" >> /var/db/repos/<repo_name>/profiles/<profile_name>/parent

# make it known to 'eselect profile'
echo -e "amd64\t<profile_name>\tstable" >> /var/db/repos/<repo_name>/profiles/profiles.desc

# select the new profile
eselect profile list
eselect profile set '<repo_name>:<profile_name>'

# don't forget to 'emerge world' for the changed USE-Flags

Submitting an Issue

Ebuild error

the issue tracker is located in my GitHub repository. If an ebuild appears to produce an error, please report it there.

Contributing

I appreciate and encourage for contribution. If you want a specific package or want to create a package for me to maintain, please make a pull request.

TODOs

  • automatically generate new ebuilds (marked as unstable) if upstream releases new version
  • provide a meta-ebuild that installs haproxy/apache/php/mariadb/graphite/grafana with example config and documentation. The goal here is to provide an "easy" installation for a running icinga2 instance in Gentoo