Software Information
For Debian 8: $ dpkg -i zabbix-release_3.0-1+jessie_all.deb $ apt update |
# apt install zabbix-agent |
# vi /etc/zabbix/zabbix_agentd.conf |
#Server=[zabbix server ip] #Hostname=[Hostname of client system ] [line 95] Server=192.168.1.11 [line 147 ]Hostname=Server2 [Line 236] Timeout=30 (and remove the #, have changed because of the "Zabbix agent on Host.name is unreachable for 5 minutes" ) |
/etc/init.d/zabbix-agent restart |
- first Installing: LXC | Elastic / ELK Stack
- https://github.com/robin13/fritz2logstash/blob/master/bin/fritzbox-bandwidth-logger.pl
-
-
-
-
-
need Information
Graphite with Fritzbox
Graphite with Cisco Switch
Graphite with Turris Omnia
Graphite with SNMP Requests
LXC | Monitoring ¦ Netdata
> Add a comment >config | Graylog 2.4 | Cisco Switch
Cisco Config | Graylog | |
> enable # conf t (config)#service timestamps log datetime msec (config)#service timestamps debug datetime msec (config)#logging host 10.147.42.40 (config)#logging trap 5 (config)#logging (config)#logging source-interface loopback 0 (config)#logging origin-id string switch01 |
Add Client
List/Add all "Things" to check | vi /etc/icinga2/zones.conf | ||
# icinga2 daemon -C | |||
# systemctl restart icinga2.service | |||
# systemctl status icinga2.service |
remove a Client
Quellen/Source:
-
-
-
-
-
-
-
-
Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)
Step | Master Debian 9 stretch | Master_________________ | Client "CentOS 7" | 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 some more Software | # yum install epel-release # yum install centos-release-scl |
|||
|
||||
# yum update -y | ||||
# subscription-manager repos --enable rhel-7-server-optional-rpms # subscription-manager repos --enable rhel-server-rhscl-7-rpms # rpm --import https://packages.icinga.com/icinga.key # yum install https://packages.icinga.com/epel/icinga-rpm-release-7-latest.noarch.rpm |
||||
# 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 (CentOS 7) to a Master (r2.10.3-1)
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 (version: r2.9.1-1)
-
-
- - - -
Quellen/Source:
- icinga2 Docs | Disable Re-notifications
-
-
-
-
-
- dokuwiki.tachtler.net
- > Add a comment >
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 (version: r2.9.1-1)
-
-
- - - -
Quellen/Source:
- dokuwiki.tachtler.net | check_clamav
-
-
- Clamscan Monitoring Plugin – Thomas-Krenn-Wiki
-
-
- dokuwiki.tachtler.net
- > Add a comment >
tmpl-24x7-host-mail
tmpl-24x7-host-telegram
tmpl-24x7-service-mail
tmpl-24x7-service-telegram
> Add a comment >for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 (version: r2.9.1-1)
github | syswombat | Unifi AP
-
-
-
snmpwalk -v 2c -c public 10.147.42.54 .1.3.6.1.2.1.1.1 | UAP-AC-Pro-Gen2 3.9.42.9152 | |
snmpwalk -v 2c -c public 10.147.42.54 .1.3.6.1.2.1.1.3 | Timeticks: (77741956) 8 days, 23:56:59.56 | |
snmpwalk -v 2c -c public 10.147.42.54 1.3.6.1.4.1.41112.1.6.3.6.0 | STRING: "3.9.42.9152" | |
snmpwalk -v 2c -c public 10.147.42.54 1.3.6.1.4.1.41112.1.6.1.2.1.8.2 | INTEGER: 2 | shows user connected |
snmpwalk -v 2c -c public 10.147.42.54 iso.3.6.1.4.1.41112.1.6.1.2.1.9 | awk '{print $4}' | if x = "ng" the echo 2.4 Ghz else echo 5 Ghz |
-
-
- - - -
Quellen/Source:
-
-
-
-
-
-
- dokuwiki.tachtler.net
- > Add a comment >
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 (version: r2.9.1-1)
steps | on Icinga2 | ||
1 | # cd /usr/lib/nagios/pluginsCustom | ||
# mkdir check_logfiles | |||
# cd check_logfiles | |||
# wget https://labs.consol.de/assets/downloads/nagios/check_logfiles-3.9.tar.gz |
|||
# tar zxvf check_logfiles-3.9.tar.gz | |||
# cd check_logfiles-3.9 | |||
./configure make make install |
|||
# chmod +x |
|||
b | vi gesuelze.cfg | ||
1 @searches = ({ 2 tag => '0815', 3 logfiles => '/var/log/messages', 4 criticalpatterns => '.*0815.*', 5 rotation => 'debian', 6 options => 'noprotocol' 7 }); |
|||
./check_logfiles -f gesuelze.cfg | |||
# ./check_logfiles -f gesuelze.cfg Use of uninitialized value $_[0] in substitution (s///) at /usr/share/perl/5.24/File/Basename.pm line 180. fileparse(): need a valid pathname at ./check_logfiles line 2632. |
|||
# icinga2 daemon -C | |||
# time systemctl reload icinga2 | |||
# time systemctl restart icinga2 | |||
# multitail /var/log/icinga2/icinga2.log | |||
c |
-
- - - -
Quellen/Source:
-
- labs.consol.de/nagios/check_logfiles
- Github | lausser - check_logfiles
-
- https://medium.com/luma-consulting/how-to-install-check-logfiles-on-ubuntu-linux-to-work-with-nagios-23e8b034a8a5
-
-
- > Add a comment >
# vi /etc/icinga2/conf.d/09_log-checks/check_radius-log.conf | ||
object CheckCommand "check_radius-log" { |
||
fail2ban | apt install -y geoip-bin | |
/var/log/fail2ban.log | ||
ban 181.214.206.94 | ||
geoiplookup 65.52.67.244 | cut -d ':' -f2 geoiplookup 150.107.148.155 | cut -d ':' -f2 geoiplookup 181.214.206.123 | cut -d ':' -f2 |
||
geoiplookup -f /usr/share/GeoIP/GeoLiteCity.dat 65.52.67.244 | ||
geoiplookup -f /usr/share/GeoIP/GeoLiteCity.dat 144.167.32.105 | cut -d':' -f2 | ||
chmod a+rw /var/log/freeradius/radius.log |
# icinga2 daemon -C | |||
# time systemctl reload icinga2 | |||
# time systemctl restart icinga2 | |||
# multitail /var/log/icinga2/icinga2.log |
-----
Quellen/Source:
-
- find-geolocation-ip-address-commandline/
-
---- > Add a comment >
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
on Icinga2 (version: r2.9.1-1)
github.com/syswombat/icinga2/blob/master/apt-wrapper/check_apt_wrapper.sh
steps | on Icinga2 | ||
1 | # cd /usr/lib/nagios/plugins | ||
vi /usr/lib/nagios/plugins/check_apt_wrapper.sh | |||
wget https://raw.githubusercontent.com/syswombat/icinga2/master/apt-wrapper/check_apt_wrapper.sh
|
|||
chmod +x check_apt_wrapper.sh | |||
b | vi /etc/icinga2/zones.d/master/check_apt_update.conf | ||
object CheckCommand "check_apt_updates2" { apply Service "check_apt_updates2" { |
|||
# icinga2 daemon -C | |||
# time systemctl reload icinga2 | |||
# time systemctl restart icinga2 | |||
# multitail /var/log/icinga2/icinga2.log | |||
c |
-
- - - -
Quellen/Source:
-
-
-
-
-
-
-
- > Add a comment >
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