Icinga2 | add Supermicro IPMI
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
| Supermicro backend | Add a user with some right  user icinga2 pwd icinga24  | 
||
| steps | on Icinga2 | ||
| # arp -n | grep 0c:c4:7a:ee:42:1c | awk '{print $1}' | this is the IP of the IPMI Port (the Eth.Port has DHCP) | ||
apt install -y libipc-run-perl | 
|||
| wget http://ftp.gnu.org/gnu/freeipmi/freeipmi-1.6.2.tar.gz tar xzvf freeipmi-1.6.2.tar.gz cd freeipmi-1.6.2 apt install -y build-essential libgcrypt11-dev ./configure make make install ldconfig  | 
|||
| 1 | # cd /usr/lib/nagios/pluginsCustom | ||
| #   wget  https://raw.githubusercontent.com/thomas-krenn/check_ipmi_sensor_v3/master/check_ipmi_sensor | 
|||
| #  chmod +x check_ipmi_sensor | 
|||
| b | ./check_ipmi_sensor | Can't locate IPC/Run.pm in @INC (you may need to install the IPC::Run module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./check_ipmi_sensor line 35. BEGIN failed--compilation aborted at ./check_ipmi_sensor line 35.  | 
|
| c |  curl -L http://cpanmin.us | perl - -- App::cpanminus cpanm --with-recommends --force IPC::Run  | 
||
| ./check_ipmi_sensor | |||
| # icinga2 daemon -C | |||
| # systemctl reload icinga2 | |||
| # systemctl restart icinga2 | |||
| # multitail /var/log/icinga2/icinga2.log | 
-
Source/Quellen:
-
- thomas-krenn | IPMI Sensor Monitoring Plugin
- thomas-krenn | FreeIPMI
- thomas-krenn | IPMI Konfiguration für Supermicro Systeme
-
-
-
-
-
-
-
modul-icinga-articlelist
- ✔ Icinga2 | (spez)Plugins | define path
 - ✔ Icinga2 | add NAS-Qnap (check_qnap3)
 - ✔ icinga2 | check_ssl_cert
 - 01 ✔ Install graphite for incibaweb2 on Debian 9
 - 02 Icinga2 Modul Director on Debian9
 - 90_(Solved) Icinga error: icinga2: Can't send external Icinga command to the local command file "/var/run/icinga2/cmd/icinga2.cmd": Permission denied.
 - 99_(solved) error after enter token
 - add a client to Icinga / or Remove the client save
 - critical/icinga-app: Another instance of Icinga already running with PID
 - first Install check_nwc_health
 - Icinga config
 - Icinga2 | add a Windows Client to Icinga2 Master
 - Icinga2 | add Cisco Switch 3560 Familie
 - Icinga2 | add FreeNAS
 - Icinga2 | add Fritzbox 7490
 - Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)
 - Icinga2 | add Icinga2 Client to a Master (r2.9.0-1)
 - Icinga2 | add NAS-Drobo
 - Icinga2 | add OpnSense Check (check_opnsense)
 - Icinga2 | add Proxmox
 - Icinga2 | add Raspberry Pi (Debian9)
 - Icinga2 | add service to a hostgroup
 - Icinga2 | add Supermicro IPMI
 - Icinga2 | add USV/UPS
 - Icinga2 | check_logfiles
 - Icinga2 | ClamAV ¦ check_clamav
 - icinga2 | dashing test
 - Icinga2 | define (setup) the Master
 - Icinga2 | define Hostgroup & add Host to a Hostgroup
 - Icinga2 | dependencies
 - Icinga2 | Gude Expert Power Control 8220 Serie
 - Icinga2 | notification telegram & Email
 - Icinga2 | send email notification only once (on time)
 - Icinga2 | snmp
 - Icinga2 | SNMP Unifi Pro AP
 - Icinga2 | Upgrade Information
 - icinga2 |apt wrapper |-NOK 24.08.2018
 - icinga2 |check_log
 - icinga2 Problems
 - Muster
 - Path and Links to the documentation
 - plugin - Servie - Host
 - show Version & Check's & nice icinga2 commands
 - tmpl-24x7-host-mail