Shinken: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
Zeile 10: Zeile 10:
shinken --init
shinken --init
shinken install linux-ssh
shinken install linux-ssh
shinken search linux
</pre>
</pre>


== Monitoring a Host ==
=== Server ===
* new file /etc/shinken/hosts/conan.cfg
<pre>define host{
  use            linux,ssh
  host_name      conan
  address        192.168.1.200
  _SNMPCOMMUNITY  GeHeimEsPassWd
}
</pre>
<pre>service shinken reload
</pre>
=== Linux Client ===
<pre>sudo apt-get install snmpd
</pre>vi /etc/snmp/snmpd.conf
# activate:
agentAddress udp:161,udp6:[::1]:161
rocommunity P@GeHeimEsPassWd  default    -V systemonly
</pre>
<pre>sudo service snmpd restart
</pre>
== WEB-UI ==
== WEB-UI ==
<pre>
<pre>

Version vom 22. Juni 2015, 08:44 Uhr

Installation

apt-get install python-pip python-pycurl python-cherrypy3 python-paramiko

adduser shinken
pip install shinken

update-rc.d shinken defaults
shinken --init
shinken install linux-ssh
shinken search linux

Monitoring a Host

Server

  • new file /etc/shinken/hosts/conan.cfg
define host{
   use             linux,ssh
   host_name       conan
   address         192.168.1.200
   _SNMPCOMMUNITY  GeHeimEsPassWd
}
service shinken reload

Linux Client

sudo apt-get install snmpd

vi /etc/snmp/snmpd.conf

  1. activate:

agentAddress udp:161,udp6:[::1]:161 rocommunity P@GeHeimEsPassWd default -V systemonly

sudo service snmpd restart

WEB-UI

shinken install webui
shinken install auth-cfg-password
shinken install sqlitedb
  • /etc/shinken/modules/webui.cfg
    • modules auth-cfg-password,sqlitedb
  • /etc/shinken/brokers/brokers-master.cfg
    • modules webui
  • /etc/shinken/modules/sqlitedb.cfg
service shinken reload
  • URL: <server>:7767