wombat.ch

your Partner for Network Design and CMS

Message
  • Failed loading XML...
  • Failed loading XML... Opening and ending tag mismatch: link line 1 and head Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'hellip' not defined Entity 'raquo' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Entity 'nbsp' not defined Opening and ending tag mismatch: link line 1 and html Premature end of data in tag meta line 1
  • Failed loading XML... Opening and ending tag mismatch: link line 1 and head Opening and ending tag mismatch: img line 1 and a Opening and ending tag mismatch: a line 1 and div Opening and ending tag mismatch: input line 1 and p Opening and ending tag mismatch: input line 1 and form Opening and ending tag mismatch: input line 1 and div Opening and ending tag mismatch: p line 1 and div Opening and ending tag mismatch: form line 1 and div Opening and ending tag mismatch: hr line 1 and div Specification mandates value for attribute disabled attributes construct error Couldn't find end of Start Tag option line 1 Opening and ending tag mismatch: select line 1 and option Entity 'agrave' not defined Entity 'ntilde' not defined Entity 'ccedil' not defined Entity 'nbsp' not defined Entity 'aring' not defined Entity 'ecirc' not defined Entity 'acirc' not defined Entity 'uuml' not defined Entity 'ccedil' not defined Opening and ending tag mismatch: div line 1 and select Opening and ending tag mismatch: hr line 1 and div Entity 'emsp' not defined Entity 'copy' not defined Opening and ending tag mismatch: br line 1 and p Opening and ending tag mismatch: br line 1 and div Opening and ending tag mismatch: p line 1 and div Opening and ending tag mismatch: div line 1 and body Opening and ending tag mismatch: hr line 1 and html Premature end of data in tag hr line 1
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




 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" {
            import "plugin-check-command"
            command = [ PluginDir + "/check_apt_wrapper.sh" ]

            arguments = {
                "-t" = 120
                "-s" = "off"
              }
 }

apply Service "check_apt_updates2" {
            import "generic-service"

            check_command = "check_apt_updates"
            display_name = "apt Updates Information"

           assign where host.vars.os == "debian9"
 }

   
       
       
       
  #  icinga2 daemon -C    
  #  time systemctl reload icinga2    
  #  time systemctl restart icinga2    
  #   multitail /var/log/icinga2/icinga2.log    
c      
-
-
- - - -
Quellen/Source:
-  
-
-
-
-
-
-
-

RSS Feed


Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

Warning: Invalid argument supplied for foreach() in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 39

neusten Links


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client2/web2/web/j/modules/mod_quicklistweblinks/helper.php on line 78
many More Links »

part of ...

Linux Counter

Disqus

 

Learning Network

Seti@home & Boinc

myBonic

statistik

 


Who is Online

We have 365 guests and no members online

We have 365 guests, no bots and no members online