-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
35 lines (21 loc) · 870 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Nagtray is an utility that shows status of Icinga/Nagios
status via mk_livestatus extension.
Current version is early stage of development.
Server side setup
-----------------
Stunnel on server:
cat /etc/stunnel/stunnel.conf
#up this number to 7 to get full log details
#leave it at 3 to just get critical error messages
debug=7
output=/var/log/stunnel.log
[stunnel]
accept=6558
connect=6557
Testing command:
stunnel3 -A /etc/openldap/cesnet.pem -a /etc/stunnel/trusted/ -v 3 -f -d 6558 -r 6557
Test that stunnel works:
openssl s_client -connect monitor.farm.particle.cz:6558 -cert cert_stuff/koubat/newcert.pem -key cert_stuff/koubat/newkey.pem
Configuration with socat
------------------------
while /bin/true; do socat UNIX-LISTEN:/tmp/remotelive EXEC:'ssh [email protected] "socat STDIO UNIX-CONNECT:/usr/local/icinga/var/rw/live"'; done