-
-
Notifications
You must be signed in to change notification settings - Fork 472
new script ct/icinga #1343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
new script ct/icinga #1343
Changes from 8 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
8776c40
dev stage
chrnie 3521678
use functions which exist only in ProxmoxVED
chrnie 3a5a25d
change source url to community-scripts/ProxmoxVED
chrnie 77ea90d
Update License ct/icinga.sh
chrnie 4a5dfa7
Enable service silently
chrnie dd5647a
Merge branch 'community-scripts:main' into feature/icinga_pr
chrnie ef1674b
use more best practices, where possible
chrnie fbb3bf7
fix License
chrnie 6481af2
respect header style
chrnie 1f17212
fix variable and last cli output
chrnie fe4c508
using setup_mariadb_db, but director db must be set to utf8. Think ab…
chrnie e06fed0
base64 to plain json, custom director integration config for the x509…
chrnie a8987a8
remove old credentials, and replace pkg_update/pkg_install by apt-get
chrnie 81a71bd
space inside the head
chrnie 1745b5b
typo
chrnie 4b7a3cd
proper escaping
chrnie 38a6d00
handle credentials
chrnie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| ██╗ ██████╗ ██╗ ███╗ ██╗ ██████╗ █████╗ | ||
| ██║██╔════╝ ██║ ████╗ ██║ ██╔════╝ ██╔══██╗ | ||
| ██║██║ ██║ ██╔██╗ ██║ ██║ ███╗███████║ | ||
| ██║██║ ██║ ██║╚██╗██║ ██║ ██║██╔══██║ | ||
| ██║╚██████╗ ██║ ██║ ╚████║ ╚██████╔╝██║ ██║ | ||
| ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| #!/usr/bin/env bash | ||
| source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) | ||
| # Copyright (c) 2021-2026 community-scripts ORG | ||
| # Author: chrnie | ||
| # License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE | ||
| # Source: https://icinga.com/ | ||
|
|
||
| APP="Icinga" | ||
| var_tags="${var_tags:-monitoring}" | ||
| var_cpu="${var_cpu:-2}" | ||
| var_ram="${var_ram:-2048}" | ||
| var_disk="${var_disk:-8}" | ||
| var_os="${var_os:-debian}" | ||
| var_version="${var_version:-13}" | ||
| var_unprivileged="0" | ||
|
chrnie marked this conversation as resolved.
Outdated
|
||
|
|
||
| header_info "$APP" | ||
| variables | ||
| color | ||
| catch_errors | ||
|
|
||
| function update_script() { | ||
| header_info | ||
| check_container_storage | ||
| check_container_resources | ||
| if [[ ! -f /usr/sbin/icinga2 ]]; then | ||
| msg_error "No ${APP} Installation Found!" | ||
| exit | ||
| fi | ||
|
|
||
| msg_info "Updating Icinga" | ||
| $STD apt update | ||
| $STD apt upgrade -y | ||
| msg_ok "Updated Icinga" | ||
| msg_ok "Updated successfully!" | ||
| exit | ||
| } | ||
|
|
||
| start | ||
| build_container | ||
| description | ||
|
|
||
| msg_ok "Completed successfully!\n" | ||
| echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" | ||
| echo -e "${INFO}${YW} Access it using the following URL:${CL}" | ||
| echo -e "${TAB}${GATEWAY}${BGN}http://${IP}/icingaweb2 for icingaweb and Port 5665 for icinga2 api.${CL}" | ||
|
chrnie marked this conversation as resolved.
Outdated
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| { | ||
| "name": "Icinga2 Monitoring", | ||
| "slug": "icinga2", | ||
| "categories": [ | ||
| 9 | ||
| ], | ||
| "date_created": "2026-01-16", | ||
| "type": "ct", | ||
| "updateable": true, | ||
| "privileged": true, | ||
| "interface_port": 80, | ||
| "documentation": "https://icinga.com/docs/", | ||
| "website": "https://icinga.com/", | ||
| "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/icinga.webp", | ||
| "config_path": "", | ||
| "description": "Icinga2 is a powerful open-source monitoring system for infrastructure and services. It provides comprehensive monitoring, alerting, and visualization for hosts, services, and applications. Icinga2 features a modern web interface (Icinga Web 2), supports distributed setups, and integrates with many notification and reporting modules. This container includes Icinga2 Core, Icinga Web 2, MariaDB, Director, Reporting, x509, Notification, and Linuxfabrik plugins for advanced monitoring scenarios.", | ||
| "install_methods": [ | ||
| { | ||
| "type": "default", | ||
| "script": "ct/icinga.sh", | ||
| "resources": { | ||
| "cpu": 2, | ||
| "ram": 2048, | ||
| "hdd": 8, | ||
| "os": "debian", | ||
| "version": "13" | ||
| } | ||
| } | ||
| ], | ||
| "default_credentials": { | ||
| "username": "icingaadmin", | ||
| "password": "(see install output)" | ||
| }, | ||
| "notes": [ | ||
| { | ||
| "text": "Web interface: http://<container-ip>/icingaweb2", | ||
| "type": "info" | ||
| }, | ||
| { | ||
| "text": "Default user: icingaadmin (password is shown after install)", | ||
| "type": "info" | ||
| }, | ||
| { | ||
| "text": "Director, Reporting, x509, Notifications and Linuxfabrik plugins are pre-installed.", | ||
| "type": "info" | ||
| } | ||
| ] | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.