wombat.ch

your Partner for Network Design and CMS

Perfect

siehe dazu: Munin-Plugin

und das Plugin auf github

FRITZ by AVM Logo RGB1 Auf der Fritzbox (7390) [FRITZ!OS 06.20] muss "Statusinformationen über UPnP übertragen" aktiviert sein
das ist unter Heimnetz -> Netzwerk -> Netzwerkeinstellung
500px PHP logo.svg1

php5-curl muss installier sein!

mit
# php -m
wird eine liste angezeigt mit allen Installierten Module

ansonsten
# apt-get install php5-curl

===

Add a comment

Read more: Munin Node - AVM Fritzbox Monitoren

Munin-Node Installation auf Debian Wheezy (7), Jessie (8) Buster (10)

Hier wird nur der Node auf einem weiteren Server Installiert der Master ist "anders" zu Installieren --> Installaing Munin 2.0 Master

apt install -y munin-node munin-plugins-extra

 die Datei munin-node.conf muss angepasst werden um den Master bekannt zu geben

vi /etc/munin/munin-node.conf

 dort wird allow um die IP Adresse des Master ergänzt *IP ist ein Beispielt*
allow ^10\.147\.42\.62$
echo 'allow ^10\.147\.42\.63$' >> /etc/munin/munin-node.conf

/etc/init.d/munin-node restart

Wichtig

beim Master muss noch der Node definiert werden

vi /etc/munin/munin.conf

da wird der node eingetragen. Bei mehreren Nodes wird einer nach dem anderen eingetragen

# a simple host tree

[munin-node.yourDomani.org]
    address 10.10.10.10
    use_node_name yes

Ein Problem hatte ich bei der Installation unter Ubuntu 12.04.5 LTS, Precise Pangolin .....

Add a comment

 

 

 For Debian 8:

$ wget http://repo.zabbix.com/zabbix/3.0/debian/pool/main/z/zabbix-release/zabbix-release_3.0-1+jessie_all.deb

$ dpkg -i zabbix-release_3.0-1+jessie_all.deb

$ apt update

# apt  install zabbix-agent
# vi /etc/zabbix/zabbix_agentd.conf

#Server=[zabbix server ip]

#Hostname=[Hostname of client system ]

[line 95]  Server=192.168.1.11

[line 147 ]Hostname=Server2

[Line 236] Timeout=30 (and remove the #, have changed because of the "Zabbix agent on Host.name is unreachable for 5 minutes" ) 

/etc/init.d/zabbix-agent restart
Add a comment

config | Graylog 2.4 | Cisco Switch

Cisco Config Graylog  
> enable

# conf t

(config)#service timestamps log datetime msec
(config)#service timestamps debug datetime msec
(config)#logging host 10.147.42.40
(config)#logging trap 5
(config)#logging
(config)#logging source-interface loopback 0
(config)#logging origin-id string switch01
   
Add a comment

Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)

 

Step  Master Debian 9 stretch Master_________________ Client "CentOS 7" Client stretch
  #  icinga2 --v icinga2 (version: r2.9.0-1)    
  #  vi /etc/icinga2/zones.conf object Endpoint "client.kozo.ch" {
host = "10.147.42.50"
}

object Zone "client.kozo.ch" {
endpoints = [ "client.kozo.ch" ]
parent = "master"
}
   

#  cd /etc/icinga2/zones.d/master/

#  vi host.conf
or a new file


mk

object Host "client.kozo.ch" {
check_command = "hostalive" //check is executed on the master
display_name = "client test"
address = "10.147.42.63"
vars.os = "debian9"
zone = "master"
vars.client_endpoint = name //follows the convention that host name == endpoint name
}


object Service "apt" {
host_name = "client.kozo.ch"
check_command = "apt"
command_endpoint = host_name
}

  #   icinga2 daemon -C      
  #  systemctl restart icinga2.service      
  #  systemctl status icinga2.service      
  #  multitail /var/log/icinga2/icinga2.log      
  add some more Software   #  yum install epel-release

#  yum install centos-release-scl
 
     

 

      # yum update -y  
         
      #  subscription-manager repos --enable rhel-7-server-optional-rpms

#  subscription-manager repos --enable rhel-server-rhscl-7-rpms

#  rpm --import https://packages.icinga.com/icinga.key

#  yum install https://packages.icinga.com/epel/icinga-rpm-release-7-latest.noarch.rpm
 
         
# apt install -y bash-completion
# apt install -y -f icinga2
# apt install -y -f nagios-plugins
# systemctl restart icinga2
# systemctl status icinga2
# systemctl enable icinga2
#  icinga2 feature list
#  icinga2 feature enable command
#  systemctl restart icinga2
#  icinga2 node wizard

 icinga2-01.kozo.ch

 

 

10.147.42.36

#  vi /etc/icinga2/zones.conf

object Endpoint "icinga2-01.kozo.ch" {
        host = "10.147.42.36"
        port = "5665"
 }

object Zone "master" {
        endpoints = [ "icinga2-01.kozo.ch" ]
 }

object Endpoint "client" {
 }

object Zone "client" {
     endpoints = [ "client" ]
     parent = "master"
 }

#  service icinga2 restart
#  systemctl restart icinga2.service
#  systemctl status icinga2.service
icinga2 node list
# icinga2 node update-config
#  multitail /var/log/icinga2/icinga2.log #  multitail /var/log/icinga2/icinga2.log
Service löschen die es nicht braucht

#  vi /etc/icinga2/conf.d/services.conf

#  service icinga2 restart
icinga2 node list
# icinga2 node update-config

#  icinga2 daemon -C

# systemctl restart icinga2
# systemctl status icinga2

Add a comment

Read more: Icinga2 | add Icinga2 Client (CentOS 7) to a Master (r2.10.3-1)

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:
- icinga2 Docs | Disable Re-notifications  
-
-
-
-
-
dokuwiki.tachtler.net
- 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

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

We have 439 guests, no bots and no members online