Icinga2 | the "original" by @watermelon (-->How to write a bash script wrapper (newbie script for ITL check_yum plugin) )
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
-
-
- - - -
Quellen/Source:
-
-
-
-
-
-
-
-
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:
-
-
-
-
-
-
-
-