Software Information
icinga2: Can't send external Icinga command to the local command file "/var/run/icinga2/cmd/icinga2.cmd": Permission denied.
Solved with:
# icinga2 feature enable command
# service icinga2 restart
# service icinga2 status
Install Graphite - | - Debian 9 Stretch for Icingaweb2
# icinga2 --v = installed with icinga2 (version: r2.6.0-1) /(version: r2.9.1-1)
--- | |||
20.2 | Change sources.list | # vi /etc/apt/sources.list deb http://httpredir.debian.org/debian jessie main # apt update -y |
|
20.3 | # apt install -y graphite-web graphite-carbon mysql-server python-mysqldb python-pymysql apache2 libapache2-mod-wsgi apt-transport-https ssl-cert python-pip | ||
# icinga2 feature enable perfdata graphite | |||
# systemctl restart icinga2.service | |||
20.4 | config | # vi /etc/graphite/local_settings.py | SECRET_KEY TIME_ZONE Europe/Zurich ALLOWED_HOSTS |
20.5 | config default/graphite-carbon | # vi /etc/default/graphite-carbon | set true |
20.6 | install django | # pip install "django==1.4" | |
20.7 | # graphite-manage syncdb # chown _graphite. /var/lib/graphite/graphite.db |
||
20.8 | Apache config | # a2dissite 000-default.conf # cp /usr/share/graphite-web/apache2-graphite.conf /etc/apache2/sites-available/ # a2ensite apache2-graphite.conf # systemctl restart apache2 |
|
icinga Module | # cd /usr/share/icingaweb2/modules # git clone https://github.com/findmypast/icingaweb2-module-graphite graphite |
||
# mv icingaweb2-module-graphite graphite | |||
20.x | # icinga2 feature list # icinga2 feature enable graphite |
||
20.x | # vi /etc/icinga2/features-enabled/graphite.conf | library "perfdata" object GraphiteWriter "graphite" { host = "10.147.42.36" port = 2003 enable_send_thresholds = true } |
|
20.x | GUI enable | (Configuration > Modules > graphite > enable) | |
20.x | Restart | # systemctl restart apache2 icinga2 # systemctl status apache2 icinga2 |
|
Icinga Gui | Icinga Gui --> Configuration --> Modules select graphite and then configuration |
graphite web url differs from http://graphite.com/render/? or if your graphite prefix differs from "icinga" please create a config file in /etc/icingaweb2/modules/graphite/config.ini following this example: | |
vi /etc/icingaweb2/modules/graphite/config.ini | |||
copy paste the text from the Gui | |||
change the IP to your Server | [graphite] base_url = http://10.147.42.36/render? |
Quelle/Source:
- Web freenode IRC #graphite
- (2017) Icingaweb2 Graphite Modul
- (2017) Revisited – Graphite-Web installation unter Debian 9
- https://github.com/Icinga/icingaweb2-module-graphite/issues
- (2015) Graphite für Icinga2 und Icingaweb2 installieren
-
-
-
-
-
-
-
- > Add a comment >
---- lesen
--- Master with Clients
Step | Master Debian 9 stretch | Master_________________ | Client "Debian GNU/Linux 9 (stretch)" | Client stretch |
# icinga2 --v | icinga2 (version: r2.9.0-1) | |||
# vi /etc/icinga2/zones.conf | object Endpoint "client.kozo.ch" { host = "10.147.42.50" } object Zone "client.kozo.ch" { endpoints = [ "client.kozo.ch" ] parent = "master" } |
|||
# cd /etc/icinga2/zones.d/master/
|
object Host "client.kozo.ch" { |
|||
# icinga2 daemon -C | ||||
# systemctl restart icinga2.service | ||||
# systemctl status icinga2.service | ||||
# multitail /var/log/icinga2/icinga2.log | ||||
add the Repository for the newest icinga2 | # wget -O - https://packages.icinga.com/icinga.key | apt-key add - | |||
# vi /etc/apt/sources.list | deb http://packages.icinga.com/debian icinga-stretch main deb-src http://packages.icinga.com/debian icinga-stretch main |
|||
# apt update -y | ||||
# apt install -y bash-completion # apt install -y -f icinga2 # apt install -y -f nagios-plugins |
||||
# systemctl restart icinga2 # systemctl status icinga2 # systemctl enable icinga2 |
||||
# icinga2 feature list # icinga2 feature enable command # systemctl restart icinga2 |
||||
# icinga2 node wizard |
||||
icinga2-01.kozo.ch
10.147.42.36 |
# vi /etc/icinga2/zones.conf |
object Endpoint "icinga2-01.kozo.ch" { |
||
# service icinga2 restart # systemctl restart icinga2.service # systemctl status icinga2.service |
||||
# icinga2 node list |
||||
# icinga2 node update-config |
||||
# multitail /var/log/icinga2/icinga2.log | # multitail /var/log/icinga2/icinga2.log | |||
Service löschen die es nicht braucht # vi /etc/icinga2/conf.d/services.conf # service icinga2 restart |
||||
# icinga2 node list |
||||
# icinga2 node update-config # icinga2 daemon -C # systemctl restart icinga2 # systemctl status icinga2 |
> Add a comment >
Read more: Icinga2 | add Icinga2 Client to a Master (r2.9.0-1)
Roundcube: Nachricht als Spam markieren
Quellen/Source:
- >Roundcube: Nachricht als Spam markieren
-
-
>
Add a comment
>
Hugo Roy has been trying to install Kolab and not getting on particularly well with it. His experiences persuaded me to take another look at my Kolab installation done back in June, and to my surprise it didn’t seem to work any more. I eventually discovered some things that will probably need fixing in the packaging, and these are mentioned
Today is a sad day for the world of Information Technology and the cause of software freedom. PJ just announced she’ll be shutting down Groklaw.
It’s hard to overestimate the role that Groklaw has played in the past years. Many of us, myself included, have worked with Groklaw over the years. I still take pride my article about the danger
Subcategories
Windows Article Count: 5
Perfect Article Count: 236
Android Article Count: 220
virtualisierung Article Count: 10
Firewall Article Count: 12
- Anker 575 USB-C Docking Station (13-in-1), 85W für Laptops
- Perfect Server Hardware for Virtualization | Proxmox | pve-05
- Pioneer Blu-Ray/BD/DVD/CD Reader/writer USB 3.0 BDR-XD07TB | WORKS OK with Debian 11
- NOT WORKING WITH DEBIAN 11 | Dockingstation | IcyBox 14-in-1 USB Type-C | IB-DK2262AC
- How to remove systemd services
- Laptop | Lenovo | Thinkpad E15 Gen3 AMD
- Laptop | Lenovo | LENOVO-IDEA IdeaPad 3 15IGL05 Notebook (15.6 ", 128 GB SSD, Business Black)
- D. Klimo | Kent monoblocks
- TTN Mapper
- LILYGO TTGO T-Beam V1.1 ESP32 LoRa 868Mhz GPS 18650 Board
- LILYGO® TTGO T-Beam 868MHz -> The Things Network (TTN/TTS) -> Karte | Infos und Video bei Alex (www.aeq-web.com)
- Kabelfarben 3.3V, 5V, 12V, 230V | Durchmesser
- 01 Digi-Bee Stand01 Wetter
- Solar Panel | 6V 3W Solar Panel JY D145x145
- TTGO LoRa32 V2.1_1.6 version 433/868/915Mhz ESP32 LoRa OLED 0.96 Inch SD Card Bluetooth WIFI wireless Module ESP-32 SMA
- -pve-04 | Disk SSD and HDD
- DISK SSD | 1 TB | Samsung SSD 870 EVO 1TB - 1TB
- NanoVNA V2
- CubeSat | antennas |
- KoZo_GS3_433MHz
- tinyGS - shortcut what it means
- TinyGS Telegram community | published Links
- Wolfgang W. Osterhage (Springer Verlag Sachbuch 2021): Die Geschichte der Raumfahrt | (gefundene Fehler)
- ucs Univention some commands
- SMA-Stecker / SMA-Buchse