wombat.ch

your Partner for Network Design and CMS

Perfect

Icinga2 | 
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
#   wget  
#  chmod +x 

 b
       
       
       
       
  #  icinga2 daemon -C    
  #  time systemctl reload icinga2    
  #  time systemctl restart icinga2    
  #   multitail /var/log/icinga2/icinga2.log    
c      
-
-
- - - -
Quellen/Source:
-  
-
-
-
-
-
dokuwiki.tachtler.net
- Add a comment
Icinga2 | check for certification validation
for the spez Plugin path --> Icinga2 | (spez)Plugins | define path
working on Icinga2 "#    icinga2 daemon -C  "   (version: r2.9.1-1) 




 steps on Icinga2
 1 #   cd /usr/lib/nagios/pluginsCustom
#   wget  https://raw.githubusercontent.com/matteocorti/check_ssl_cert/master/check_ssl_cert
#  chmod +x check_ssl_cert
#   ./check_ssl_cert -H kozo.ch -w 30 -c 15

SSL_CERT OK - x509 certificate 'kozo.ch' from 'Let's Encrypt Authority X3' valid until Sep 14 22:41:31 2018 GMT (expires in 32 days)|days=32;30;15;;
 b
c vi /etc/icinga2/conf.d/07_urls/0_check_x509.conf    
  object CheckCommand "check_x509" {
   command = [ PluginCustomDir + "/check_ssl_cert" ]
   arguments = {
   "-H" = "$http_url$"
   "-w" = "30"
   "-c" = "15"
   }
}
   
  vi /etc/icinga2/conf.d/07_urls/0_tpl-x509.conf    
  template Service "x509" {
    host_name = "icinga2-01.kozo.ch"

    max_check_attempts = 3
    check_interval = 3m
    retry_interval = 30s
 }
   
  vi /etc/icinga2/conf.d/07_urls/x509_xxxxxxxxx.conf
cd /etc/icinga2/conf.d/07_urls/ 
 
  object Service "check_url-alvearium-info" {
      import "x509"
            vars.http_url = "alvearium.info"
      display_name = "X.509-Zertifikate --> " + vars.http_url

     check_command = "check_x509"
}
   
 

 

   
       
       
  #    icinga2 daemon -C
#    time systemctl reload icinga2
#    time systemctl restart icinga2
#     multitail /var/log/icinga2/icinga2.log
   
       
   <Timeout exceeded.><Terminated by signal 9 (Killed).> after update to (version: r2.10.1-1) 520     TIMEOUT="15" change to 30
       
-
-
- - - -
Quellen/Source:
-  Github | matteocorti/check_ssl_cert
-
-
-
-
-
-
- Add a comment

-
-

 1 #   mkdir -p /etc/sysconfig
#   ln -s /usr/lib/icinga2/icinga2 /etc/sysconfig/icinga2
#   apt -y install ruby bundler nodejs npm
 gem install bundler
gem install dashing
#   cd /usr/share
#   git clone https://github.com/dnsmichi/dashing-icinga2.git
#   cd dashing-icinga2
 bundle install --system
 icinga2 feature enable api
#    vi /etc/icinga2/conf.d/api-users.conf [...]
object ApiUser "dashing" {
  password = "f6acCfj4k8aC"
  permissions = [ "status/query", "objects/query/*" ]
}
[...]
#   systemctl restart icinga2
#  vi /usr/share/dashing-icinga2/config/icinga2.json [...]
{
  "icinga2": {
    "api": {
      "host": "10.147.42.36",
      "port": 5665,
      "user": "dashing",
      "password": "PASSWORD"
    }
  },
  "icingaweb2": {
    "url": "http://10.147.42.36/icingaweb2"
  }
}
 [...]











Quellen/Source:
https://monitoring-portal.org/t/icinga-installation-guide-1o1/3430
- Github | dnsmichi/dashing-icinga2
-
-
-
-
-

Add a comment

Subcategories

Roundcube ist eine freie Software für Webmail über IMAP, die in den Programmiersprachen PHP und JavaScript entwickelt wird. Roundcubes prominenteste Features sind die schlanke und moderne Benutzeroberfläche und die ausgeprägte Nutzung der Ajax-Technologie, die einen ähnlichen Bedien-Komfort wie bei einer lokal installierten Anwendung ermöglicht.

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 334 guests and no members online

We have 306 guests, one bot and no members online


one bot:
1 x BOT for JCE