for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 (version: r2.9.1-1)
Plugin on Github Github syswombat (Gude 8220)
Expert Power Control 8220-1 - v1.0.4
cd /usr/lib/nagios/pluginsCustom | |||
wget https://raw.githubusercontent.com/syswombat/icinga2/master/gude/epc8220/check_epc8220.sh | |||
# chmod +x check_epc8220.sh | |||
steps | on Icinga2 | ||
vi /etc/icinga2/zones.d/master/02_INFRA/check_poco-01c.conf | |||
object CheckCommand "check_epc8220" {
"$ARG5$" = { |
|||
vi /etc/icinga2/zones.d/master/02_INFRA/check_poco-01s.conf | |||
object Service "check_epc8220-uptime" { host_name = "poco-01.kozo.ch" vars.epc8220-check ="systemuptime" vars.epc8220-warning="0" vars.epc8220-critical="0" display_name = "System-Uptime: " check_interval = 3600 check_command = "check_epc8220" } |
|||
# icinga2 daemon -C | |||
# time systemctl reload icinga2 | |||
# time systemctl restart icinga2 | |||
# multitail /var/log/icinga2/icinga2.log | |||
c | |||
cd /usr/lib/nagios/plugins | |||
./check_snmp -H 10.147.42.31 -P 2c -C public -o 1.3.6.1.2.1.1.3.0 | |||
SNMP OK - Timeticks: (645896904) 74 days, 18:09:29.04 | | |||
./check_snmp -H 10.147.42.31 -P 2c -C public -o 1.3.6.1.2.1.1.3.0 | cut -d':' -f2,3,4 -d'(' -d')' | |||
74 days, 18:12:43.04 | |
-
-
-
-
# snmpwalk -v 2c -c public 10.147.42.31 iso.3.6.1.2.1.1.1.0 = STRING: "Expert Power Control 8220-1" iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.4.1.28507.38 iso.3.6.1.2.1.1.3.0 = Timeticks: (642915304) 74 days, 9:52:33.04 iso.3.6.1.2.1.1.4.0 = STRING: "sysContact" iso.3.6.1.2.1.1.5.0 = STRING: "sysName" iso.3.6.1.2.1.1.6.0 = STRING: "sysLocation" iso.3.6.1.2.1.1.7.0 = INTEGER: 72 iso.3.6.1.2.1.2.1.0 = INTEGER: 1 iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1 iso.3.6.1.2.1.2.2.1.2.1 = STRING: "eth_cf52259" iso.3.6.1.2.1.2.2.1.3.1 = INTEGER: 6 iso.3.6.1.2.1.2.2.1.4.1 = INTEGER: 1500 iso.3.6.1.2.1.2.2.1.5.1 = Gauge32: 100000000 iso.3.6.1.2.1.2.2.1.6.1 = Hex-STRING: 00 19 32 00 A9 06 iso.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1 iso.3.6.1.2.1.2.2.1.8.1 = INTEGER: 1 iso.3.6.1.2.1.2.2.1.9.1 = Timeticks: (642915304) 74 days, 9:52:33.04 iso.3.6.1.2.1.2.2.1.10.1 = Counter32: 3147205240 iso.3.6.1.2.1.2.2.1.11.1 = Counter32: 434786 iso.3.6.1.2.1.2.2.1.12.1 = Counter32: 19293392 iso.3.6.1.2.1.2.2.1.13.1 = Counter32: 0 iso.3.6.1.2.1.2.2.1.14.1 = Counter32: 25 iso.3.6.1.2.1.2.2.1.15.1 = Counter32: 0 iso.3.6.1.2.1.2.2.1.16.1 = Counter32: 272948366 iso.3.6.1.2.1.2.2.1.17.1 = Counter32: 469391 iso.3.6.1.2.1.2.2.1.18.1 = Counter32: 2779526 iso.3.6.1.2.1.2.2.1.19.1 = Counter32: 0 iso.3.6.1.2.1.2.2.1.20.1 = Counter32: 469394 iso.3.6.1.2.1.2.2.1.21.1 = Gauge32: 0 iso.3.6.1.2.1.2.2.1.22.1 = OID: ccitt.0 |
|
# snmpwalk -v 2c -c public 10.147.42.31 iso.3.6.1.4.1.28507.38 |
-
-
- - - -
Quellen/Source:
-
-
-
-
-
-
-
-
- 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