wombat.ch

your Partner for Network Design and CMS

Software Information

hallo ---
cd /etc/icinga2/conf.d/

systemctl restart icinga2.service

host.conf object Host "Lapi" {
address = "10.147.42.7"
check_command = "hostalive"
}
cd /usr/share/icingaweb2/modules
systemctl status icinga2.service



Quellen/source:
- freenode - Icinga Channel
-

- How to Install Icinga 2 and Icinga Web 2 on Debian 9.3
How to Install Icinga 2 Monitoring Tool on Debian 9.2
How to add remote Linux and Windows Host to Icinga 2 for Monitoring
(2015) Cisco Switch mit Icinga 2 und check_nwc_health mittels SNMPv3 abfragen
(2017) Grafana Module
-
Icinga 2 und ein Client Node

Youtube | icinga - netways
Icinga Web 2 Modules
- Youtube | Incga2 Proxmox
-
-
-
-

Add a comment
Icinga2 | add a Windows Client to Icinga2 Master


 step todo Master Master text Client Client text
           
           
           


- - - - -

- - - - -

Source/Quellen:
- () | Icinga Doc offiziel
- ICINGA Package Repository Windows

- (2018update) LinuxTechi |How to add remote Linux and Windows Host to Icinga 2 for Monitoring
-
-
- (2016) Brunner-IT |Icinga Agent – erster Windows Client überwachen
-
-
-
-
-
- Add a comment

Icinga2 | add Cisco Switch 3560 Familie

 Switch Configuration Cisco SNMPv3 Setup
1. conf t
2. snmp-server group Snmpv3groupname v3 auth
3. snmp-server user Snmpv3user Snmpv3groupname v3 auth sha Snmpv3passwort
       
needed Software apt install -y libnet-snmp-perl libcrypt-hcesha-perl libcrypt-des-perl libdigest-hmac-perl libcrypt-rijndael-perl    
       
  70 object HostGroup "3560cg8p" {
71 display_name = "Cisco 3560CG 8 Port"
72
73 assign where host.vars.HW.cisco == "3560cg8p"
74 }
75
76 object HostGroup "3560-8p" {
77 display_name = "Cisco 3560 8 Port"
78 assign where host.vars.HW.cisco == "3560-8p"
79 }
   
       
       
Icinga Plugin      
   cd  /etc/icinga2/zones.d/master/03_SWT/    
  vi  check_cisco-c.conf
vi check_cisco-s_alg.conf
vi check_cisco-t.conf
   
       
       
       
       
       
       
       
  #   time icinga2 daemon -C    
  #   time systemctl reload icinga2    
  #   time systemctl restart icinga2    
       
       
-- - - -

 

 


Quellen(Source:
consol labs | check_nwc_health
Cisco Switch mit Icinga 2 und check_nwc_health mittels SNMPv3 abfragen
-
-
-
-
-
-
-
- Add a comment
Icinga2 | add FreeNAS







Quelle/Source:
-
- exchange.icinga.com/6uellerBpanda/check_freenas
-
-
-
-
-

modul-icinga-articlelist

Add a comment

Icinga2 | add Fritzbox 7490 (FRITZ!OS: 06.84)

the Steps i went...

0 on the Fritzbox Heimnetz -> Netzwerk, switch to the tab Netzwerkeinstellungen. Zugriff für Anwendungen zulassen and reboot the Fritbox
0 on the Fritzbox add a new Fritzbox user   System -> Fritz!Box-Benutzer  Name
Password
No email needed

FRITZ!Box Einstellungen_
Sprachnachrichten
Smart Home
0 Icinga  path of the plugins Icinga2 | Plugins | define path  -
2  Need curl and bc #  apt install -y curl
#  apt install -y bc
go to the path where 3part Plugins are #  cd /usr/lib/nagios/pluginsCustom
download the Plugin #  git clone https://github.com/mcktr/check_tr64_fritz  check_tr64_fritz
    chmod -R +x  check_tr64_fritz  
    #  cd check_tr64_fritz  
  check the open port #  ./getSecurityPort 10.147.42.1

Your Fritz!Box Security Port (for TR-064 over SSL) is: 49443
 
       
    # icinga2 daemon -C  
       
 

#  vi /etc/icinga2/conf.d/check_tlsr64_fritz/check_tlsr64_fritz-status.conf



#  cd /etc/icinga2/conf.d/check_tlsr64_fritz/

ls -alth                     to show all file

cp       to copy

object CheckCommand "check_tr64_fritz-status" {

  command = [ PluginCustomDir + "/check_tr64_fritz/check_tr64_fritz" ]

  arguments = {
    "-h" = "$fritz_host$"
    "-p" = "$fritz_port$"
    "-u" = "$fritz_username$"
    "-P" = "$fritz_password$"
    "-f" = "$fritz_function$"
    "-w" = "$fritz_warning$"
    "-c" = "$fritz_critical$"
  }

  vars.fritz_host = "$address$"
  vars.fritz_port = "49443"
  vars.fritz_username = "dslf-config"
   vars.fritz_password ="password"
  vars.fritz_function = "status"
}
 
  #  vi /etc/icinga2/zones.d/master/router.conf
1 object Host "router.domain" {
2 check_command = "hostalive" //check is executed on the master
3 display_name = "Fritzbox 7490"
4 address = "10.147.42.1"
5
6 vars.client_endpoint = name //follows the convention that host name == endpoint name
7 }
8
9 object Service "check_tr64_fritz" {
10 host_name = "router.domain"
//   check_interval = 15
11 check_command = "check_tr64_fritz-status"
12 }
13
 
       
       
       
  #   icinga2 daemon -C    
  #  systemctl restart icinga2    
       
 Information: //   check_interval = 15
if you remove // then the check will be all 15 seconds, think about if it makes sense (default is 5 Minutes) 

in my case for the 
downstreamrate
upstreamrate
it did make sense
   
ERROR on GUI

Plugin Output

execvpe(/usr/lib/nagios/pluginsCustom/check_tr64_fritz) failed: Permission denied
   
----
Quellen/Source:
- (2016) Fritz!Box 7490 check | nagios
- (2018) mcktr - Github | check_tr64_fritz
-
-
-
-
-
-
-
- Add a comment

RSS Feed


Warning: file_get_contents(https://www.bsi.bund.de/SiteGlobals/Functions/RSSFeed/RSSNewsfeed/RSSNewsfeed_WID.xml): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(https://www.bsi.bund.de/SiteGlobals/Functions/RSSFeed/RSSNewsfessBSIFB/RSSNewsfeed_BuergerCERT.xml): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(http://feeds.joomla.org/JoomlaAnnouncements): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

Warning: file_get_contents(http://feeds.joomla.org/JoomlaSecurityNews): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/clients/client2/web2/web/j/modules/mod_jw_srfr/helper.php on line 273

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

We have 663 guests, 2 bots and no members online


2 bots:
2 x BOT for JCE