Shinken: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
== Installation == | == Installation == | ||
<pre> | <pre> | ||
apt-get install python-pip python-pycurl python-cherrypy3 | apt-get install python-pip python-pycurl python-cherrypy3 python-paramiko | ||
adduser shinken | adduser shinken | ||
Zeile 8: | Zeile 8: | ||
update-rc.d shinken defaults | update-rc.d shinken defaults | ||
shinken --init | |||
shinken install linux-ssh | |||
shinken search linux | |||
</pre> | </pre> | ||
== Monitoring a Host == | |||
=== Linux Client === | |||
<pre>adduser shinken | |||
passwd shinken AnyPassword | |||
# look for the mounted directories | |||
df | |||
</pre> | |||
=== Server === | |||
* linux-ssh needs only a key on the client! | |||
* new file /etc/shinken/hosts/conan.cfg | |||
<pre>define host{ | |||
use linux-ssh | |||
host_name conan | |||
address 192.168.1.200 | |||
_fs /, /home | |||
} | |||
</pre> | |||
<pre>ssh-copy-id -i .ssh/id_rsa.pub shinken@conan | |||
service shinken reload | |||
</pre> | |||
== WEB-UI == | |||
<pre> | |||
shinken install webui | |||
shinken install auth-cfg-password | |||
shinken install sqlitedb | |||
</pre> | |||
* /etc/shinken/modules/webui.cfg | |||
** modules auth-cfg-password,SQLitedb | |||
* /etc/shinken/brokers/broker-master.cfg | |||
** modules webui | |||
* /etc/shinken/modules/sqlitedb.cfg | |||
<pre> | |||
service shinken reload | |||
</pre> | |||
* URL: <server>:7767 | |||
* User/password are taken from /etc/shinken/contacts/*.cfg |
Aktuelle Version vom 23. Juni 2015, 07:24 Uhr
Installation[Bearbeiten]
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[Bearbeiten]
Linux Client[Bearbeiten]
adduser shinken passwd shinken AnyPassword # look for the mounted directories df
Server[Bearbeiten]
- linux-ssh needs only a key on the client!
- new file /etc/shinken/hosts/conan.cfg
define host{ use linux-ssh host_name conan address 192.168.1.200 _fs /, /home }
ssh-copy-id -i .ssh/id_rsa.pub shinken@conan service shinken reload
WEB-UI[Bearbeiten]
shinken install webui shinken install auth-cfg-password shinken install sqlitedb
- /etc/shinken/modules/webui.cfg
- modules auth-cfg-password,SQLitedb
- /etc/shinken/brokers/broker-master.cfg
- modules webui
- /etc/shinken/modules/sqlitedb.cfg
service shinken reload
- URL: <server>:7767
- User/password are taken from /etc/shinken/contacts/*.cfg