From 9456cfffea015812acf5dcdd2d074e98ca54e720 Mon Sep 17 00:00:00 2001 From: euer Date: Sun, 23 Dec 2012 00:21:25 +0100 Subject: //Monitoring -> //god/Monitoring --- god/Monitoring/nagios/shinken/brokerd-windows.ini | 26 + god/Monitoring/nagios/shinken/brokerd.ini | 37 ++ god/Monitoring/nagios/shinken/certs/ca.pem | 64 +++ god/Monitoring/nagios/shinken/certs/client.pem | 86 +++ god/Monitoring/nagios/shinken/certs/server.pem | 86 +++ god/Monitoring/nagios/shinken/commands.cfg | 285 ++++++++++ god/Monitoring/nagios/shinken/contactgroups.cfg | 8 + god/Monitoring/nagios/shinken/contacts.cfg | 10 + god/Monitoring/nagios/shinken/dependencies.cfg | 25 + god/Monitoring/nagios/shinken/discovery.cfg | 25 + god/Monitoring/nagios/shinken/discovery_rules.cfg | 203 ++++++++ god/Monitoring/nagios/shinken/discovery_runs.cfg | 10 + god/Monitoring/nagios/shinken/escalations.cfg | 18 + god/Monitoring/nagios/shinken/hostgroups.cfg | 17 + god/Monitoring/nagios/shinken/hosts/localhost.cfg | 7 + god/Monitoring/nagios/shinken/nagios-windows.cfg | 136 +++++ god/Monitoring/nagios/shinken/nagios.cfg | 157 ++++++ .../nagios/shinken/objects/groups/root_contact.cfg | 16 + .../objects/internet/euer.krebsco.de/Http.cfg | 6 + .../objects/internet/euer.krebsco.de/Ssh.cfg | 6 + .../internet/euer.krebsco.de/euer.krebsco.de.cfg | 4 + .../shinken/objects/internet/google.de/Http.cfg | 6 + .../internet/google.de/Https-Certificate.cfg | 6 + .../shinken/objects/internet/google.de/Https.cfg | 6 + .../objects/internet/google.de/google.de.cfg | 4 + .../84-23-80-172.blue.kundencontroller.de.cfg | 4 + .../objects/internet/oxberg.krebsco.de/Http.cfg | 6 + .../objects/internet/oxberg.krebsco.de/SMTP.cfg | 6 + .../objects/internet/oxberg.krebsco.de/Ssh.cfg | 6 + .../shinken/objects/internet/shackspace.de/DNS.cfg | 6 + .../objects/internet/shackspace.de/Http.cfg | 6 + .../internet/shackspace.de/Https-Certificate.cfg | 6 + .../objects/internet/shackspace.de/Https.cfg | 6 + .../objects/internet/shackspace.de/SMTP.cfg | 6 + .../shinken/objects/internet/shackspace.de/Ssh.cfg | 6 + .../internet/shackspace.de/shackspace.de.cfg | 4 + .../shinken/objects/retiolum/supernode/Http.cfg | 6 + .../shinken/objects/retiolum/supernode/SMTP.cfg | 6 + .../shinken/objects/retiolum/supernode/Ssh.cfg | 6 + .../objects/retiolum/supernode/supernode.cfg | 5 + .../objects/shackspace/10.42.0.2/10.42.0.2.cfg | 4 + .../shinken/objects/shackspace/10.42.0.2/Http.cfg | 6 + .../objects/shackspace/10.42.0.20/10.42.0.20.cfg | 4 + .../shinken/objects/shackspace/10.42.0.20/Http.cfg | 6 + .../objects/shackspace/10.42.0.3/10.42.0.3.cfg | 4 + .../shinken/objects/shackspace/10.42.0.3/Ssh.cfg | 6 + .../objects/shackspace/10.42.0.4/10.42.0.4.cfg | 4 + .../objects/shackspace/10.42.0.5/10.42.0.5.cfg | 4 + .../shinken/objects/shackspace/10.42.0.5/Http.cfg | 6 + .../objects/shackspace/10.42.0.7/10.42.0.7.cfg | 4 + .../shinken/objects/shackspace/10.42.0.7/Http.cfg | 6 + .../objects/shackspace/10.42.0.8/10.42.0.8.cfg | 4 + .../shinken/objects/shackspace/10.42.0.8/Http.cfg | 6 + .../objects/shackspace/10.42.0.9/10.42.0.9.cfg | 4 + .../shinken/objects/shackspace/10.42.0.9/Http.cfg | 6 + .../objects/shackspace/aptproxy.shack/Ssh.cfg | 6 + .../shackspace/aptproxy.shack/aptproxy.shack.cfg | 4 + .../shinken/objects/shackspace/dhcp.shack/Ssh.cfg | 6 + .../objects/shackspace/dhcp.shack/dhcp.shack.cfg | 4 + .../shinken/objects/shackspace/dns.shack/DNS.cfg | 6 + .../shinken/objects/shackspace/dns.shack/Ssh.cfg | 6 + .../objects/shackspace/dns.shack/dns.shack.cfg | 4 + .../objects/shackspace/gameds.shack/Ssh.cfg | 6 + .../shackspace/gameds.shack/gameds.shack.cfg | 4 + .../objects/shackspace/genericore.shack/Ssh.cfg | 6 + .../genericore.shack/genericore.shack.cfg | 4 + .../objects/shackspace/homepage.shack/Http.cfg | 6 + .../objects/shackspace/homepage.shack/Ssh.cfg | 6 + .../shackspace/homepage.shack/homepage.shack.cfg | 4 + .../objects/shackspace/monitoring.shack/Http.cfg | 6 + .../objects/shackspace/monitoring.shack/Ssh.cfg | 6 + .../monitoring.shack/monitoring.shack.cfg | 4 + .../shinken/objects/shackspace/node1.shack/Ssh.cfg | 6 + .../objects/shackspace/node1.shack/node1.shack.cfg | 4 + .../shinken/objects/shackspace/node2.shack/Ssh.cfg | 6 + .../objects/shackspace/node2.shack/node2.shack.cfg | 4 + .../shackspace/plattenschwein.shack/Http.cfg | 6 + .../shackspace/plattenschwein.shack/Ssh.cfg | 6 + .../plattenschwein.shack/plattenschwein.shack.cfg | 4 + .../shackspace/powerraw.shack/powerraw.shack.cfg | 4 + .../objects/shackspace/printer.shack/Http.cfg | 6 + .../objects/shackspace/printer.shack/Ssh.cfg | 6 + .../shackspace/printer.shack/printer.shack.cfg | 4 + .../shinken/objects/shackspace/pxe.shack/Ssh.cfg | 6 + .../objects/shackspace/pxe.shack/pxe.shack.cfg | 4 + .../objects/shackspace/rzdoku.shack/Http.cfg | 6 + .../objects/shackspace/rzdoku.shack/Ssh.cfg | 6 + .../shackspace/rzdoku.shack/rzdoku.shack.cfg | 4 + .../shinken/objects/shackspace/shack.shack/Ssh.cfg | 6 + .../objects/shackspace/shack.shack/shack.shack.cfg | 4 + .../objects/shackspace/shackgateway.shack/DNS.cfg | 6 + .../objects/shackspace/shackgateway.shack/Http.cfg | 6 + .../shackgateway.shack/Https-Certificate.cfg | 6 + .../shackspace/shackgateway.shack/Https.cfg | 6 + .../objects/shackspace/shackgateway.shack/Ssh.cfg | 6 + .../shackgateway.shack/shackgateway.shack.cfg | 4 + .../objects/shackspace/standby.shack/Http.cfg | 6 + .../objects/shackspace/standby.shack/Ssh.cfg | 6 + .../shackspace/standby.shack/standby.shack.cfg | 4 + .../objects/shackspace/stats.shack/Http.cfg | 6 + .../shinken/objects/shackspace/stats.shack/Ssh.cfg | 6 + .../objects/shackspace/stats.shack/stats.shack.cfg | 4 + .../objects/shackspace/tuerstatus.shack/Ssh.cfg | 6 + .../tuerstatus.shack/tuerstatus.shack.cfg | 4 + .../shinken/objects/shackspace/upm.shack/Ssh.cfg | 6 + .../objects/shackspace/upm.shack/upm.shack.cfg | 4 + .../objects/shackspace/vollepulle.shack/Http.cfg | 6 + .../vollepulle.shack/Https-Certificate.cfg | 6 + .../objects/shackspace/vollepulle.shack/Https.cfg | 6 + .../objects/shackspace/vollepulle.shack/Ssh.cfg | 6 + .../vollepulle.shack/vollepulle.shack.cfg | 4 + god/Monitoring/nagios/shinken/pollerd-windows.ini | 28 + god/Monitoring/nagios/shinken/pollerd.ini | 38 ++ .../nagios/shinken/reactionnerd-windows.ini | 28 + god/Monitoring/nagios/shinken/reactionnerd.ini | 28 + .../nagios/shinken/receiverd-windows.ini | 29 ++ god/Monitoring/nagios/shinken/receiverd.ini | 28 + god/Monitoring/nagios/shinken/resource.cfg | 34 ++ .../nagios/shinken/schedulerd-windows.ini | 27 + god/Monitoring/nagios/shinken/schedulerd.ini | 27 + god/Monitoring/nagios/shinken/servicegroups.cfg | 14 + .../nagios/shinken/services/linux_local.cfg | 44 ++ .../shinken/shinken-specific-high-availability.cfg | 275 ++++++++++ .../shinken-specific-load-balanced-only.cfg | 219 ++++++++ god/Monitoring/nagios/shinken/shinken-specific.cfg | 579 +++++++++++++++++++++ god/Monitoring/nagios/shinken/templates.cfg | 201 +++++++ god/Monitoring/nagios/shinken/timeperiods.cfg | 71 +++ 127 files changed, 3377 insertions(+) create mode 100644 god/Monitoring/nagios/shinken/brokerd-windows.ini create mode 100644 god/Monitoring/nagios/shinken/brokerd.ini create mode 100755 god/Monitoring/nagios/shinken/certs/ca.pem create mode 100755 god/Monitoring/nagios/shinken/certs/client.pem create mode 100644 god/Monitoring/nagios/shinken/certs/server.pem create mode 100644 god/Monitoring/nagios/shinken/commands.cfg create mode 100644 god/Monitoring/nagios/shinken/contactgroups.cfg create mode 100644 god/Monitoring/nagios/shinken/contacts.cfg create mode 100644 god/Monitoring/nagios/shinken/dependencies.cfg create mode 100644 god/Monitoring/nagios/shinken/discovery.cfg create mode 100644 god/Monitoring/nagios/shinken/discovery_rules.cfg create mode 100644 god/Monitoring/nagios/shinken/discovery_runs.cfg create mode 100644 god/Monitoring/nagios/shinken/escalations.cfg create mode 100644 god/Monitoring/nagios/shinken/hostgroups.cfg create mode 100644 god/Monitoring/nagios/shinken/hosts/localhost.cfg create mode 100644 god/Monitoring/nagios/shinken/nagios-windows.cfg create mode 100644 god/Monitoring/nagios/shinken/nagios.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/groups/root_contact.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/euer.krebsco.de.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/google.de/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/google.de/Https-Certificate.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/google.de/Https.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/google.de/google.de.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/oxberg.krebsco.de/84-23-80-172.blue.kundencontroller.de.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/oxberg.krebsco.de/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/oxberg.krebsco.de/SMTP.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/oxberg.krebsco.de/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/shackspace.de/DNS.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/shackspace.de/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/shackspace.de/Https-Certificate.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/shackspace.de/Https.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/shackspace.de/SMTP.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/shackspace.de/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/internet/shackspace.de/shackspace.de.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/retiolum/supernode/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/retiolum/supernode/SMTP.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/retiolum/supernode/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/retiolum/supernode/supernode.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.2/10.42.0.2.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.2/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.20/10.42.0.20.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.20/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.3/10.42.0.3.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.3/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.4/10.42.0.4.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.5/10.42.0.5.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.5/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.7/10.42.0.7.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.7/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.8/10.42.0.8.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.8/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.9/10.42.0.9.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/10.42.0.9/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/aptproxy.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/aptproxy.shack/aptproxy.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/dhcp.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/dhcp.shack/dhcp.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/dns.shack/DNS.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/dns.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/dns.shack/dns.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/gameds.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/gameds.shack/gameds.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/genericore.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/genericore.shack/genericore.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/homepage.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/homepage.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/homepage.shack/homepage.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/monitoring.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/monitoring.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/monitoring.shack/monitoring.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/node1.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/node1.shack/node1.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/node2.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/node2.shack/node2.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/plattenschwein.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/plattenschwein.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/plattenschwein.shack/plattenschwein.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/powerraw.shack/powerraw.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/printer.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/printer.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/printer.shack/printer.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/pxe.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/pxe.shack/pxe.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/rzdoku.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/rzdoku.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/rzdoku.shack/rzdoku.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shack.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shack.shack/shack.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shackgateway.shack/DNS.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shackgateway.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shackgateway.shack/Https-Certificate.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shackgateway.shack/Https.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shackgateway.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/shackgateway.shack/shackgateway.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/standby.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/standby.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/standby.shack/standby.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/stats.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/stats.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/stats.shack/stats.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/tuerstatus.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/tuerstatus.shack/tuerstatus.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/upm.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/upm.shack/upm.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/vollepulle.shack/Http.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/vollepulle.shack/Https-Certificate.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/vollepulle.shack/Https.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/vollepulle.shack/Ssh.cfg create mode 100644 god/Monitoring/nagios/shinken/objects/shackspace/vollepulle.shack/vollepulle.shack.cfg create mode 100644 god/Monitoring/nagios/shinken/pollerd-windows.ini create mode 100644 god/Monitoring/nagios/shinken/pollerd.ini create mode 100644 god/Monitoring/nagios/shinken/reactionnerd-windows.ini create mode 100644 god/Monitoring/nagios/shinken/reactionnerd.ini create mode 100644 god/Monitoring/nagios/shinken/receiverd-windows.ini create mode 100644 god/Monitoring/nagios/shinken/receiverd.ini create mode 100644 god/Monitoring/nagios/shinken/resource.cfg create mode 100644 god/Monitoring/nagios/shinken/schedulerd-windows.ini create mode 100644 god/Monitoring/nagios/shinken/schedulerd.ini create mode 100644 god/Monitoring/nagios/shinken/servicegroups.cfg create mode 100644 god/Monitoring/nagios/shinken/services/linux_local.cfg create mode 100644 god/Monitoring/nagios/shinken/shinken-specific-high-availability.cfg create mode 100644 god/Monitoring/nagios/shinken/shinken-specific-load-balanced-only.cfg create mode 100644 god/Monitoring/nagios/shinken/shinken-specific.cfg create mode 100644 god/Monitoring/nagios/shinken/templates.cfg create mode 100644 god/Monitoring/nagios/shinken/timeperiods.cfg (limited to 'god/Monitoring/nagios/shinken') diff --git a/god/Monitoring/nagios/shinken/brokerd-windows.ini b/god/Monitoring/nagios/shinken/brokerd-windows.ini new file mode 100644 index 00000000..12ea6d24 --- /dev/null +++ b/god/Monitoring/nagios/shinken/brokerd-windows.ini @@ -0,0 +1,26 @@ +[daemon] +workdir=c:\shinken\var +pidfile=%(workdir)s/brokerd.pid +interval_poll=5 +maxfd=1024 +port=7772 +host=0.0.0.0 +user=shinken +group=shinken +idontcareaboutsecurity=0 + +# SSL part +use_ssl=0 +certs_dir=etc/certs +ca_cert=etc/certs/ca.pem +server_cert=etc/certs/server.pem +hard_ssl_name_check=0 + +# Local log management. +# Enable it only if you need it +use_local_log=1 +local_log=%(workdir)s/brokerd.log +user=shinken +group=shinken +workdir=/var/lib/shinken +pidfile=/var/run/shinken/brokerd.pid diff --git a/god/Monitoring/nagios/shinken/brokerd.ini b/god/Monitoring/nagios/shinken/brokerd.ini new file mode 100644 index 00000000..baf0b773 --- /dev/null +++ b/god/Monitoring/nagios/shinken/brokerd.ini @@ -0,0 +1,37 @@ +[daemon] + +# workdir= var +# For installation configuration : +# workdir should be explicitely set to an absolute directory path. + +# using default values for following config variables value : +# paths variables values, if not absolute paths, are relative to workdir. + +# user=shinken ; by default it's the current user. +# group=shinken ; by default it's the current group. +# pidfile=brokerd.pid + +# host=0.0.0.0 +# port=7772 + +# interval_poll=5 +# maxfd=1024 + +# idontcareaboutsecurity=0 + +# SSL part +# use_ssl=0 +# certs_dir=etc/certs +# ca_cert=etc/certs/ca.pem +# server_cert=etc/certs/server.pem +# hard_ssl_name_check=0 + +# Local log management. +# Enable it only if you need it +use_local_log=1 +local_log=brokerd.log + +user=shinken +group=shinken +workdir=/var/lib/shinken +pidfile=/var/run/shinken/brokerd.pid diff --git a/god/Monitoring/nagios/shinken/certs/ca.pem b/god/Monitoring/nagios/shinken/certs/ca.pem new file mode 100755 index 00000000..bae94d13 --- /dev/null +++ b/god/Monitoring/nagios/shinken/certs/ca.pem @@ -0,0 +1,64 @@ +Certificate: + Data: + Version: 3 (0x2) + Serial Number: + ec:5b:5d:da:d5:1b:e4:a8 + Signature Algorithm: sha1WithRSAEncryption + Issuer: C=FR, ST=Some-State, O=CAShinken, CN=CAShinken Certificate Master/emailAddress=none@localhost + Validity + Not Before: Jan 12 10:04:58 2011 GMT + Not After : Jan 11 10:04:58 2014 GMT + Subject: C=FR, ST=Some-State, O=CAShinken, CN=CAShinken Certificate Master/emailAddress=none@localhost + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + RSA Public Key: (1024 bit) + Modulus (1024 bit): + 00:c1:33:c6:fb:5b:33:fb:7f:26:90:0e:2d:5a:41: + ba:49:5d:3a:68:62:aa:99:0d:f9:ad:44:2c:4d:c2: + ae:6a:28:3e:5f:29:0f:68:ef:13:f3:b2:43:55:fa: + e7:71:74:29:19:e6:03:3f:c8:e1:f2:76:00:ed:ef: + 5b:92:1b:c6:92:db:56:f9:64:6c:97:f6:90:e3:94: + 42:14:ea:9c:f2:5a:a5:b8:d0:8f:b1:3b:79:2a:fe: + a7:d9:75:c9:38:72:5c:27:c0:c3:b6:7f:52:af:7a: + 2a:c3:35:1a:98:b7:ca:b0:5b:7e:3f:ce:bf:9c:37: + 69:46:ca:35:b2:38:c0:5b:f9 + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Subject Key Identifier: + 6F:9F:42:67:73:D0:3C:91:BC:39:EF:95:53:36:3A:B9:E3:09:53:DC + X509v3 Authority Key Identifier: + keyid:6F:9F:42:67:73:D0:3C:91:BC:39:EF:95:53:36:3A:B9:E3:09:53:DC + DirName:/C=FR/ST=Some-State/O=CAShinken/CN=CAShinken Certificate Master/emailAddress=none@localhost + serial:EC:5B:5D:DA:D5:1B:E4:A8 + + X509v3 Basic Constraints: + CA:TRUE + Signature Algorithm: sha1WithRSAEncryption + 25:ba:e5:78:da:29:0a:ce:97:0e:de:34:9f:e4:80:2b:aa:b5: + 91:24:e0:7c:69:89:a1:a4:9a:be:cf:63:39:6a:1f:6b:71:fa: + 7f:25:b5:34:fe:ae:20:9b:d9:47:66:9f:60:53:ef:d5:8f:70: + fb:b7:fc:fe:8c:6d:dc:81:1d:45:5a:c2:2f:a7:fa:f6:b3:28: + 52:75:c9:09:b7:c8:d1:40:cc:08:5d:a2:b1:fb:8a:1a:6c:ad: + 51:80:22:20:97:c2:cb:3f:8d:f4:c6:29:55:68:e6:ec:53:bd: + bd:a4:3c:94:af:54:48:f8:8c:4f:3f:8b:91:e7:1b:cd:26:59: + f9:2d +-----BEGIN CERTIFICATE----- +MIIDWTCCAsKgAwIBAgIJAOxbXdrVG+SoMA0GCSqGSIb3DQEBBQUAMHwxCzAJBgNV +BAYTAkZSMRMwEQYDVQQIEwpTb21lLVN0YXRlMRIwEAYDVQQKEwlDQVNoaW5rZW4x +JTAjBgNVBAMTHENBU2hpbmtlbiBDZXJ0aWZpY2F0ZSBNYXN0ZXIxHTAbBgkqhkiG +9w0BCQEWDm5vbmVAbG9jYWxob3N0MB4XDTExMDExMjEwMDQ1OFoXDTE0MDExMTEw +MDQ1OFowfDELMAkGA1UEBhMCRlIxEzARBgNVBAgTClNvbWUtU3RhdGUxEjAQBgNV +BAoTCUNBU2hpbmtlbjElMCMGA1UEAxMcQ0FTaGlua2VuIENlcnRpZmljYXRlIE1h +c3RlcjEdMBsGCSqGSIb3DQEJARYObm9uZUBsb2NhbGhvc3QwgZ8wDQYJKoZIhvcN +AQEBBQADgY0AMIGJAoGBAMEzxvtbM/t/JpAOLVpBukldOmhiqpkN+a1ELE3Crmoo +Pl8pD2jvE/OyQ1X653F0KRnmAz/I4fJ2AO3vW5IbxpLbVvlkbJf2kOOUQhTqnPJa +pbjQj7E7eSr+p9l1yThyXCfAw7Z/Uq96KsM1Gpi3yrBbfj/Ov5w3aUbKNbI4wFv5 +AgMBAAGjgeIwgd8wHQYDVR0OBBYEFG+fQmdz0DyRvDnvlVM2OrnjCVPcMIGvBgNV +HSMEgacwgaSAFG+fQmdz0DyRvDnvlVM2OrnjCVPcoYGApH4wfDELMAkGA1UEBhMC +RlIxEzARBgNVBAgTClNvbWUtU3RhdGUxEjAQBgNVBAoTCUNBU2hpbmtlbjElMCMG +A1UEAxMcQ0FTaGlua2VuIENlcnRpZmljYXRlIE1hc3RlcjEdMBsGCSqGSIb3DQEJ +ARYObm9uZUBsb2NhbGhvc3SCCQDsW13a1RvkqDAMBgNVHRMEBTADAQH/MA0GCSqG +SIb3DQEBBQUAA4GBACW65XjaKQrOlw7eNJ/kgCuqtZEk4HxpiaGkmr7PYzlqH2tx ++n8ltTT+riCb2Udmn2BT79WPcPu3/P6MbdyBHUVawi+n+vazKFJ1yQm3yNFAzAhd +orH7ihpsrVGAIiCXwss/jfTGKVVo5uxTvb2kPJSvVEj4jE8/i5HnG80mWfkt +-----END CERTIFICATE----- diff --git a/god/Monitoring/nagios/shinken/certs/client.pem b/god/Monitoring/nagios/shinken/certs/client.pem new file mode 100755 index 00000000..28c2019e --- /dev/null +++ b/god/Monitoring/nagios/shinken/certs/client.pem @@ -0,0 +1,86 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAvw3smzbZuY3u0/JNPbYv3iNMlbYoSBCFX6yToqCIsgRS8JxF +SAUd44CQFvry+HxB0D2/mhDkCzWgQWoNZfmU6NihDg6DreTvmloz6J9ucu+uXUO6 +9CFmexfrj7nsHw3Z46fA/beTttsJ8k1NhDHD9tloUrI5rNCFVL0C0VyJ7YNigVvo +MPn9n88bR/cLNeO9Jx3acO8rjEuLE8kiXao1k3WwgBIk1fK/JKOMedmqA7V7ziK7 +o2pYsDBWs87hvOv2vWWr3BmeTeqvx6QFJKEGfC5BLPXIJCySZ4sda3idestseFjl +n7kfwRndPmYECmM8qCu97piiE0RcdaUtk3tI9wIDAQABAoIBAGUfeZyt64/LEB4e +ocOIKs3o4SBcyfVayT1amsn5LmEK6Ntx2znDe45u/dUr/m6HVk5iYIeraQiF2czF +1VGkSKz1/Ej0Zb4k7q1EETWPLWaodiHnN40AIL4GaygnwFKvgiR9JikkgYrHZPxa +7iyKKq79Y7phmyVdOTUg1dz6ngaYGQvlalyUDv1WyFdcj6O78ImI4KjC/l8ekC8I +/WycWjbtbJPsS4OYXOQz9KW1uCo0aebNM5zJVdfmp+4NJtxSO6TnqEoECP1mw2BS +wi+6xoKVVBJyKeIHoSP1xn8G6EKl98iDIrslz+wA1u8SOJIDY/Om7bo7odmhAzp+ +nhJOGAECgYEA8Tl4fSfqhEJO5PX9B/NF9QaANmqFM7QGCQK4axJzK04XDafEj2IP +3B0A247teN6F5+wXNgsC1IhngzlCzcYm9qKnHfbOMZ6+8yYYV6qsDPZWlUoSdUCi +Yd+A9GPnX3eifgrn35xBAr59fkRpYu4Rsh0hrV3SZ85nYZ//P7isic8CgYEAysHC +bWHegMtGEwcTs+hRHZPpX6TaF7YM88vri+qrp2muq1Y67l5d7IBtIo76nRJvqlqN +sERaY8rDKNEQLLDqnAl66hrQAe2jOrB/JHveYAlqZbBNn7qN8dzjlrEIc1CEIZFg +LEjWfx9MhsVBS9MjU9HOxxxG9wq/Aqk8a15CoFkCgYEA16h4tvPbrziUzg+5ksUE +cyXHtF6RDYNRrfaXp2oMOtgKtjOaAFI8OZ5YaPIkDl5qusiQi8lWU2pLmL61ocAY +j4ElBR3kg+oXbsxNEPtN7BzDlZ5uWBNb2UJ3SIaUkP4k8KiRWpGYcXqaOSuySDbs +7R8sP5FUjWezd00SZwaUgnMCgYBPw4Xvbg8Qb+dzWNdhcUVn82Zd4AaESXQy/Mf/ +VSSOSb8TXGr2l10vyx4j+EeTP0t6owEWlO1SUNQR3J0WV8sT847NRhsKhygt0H1U +Jv7GnS2kL4V6DvQEcDeAcsi2RLiWVBCXm1f2zqNWaYdUgw1kzicgoXkxeqLGMzm3 +q29ekQKBgHGYjB51j0NwV6RgrEGPpOpBF6yrSkwwE7Ysjy01NNYf5AS7HneCM4ND +vmYGh+NDTLYw62ogQRbUKL4p70ibh6nng90Y/cAewr3aS5z+bFxuJdAH+/nTmCFy +MHjdMxdflt7mA2Sxg0S22UDBSV+PGtslNRKWKmFKL17Tub8uMx5l +-----END RSA PRIVATE KEY----- +Certificate: + Data: + Version: 1 (0x0) + Serial Number: 3 (0x3) + Signature Algorithm: sha1WithRSAEncryption + Issuer: C=FR, ST=Some-State, O=CAShinken, CN=CAShinken Certificate Master/emailAddress=none@localhost + Validity + Not Before: Jan 12 12:54:43 2011 GMT + Not After : Jan 9 12:54:43 2021 GMT + Subject: C=FR, ST=Some-State, O=CAShinken, OU=MAIN, CN=localhost + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + RSA Public Key: (2048 bit) + Modulus (2048 bit): + 00:bf:0d:ec:9b:36:d9:b9:8d:ee:d3:f2:4d:3d:b6: + 2f:de:23:4c:95:b6:28:48:10:85:5f:ac:93:a2:a0: + 88:b2:04:52:f0:9c:45:48:05:1d:e3:80:90:16:fa: + f2:f8:7c:41:d0:3d:bf:9a:10:e4:0b:35:a0:41:6a: + 0d:65:f9:94:e8:d8:a1:0e:0e:83:ad:e4:ef:9a:5a: + 33:e8:9f:6e:72:ef:ae:5d:43:ba:f4:21:66:7b:17: + eb:8f:b9:ec:1f:0d:d9:e3:a7:c0:fd:b7:93:b6:db: + 09:f2:4d:4d:84:31:c3:f6:d9:68:52:b2:39:ac:d0: + 85:54:bd:02:d1:5c:89:ed:83:62:81:5b:e8:30:f9: + fd:9f:cf:1b:47:f7:0b:35:e3:bd:27:1d:da:70:ef: + 2b:8c:4b:8b:13:c9:22:5d:aa:35:93:75:b0:80:12: + 24:d5:f2:bf:24:a3:8c:79:d9:aa:03:b5:7b:ce:22: + bb:a3:6a:58:b0:30:56:b3:ce:e1:bc:eb:f6:bd:65: + ab:dc:19:9e:4d:ea:af:c7:a4:05:24:a1:06:7c:2e: + 41:2c:f5:c8:24:2c:92:67:8b:1d:6b:78:9d:7a:cb: + 6c:78:58:e5:9f:b9:1f:c1:19:dd:3e:66:04:0a:63: + 3c:a8:2b:bd:ee:98:a2:13:44:5c:75:a5:2d:93:7b: + 48:f7 + Exponent: 65537 (0x10001) + Signature Algorithm: sha1WithRSAEncryption + b1:ca:15:5a:86:94:6c:fd:e0:46:d9:ae:13:e7:a1:8a:9d:5e: + e0:37:36:b6:c9:67:1f:eb:30:4c:47:60:00:5b:c4:41:39:d3: + 70:a3:8b:98:ca:c4:29:21:ee:2d:c8:cd:47:f6:0d:09:04:3c: + dc:fa:6e:dd:b5:cb:26:38:1a:31:5c:48:83:cc:ce:cd:fe:3b: + 4d:6d:73:5d:20:93:42:3c:d5:5a:8f:24:33:da:e5:f2:7e:08: + fd:03:ab:1d:6d:9c:11:6d:f9:99:d5:08:5c:22:36:9a:0b:4e: + 8c:59:8c:4e:be:55:b4:32:9c:1e:ce:05:e2:20:ab:1f:c3:03: + c6:94 +-----BEGIN CERTIFICATE----- +MIICyDCCAjECAQMwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UEBhMCRlIxEzARBgNV +BAgTClNvbWUtU3RhdGUxEjAQBgNVBAoTCUNBU2hpbmtlbjElMCMGA1UEAxMcQ0FT +aGlua2VuIENlcnRpZmljYXRlIE1hc3RlcjEdMBsGCSqGSIb3DQEJARYObm9uZUBs +b2NhbGhvc3QwHhcNMTEwMTEyMTI1NDQzWhcNMjEwMTA5MTI1NDQzWjBZMQswCQYD +VQQGEwJGUjETMBEGA1UECBMKU29tZS1TdGF0ZTESMBAGA1UEChMJQ0FTaGlua2Vu +MQ0wCwYDVQQLEwRNQUlOMRIwEAYDVQQDEwlsb2NhbGhvc3QwggEiMA0GCSqGSIb3 +DQEBAQUAA4IBDwAwggEKAoIBAQC/DeybNtm5je7T8k09ti/eI0yVtihIEIVfrJOi +oIiyBFLwnEVIBR3jgJAW+vL4fEHQPb+aEOQLNaBBag1l+ZTo2KEODoOt5O+aWjPo +n25y765dQ7r0IWZ7F+uPuewfDdnjp8D9t5O22wnyTU2EMcP22WhSsjms0IVUvQLR +XIntg2KBW+gw+f2fzxtH9ws1470nHdpw7yuMS4sTySJdqjWTdbCAEiTV8r8ko4x5 +2aoDtXvOIrujaliwMFazzuG86/a9ZavcGZ5N6q/HpAUkoQZ8LkEs9cgkLJJnix1r +eJ16y2x4WOWfuR/BGd0+ZgQKYzyoK73umKITRFx1pS2Te0j3AgMBAAEwDQYJKoZI +hvcNAQEFBQADgYEAscoVWoaUbP3gRtmuE+ehip1e4Dc2tslnH+swTEdgAFvEQTnT +cKOLmMrEKSHuLcjNR/YNCQQ83Ppu3bXLJjgaMVxIg8zOzf47TW1zXSCTQjzVWo8k +M9rl8n4I/QOrHW2cEW35mdUIXCI2mgtOjFmMTr5VtDKcHs4F4iCrH8MDxpQ= +-----END CERTIFICATE----- diff --git a/god/Monitoring/nagios/shinken/certs/server.pem b/god/Monitoring/nagios/shinken/certs/server.pem new file mode 100644 index 00000000..28c2019e --- /dev/null +++ b/god/Monitoring/nagios/shinken/certs/server.pem @@ -0,0 +1,86 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAvw3smzbZuY3u0/JNPbYv3iNMlbYoSBCFX6yToqCIsgRS8JxF +SAUd44CQFvry+HxB0D2/mhDkCzWgQWoNZfmU6NihDg6DreTvmloz6J9ucu+uXUO6 +9CFmexfrj7nsHw3Z46fA/beTttsJ8k1NhDHD9tloUrI5rNCFVL0C0VyJ7YNigVvo +MPn9n88bR/cLNeO9Jx3acO8rjEuLE8kiXao1k3WwgBIk1fK/JKOMedmqA7V7ziK7 +o2pYsDBWs87hvOv2vWWr3BmeTeqvx6QFJKEGfC5BLPXIJCySZ4sda3idestseFjl +n7kfwRndPmYECmM8qCu97piiE0RcdaUtk3tI9wIDAQABAoIBAGUfeZyt64/LEB4e +ocOIKs3o4SBcyfVayT1amsn5LmEK6Ntx2znDe45u/dUr/m6HVk5iYIeraQiF2czF +1VGkSKz1/Ej0Zb4k7q1EETWPLWaodiHnN40AIL4GaygnwFKvgiR9JikkgYrHZPxa +7iyKKq79Y7phmyVdOTUg1dz6ngaYGQvlalyUDv1WyFdcj6O78ImI4KjC/l8ekC8I +/WycWjbtbJPsS4OYXOQz9KW1uCo0aebNM5zJVdfmp+4NJtxSO6TnqEoECP1mw2BS +wi+6xoKVVBJyKeIHoSP1xn8G6EKl98iDIrslz+wA1u8SOJIDY/Om7bo7odmhAzp+ +nhJOGAECgYEA8Tl4fSfqhEJO5PX9B/NF9QaANmqFM7QGCQK4axJzK04XDafEj2IP +3B0A247teN6F5+wXNgsC1IhngzlCzcYm9qKnHfbOMZ6+8yYYV6qsDPZWlUoSdUCi +Yd+A9GPnX3eifgrn35xBAr59fkRpYu4Rsh0hrV3SZ85nYZ//P7isic8CgYEAysHC +bWHegMtGEwcTs+hRHZPpX6TaF7YM88vri+qrp2muq1Y67l5d7IBtIo76nRJvqlqN +sERaY8rDKNEQLLDqnAl66hrQAe2jOrB/JHveYAlqZbBNn7qN8dzjlrEIc1CEIZFg +LEjWfx9MhsVBS9MjU9HOxxxG9wq/Aqk8a15CoFkCgYEA16h4tvPbrziUzg+5ksUE +cyXHtF6RDYNRrfaXp2oMOtgKtjOaAFI8OZ5YaPIkDl5qusiQi8lWU2pLmL61ocAY +j4ElBR3kg+oXbsxNEPtN7BzDlZ5uWBNb2UJ3SIaUkP4k8KiRWpGYcXqaOSuySDbs +7R8sP5FUjWezd00SZwaUgnMCgYBPw4Xvbg8Qb+dzWNdhcUVn82Zd4AaESXQy/Mf/ +VSSOSb8TXGr2l10vyx4j+EeTP0t6owEWlO1SUNQR3J0WV8sT847NRhsKhygt0H1U +Jv7GnS2kL4V6DvQEcDeAcsi2RLiWVBCXm1f2zqNWaYdUgw1kzicgoXkxeqLGMzm3 +q29ekQKBgHGYjB51j0NwV6RgrEGPpOpBF6yrSkwwE7Ysjy01NNYf5AS7HneCM4ND +vmYGh+NDTLYw62ogQRbUKL4p70ibh6nng90Y/cAewr3aS5z+bFxuJdAH+/nTmCFy +MHjdMxdflt7mA2Sxg0S22UDBSV+PGtslNRKWKmFKL17Tub8uMx5l +-----END RSA PRIVATE KEY----- +Certificate: + Data: + Version: 1 (0x0) + Serial Number: 3 (0x3) + Signature Algorithm: sha1WithRSAEncryption + Issuer: C=FR, ST=Some-State, O=CAShinken, CN=CAShinken Certificate Master/emailAddress=none@localhost + Validity + Not Before: Jan 12 12:54:43 2011 GMT + Not After : Jan 9 12:54:43 2021 GMT + Subject: C=FR, ST=Some-State, O=CAShinken, OU=MAIN, CN=localhost + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + RSA Public Key: (2048 bit) + Modulus (2048 bit): + 00:bf:0d:ec:9b:36:d9:b9:8d:ee:d3:f2:4d:3d:b6: + 2f:de:23:4c:95:b6:28:48:10:85:5f:ac:93:a2:a0: + 88:b2:04:52:f0:9c:45:48:05:1d:e3:80:90:16:fa: + f2:f8:7c:41:d0:3d:bf:9a:10:e4:0b:35:a0:41:6a: + 0d:65:f9:94:e8:d8:a1:0e:0e:83:ad:e4:ef:9a:5a: + 33:e8:9f:6e:72:ef:ae:5d:43:ba:f4:21:66:7b:17: + eb:8f:b9:ec:1f:0d:d9:e3:a7:c0:fd:b7:93:b6:db: + 09:f2:4d:4d:84:31:c3:f6:d9:68:52:b2:39:ac:d0: + 85:54:bd:02:d1:5c:89:ed:83:62:81:5b:e8:30:f9: + fd:9f:cf:1b:47:f7:0b:35:e3:bd:27:1d:da:70:ef: + 2b:8c:4b:8b:13:c9:22:5d:aa:35:93:75:b0:80:12: + 24:d5:f2:bf:24:a3:8c:79:d9:aa:03:b5:7b:ce:22: + bb:a3:6a:58:b0:30:56:b3:ce:e1:bc:eb:f6:bd:65: + ab:dc:19:9e:4d:ea:af:c7:a4:05:24:a1:06:7c:2e: + 41:2c:f5:c8:24:2c:92:67:8b:1d:6b:78:9d:7a:cb: + 6c:78:58:e5:9f:b9:1f:c1:19:dd:3e:66:04:0a:63: + 3c:a8:2b:bd:ee:98:a2:13:44:5c:75:a5:2d:93:7b: + 48:f7 + Exponent: 65537 (0x10001) + Signature Algorithm: sha1WithRSAEncryption + b1:ca:15:5a:86:94:6c:fd:e0:46:d9:ae:13:e7:a1:8a:9d:5e: + e0:37:36:b6:c9:67:1f:eb:30:4c:47:60:00:5b:c4:41:39:d3: + 70:a3:8b:98:ca:c4:29:21:ee:2d:c8:cd:47:f6:0d:09:04:3c: + dc:fa:6e:dd:b5:cb:26:38:1a:31:5c:48:83:cc:ce:cd:fe:3b: + 4d:6d:73:5d:20:93:42:3c:d5:5a:8f:24:33:da:e5:f2:7e:08: + fd:03:ab:1d:6d:9c:11:6d:f9:99:d5:08:5c:22:36:9a:0b:4e: + 8c:59:8c:4e:be:55:b4:32:9c:1e:ce:05:e2:20:ab:1f:c3:03: + c6:94 +-----BEGIN CERTIFICATE----- +MIICyDCCAjECAQMwDQYJKoZIhvcNAQEFBQAwfDELMAkGA1UEBhMCRlIxEzARBgNV +BAgTClNvbWUtU3RhdGUxEjAQBgNVBAoTCUNBU2hpbmtlbjElMCMGA1UEAxMcQ0FT +aGlua2VuIENlcnRpZmljYXRlIE1hc3RlcjEdMBsGCSqGSIb3DQEJARYObm9uZUBs +b2NhbGhvc3QwHhcNMTEwMTEyMTI1NDQzWhcNMjEwMTA5MTI1NDQzWjBZMQswCQYD +VQQGEwJGUjETMBEGA1UECBMKU29tZS1TdGF0ZTESMBAGA1UEChMJQ0FTaGlua2Vu +MQ0wCwYDVQQLEwRNQUlOMRIwEAYDVQQDEwlsb2NhbGhvc3QwggEiMA0GCSqGSIb3 +DQEBAQUAA4IBDwAwggEKAoIBAQC/DeybNtm5je7T8k09ti/eI0yVtihIEIVfrJOi +oIiyBFLwnEVIBR3jgJAW+vL4fEHQPb+aEOQLNaBBag1l+ZTo2KEODoOt5O+aWjPo +n25y765dQ7r0IWZ7F+uPuewfDdnjp8D9t5O22wnyTU2EMcP22WhSsjms0IVUvQLR +XIntg2KBW+gw+f2fzxtH9ws1470nHdpw7yuMS4sTySJdqjWTdbCAEiTV8r8ko4x5 +2aoDtXvOIrujaliwMFazzuG86/a9ZavcGZ5N6q/HpAUkoQZ8LkEs9cgkLJJnix1r +eJ16y2x4WOWfuR/BGd0+ZgQKYzyoK73umKITRFx1pS2Te0j3AgMBAAEwDQYJKoZI +hvcNAQEFBQADgYEAscoVWoaUbP3gRtmuE+ehip1e4Dc2tslnH+swTEdgAFvEQTnT +cKOLmMrEKSHuLcjNR/YNCQQ83Ppu3bXLJjgaMVxIg8zOzf47TW1zXSCTQjzVWo8k +M9rl8n4I/QOrHW2cEW35mdUIXCI2mgtOjFmMTr5VtDKcHs4F4iCrH8MDxpQ= +-----END CERTIFICATE----- diff --git a/god/Monitoring/nagios/shinken/commands.cfg b/god/Monitoring/nagios/shinken/commands.cfg new file mode 100644 index 00000000..79a5e6e0 --- /dev/null +++ b/god/Monitoring/nagios/shinken/commands.cfg @@ -0,0 +1,285 @@ +# Here are some sample commands for checking classics things like +# systems and websites + +# ----------------------------------------------------------------- +# +# Localhost checks +# +# ----------------------------------------------------------------- + + +# Simple disk check for LOCALHOST ONLY! +define command { + command_name check_local_disks + command_line $PLUGINSDIR$/check_disk -w 10% -c 5% -x /dev/shm -e -l +} + + +define command { + command_name check_local_load + command_line $PLUGINSDIR$/check_load -w 3,3,3 -c 5,5,5 +} + +define command { + command_name check_local_mem + command_line $PLUGINSDIR$/check_mem.pl -u -w 90 -c 95 -C +} + + +define command { + command_name check_local_swap + command_line $PLUGINSDIR$/check_swap -w 50% -c 25% +} + +define command { + command_name check_local_cpu + command_line $PLUGINSDIR$/check_cpu -w 20 -c 10 +} + + + + +# ----------------------------------------------------------------- +# +# Classic network calls +# +# ----------------------------------------------------------------- + +# Simple tcp check +define command { + command_name check_tcp + command_line $PLUGINSDIR$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ +} + +# Simple web check +define command { + command_name check_http + command_line $PLUGINSDIR$/check_http -H $HOSTADDRESS$ +} + +# And with SSL +define command { + command_name check_https + command_line $PLUGINSDIR$/check_http -H $HOSTADDRESS$ -S +} + + +# Check a DNS entry +define command { + command_name check_dig + command_line $PLUGINSDIR$/check_dig -H $HOSTADDRESS$ -l $ARG1$ +} + +# Check a FTP service +define command { + command_name check_ftp + command_line $PLUGINSDIR$/check_ftp -H $HOSTADDRESS$ +} + + +# Ask a nrpe agent +define command { + command_name check_nrpe + command_line $PLUGINSDIR$/check_nrpe -H $HOSTADDRESS$ -t 9 -u -c $ARG1$ +} + +# Same but with arguments +define command { + command_name check_nrpe_args + command_line $PLUGINSDIR$/check_nrpe -H $HOSTADDRESS$ -t 9 -u -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ +} + +# Simple ping command +define command { + command_name check_ping + command_line $PLUGINSDIR$/check_ping -H $HOSTADDRESS$ -w 3000,100% -c 5000,100% -p 1 +} + +# Look at good ssh launch +define command { + command_name check_ssh + command_line $PLUGINSDIR$/check_ssh -H $HOSTADDRESS$ +} + +# Look for good smtp connection +define command { + command_name check_smtp + command_line $PLUGINSDIR$/check_smtp -H $HOSTADDRESS$ +} + +# And SMTPS too +define command { + command_name check_smtps + command_line $PLUGINSDIR$/check_smtp -H $HOSTADDRESS$ -S +} + +# Look at a SSL certificate +define command { + command_name check_https_certificate + command_line $PLUGINSDIR$/check_http -H $HOSTADDRESS$ -C 30 +} + +#Look at an HP printer state +define command{ + command_name check_hpjd + command_line $PLUGINSDIR$/check_hpjd -H $HOSTADDRESS$ -C $SNMPCOMMUNITYREAD$ +} + + +# Look at Oracle connection +define command { + command_name check_oracle_listener + command_line $PLUGINSDIR$/check_oracle --tns $HOSTADDRESS$ +} + +# Same but for MSSQL +# Look at http://labs.consol.de/nagios/check_mssql_health/ to get it +# Don't forget to change $MSSQLUSER$ and $MSSQLPASSWORD$ in resources.cfg before you use this ;) +define command { + command_name check_mssql_connection + command_line $PLUGINSDIR$/check_mssql_health --hostname $HOSTADDRESS$ --username "$MSSQLUSER$" --password "$MSSQLPASSWORD$" --mode connection-time +} + + +# Ldap query +# Don't forget to update the macros in the resources.cfg file +define command { + command_name check_ldap + command_line $PLUGINSDIR$/check_ldap -H $HOSTADDRESS$ -b "$LDAPBASE$" -D $DOMAINUSER$ -P "$DOMAINPASSWORD$" +} + +# Now the same, but in LDAPS +# Don't forget to update the macros in the resources.cfg +define command { + command_name check_ldaps + command_line $PLUGINSDIR$/check_ldaps -H $HOSTADDRESS$ -b "$LDAPBASE$" -D $DOMAINUSER$ -P "$DOMAINPASSWORD$" +} + +# Distant mysql check +define command { + command_name check_mysql_connection + command_line $PLUGINSDIR$/check_mysql -H $HOSTADDRESS$ -u $MYSQLUSER$ -p $MYSQLPASSWORD$ +} + + +## Now ESX and VM checks +##ARG1 and take cpu, io, net or mem +define command{ + command_name check_esx_host + command_line $PLUGINSDIR$/check_esx3.pl -D $VCENTER$ -H $HOSTADDRESS$ -u $VCENTERLOGIN$ -p $VCENTERPASSWORD$ l $ARG1$ +} + +define command{ + command_name check_esx_vm + command_line $PLUGINSDIR$/check_esx3.pl -D $VCENTER$ -N $HOSTALIAS$ -u $VCENTERLOGIN$ -p $VCENTERPASSWORD$ -l $ARG1$ +} + + +#### Then samples which are not really useful in the real world + +#Pollertag is a advanced features for mix architectures. Look at the doc for it. +define command{ + command_name check_linux_host_alive + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 22 -t 3 + #poller_tag DMZ + #module_type nrpe_poller +} + +#Pollertag is a advanced features for mix architectures. Look at the doc for it. +define command{ + command_name check_host_alive + command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 1,50% -c 2,70% -p 1 + #poller_tag DMZ + #module_type nrpe_poller +} + + +define command{ + command_name check_windows_host_alive + command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 139 -t 3 + #poller_tag DMZ + #module_type nrpe_poller +} + + +define command{ + command_name check_local_disk + command_line $USER1$/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $USER1$ + #poller_tag DMZ + #module_type nrpe_poller +} + + +# Dummy check port command +define command{ + command_name check_port + command_line /bin/ping localhost -c 1 + #$USER1$/check.sh $HOSTADDRESS$ -c $ARG1$ + #poller_tag DMZ + #module_type nrpe_poller +} + +# Dummy check for mysql, always CRITICAL +define command{ + command_name check_mysql + command_line $USER1$/check_dummy.sh 2 +} + + +define command{ + command_name check_dummy + command_line $USER1$/check_dummy.sh $ARG1$ + #poller_tag DMZ +} + + +define command{ + command_name super_event_kill_everyone + command_line $USER1$/check.sh $HOSTADDRESS$ -c $ARG1$ SERVICE $_HOSTDELLSUCK$ +} + + +# We say Http checks are always OK +define command{ + command_name check_http2 + command_line $USER1$/check_dummy.sh 1 + #module_type nrpe_poller +} + +define command{ + command_name check-host-alive + command_line $USER1$/check.sh $HOSTADDRESS$ -c $ARG1$ HOST $_HOSTDELLSUCK$ $SERVICEDESC:srv-1:Service-2$ $SERVICEDESC::Service-30$ $HOSTADDRESS:$ $HOSTGROUPALIAS:linux-servers$ + #module_type dummy_poller +} + + +define command{ + command_name check_vm_cpu + command_line $USER1$/check_esx3.pl -H lulu +} + + +#### Now notification commands +define command{ + command_name notify-host-by-email + command_line /usr/bin/printf "%b" "Shinken Notification\n\nType:$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nDate/Time: $DATE$" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ +} + + +define command{ + command_name notify-service-by-email + command_line /usr/bin/printf "%b" "Shinken Notification\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATE$ Additional Info : $SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ +} + + +#### And Discovery commands +define command{ + command_name nmap_discovery + command_line $USER1$/nmap_discovery_runner.py -t $NMAPTARGETS$ +} + +define command{ + command_name vmware_esx_discovery + command_line $USER1$/vmware_discovery_runner.py -V $VCENTER$ -u $VCENTERLOGIN$ -p $VCENTERPASSWORD$ -r "lower|nofqdn" +} + diff --git a/god/Monitoring/nagios/shinken/contactgroups.cfg b/god/Monitoring/nagios/shinken/contactgroups.cfg new file mode 100644 index 00000000..517f9ead --- /dev/null +++ b/god/Monitoring/nagios/shinken/contactgroups.cfg @@ -0,0 +1,8 @@ + +#We create some contact groups + +define contactgroup{ + contactgroup_name admins + alias admins + members admin +} diff --git a/god/Monitoring/nagios/shinken/contacts.cfg b/god/Monitoring/nagios/shinken/contacts.cfg new file mode 100644 index 00000000..9a2f9bac --- /dev/null +++ b/god/Monitoring/nagios/shinken/contacts.cfg @@ -0,0 +1,10 @@ +# It's a default admin +# CHANGE ITS PASSWORD!!!! +define contact{ + use generic-contact + contact_name admin + email shinken@localhost + password admin +} + + diff --git a/god/Monitoring/nagios/shinken/dependencies.cfg b/god/Monitoring/nagios/shinken/dependencies.cfg new file mode 100644 index 00000000..2a2c7449 --- /dev/null +++ b/god/Monitoring/nagios/shinken/dependencies.cfg @@ -0,0 +1,25 @@ + +#Dependancies + +# This is the HARD way for define dependencies. Please look at the +# service_dependencies property for the services instead! + +#define servicedependency { +# host_name dc01 +# service_description ActiveDirectory +# dependent_host_name dc07 +# dependent_service_description ActiveDirectory +# execution_failure_criteria o +# notification_failure_criteria w,u +# dependency_period 24x7 +# } + +#define hostdependency{ +# host_name dc01 +# dependent_host_name localhost +# execution_failure_criteria o +# notification_failure_criteria u +# dependency_period 24x7 +# } + + diff --git a/god/Monitoring/nagios/shinken/discovery.cfg b/god/Monitoring/nagios/shinken/discovery.cfg new file mode 100644 index 00000000..d8e9fa9f --- /dev/null +++ b/god/Monitoring/nagios/shinken/discovery.cfg @@ -0,0 +1,25 @@ + +# Log file of the discovery command +log_file=/tmp/discovery.log + +# Configuration files with common discovery objects +# like discoveryrules or runners +cfg_file=discovery_rules.cfg +cfg_file=discovery_runs.cfg + +# Load all commands that will be used +cfg_file=commands.cfg + +# Some important macros +resource_file=resource.cfg + +# Lock file (with pid) for Arbiterd +lock_file=discovery.pid + +# Strip FQDN of the name ID to keep only the +# basename of the element +strip_idname_fqdn=0 + +# Change this value to increase the discovery +# scripts timeout. Start with a quite huge value, one hour. +runners_timeout=3600 diff --git a/god/Monitoring/nagios/shinken/discovery_rules.cfg b/god/Monitoring/nagios/shinken/discovery_rules.cfg new file mode 100644 index 00000000..cb3f5c31 --- /dev/null +++ b/god/Monitoring/nagios/shinken/discovery_rules.cfg @@ -0,0 +1,203 @@ +##### Here are some rules for generating classic services for network +define discoveryrule { + discoveryrule_name HostGeneric + isup 1 + use generic-host + creation_type host +} + + + +##### Here are some rules for generating classic services for network +define discoveryrule { + discoveryrule_name Http + openports ^80$ + check_command check_http + service_description Http + use generic-service +} + +define discoveryrule { + discoveryrule_name Https + openports ^443$ + check_command check_https + service_description Https + use generic-service +} + +define discoveryrule { + discoveryrule_name Https-Certificate + openports ^443$ + check_command check_https_certificate + service_description Https-Certificate + use generic-service +} + +define discoveryrule { + discoveryrule_name Ftp + openports ^21$ + check_command check_ftp + service_description Ftp + use generic-service +} + +define discoveryrule { + discoveryrule_name Ssh + openports ^22$ + check_command check_ssh + service_description Ssh + use generic-service +} + +define discoveryrule { + discoveryrule_name DNS + openports ^53$ + check_command check_dig + service_description DNS + use generic-service +} + +define discoveryrule { + discoveryrule_name SMTP + openports ^25$ + check_command check_smtp + service_description SMTP + use generic-service +} + +define discoveryrule { + discoveryrule_name SMTPS + openports ^465$ + check_command check_smtps + service_description SMTPS + use generic-service +} + + +define discoveryrule { + discoveryrule_name LDAP + openports ^389$ + check_command check_ldap + service_description 389 + use generic-service +} + +define discoveryrule { + discoveryrule_name LDAPS + openports ^636$ + check_command check_ldaps + service_description LDAPS + use generic-service +} + +## Printers +# Nmap do nto find them good, so look at ports +define discoveryrule { + discoveryrule_name HPPrinterState + openports 631,9100 + check_command check_hpjd + service_description HPPrinterState + use generic-service +} + + + +###Then some classic RDBMS connection +define discoveryrule { + discoveryrule_name Mysql-Connexion + openports ^3306$ + check_command check_mysql_connection + service_description Mysql-Connexion + use generic-service +} + +define discoveryrule { + discoveryrule_name Oracle-Listener + openports ^1521$ + check_command check_oracle_listener + service_description Oracle-Listener + use generic-service +} + +define discoveryrule { + discoveryrule_name MSSQL-Connexion + openports ^1433$ + check_command check_mssql_connection + service_description MSSQL-Connexion + use generic-service +} + + +### Look for a VMWare Host +# Here for CPU +define discoveryrule { + discoveryrule_name ESX-Host-Cpu + isesxhost 1 + check_command check_esx_host!cpu + service_description ESX-host-Cpu + use generic-service +} + +# Now Memory +define discoveryrule { + discoveryrule_name ESX-Host-Mem + isesxhost 1 + check_command check_esx_host!mem + service_description ESX-host-Mem + use generic-service +} + +# Now I/O +define discoveryrule { + discoveryrule_name ESX-Host-IO + isesxhost 1 + check_command check_esx_host!io + service_description ESX-host-IO + use generic-service +} + +# Now Network +define discoveryrule { + discoveryrule_name ESX-Host-Net + isesxhost 1 + check_command check_esx_host!net + service_description ESX-host-Net + use generic-service +} + +#### And now look for VMware machines +# Now CPU +define discoveryrule { + discoveryrule_name ESX-VM-Cpu + isesxvm 1 + check_command check_esx_vm!cpu + service_description ESX-VM-Cpu + use generic-service +} + +# Now Memory +define discoveryrule { + discoveryrule_name ESX-VM-Mem + isesxvm 1 + check_command check_esx_vm!mem + service_description ESX-VM-Mem + use generic-service +} + +# Now IO +define discoveryrule { + discoveryrule_name ESX-VM-IO + isesxvm 1 + check_command check_esx_vm!io + service_description ESX-VM-IO + use generic-service +} + +# Now Network +define discoveryrule { + discoveryrule_name ESX-VM-Net + isesxvm 1 + check_command check_esx_vm!net + service_description ESX-VM-Net + use generic-service +} diff --git a/god/Monitoring/nagios/shinken/discovery_runs.cfg b/god/Monitoring/nagios/shinken/discovery_runs.cfg new file mode 100644 index 00000000..d21b0c51 --- /dev/null +++ b/god/Monitoring/nagios/shinken/discovery_runs.cfg @@ -0,0 +1,10 @@ +define discoveryrun { + discoveryrun_name nmap + discoveryrun_command nmap_discovery +} + + +define discoveryrun { + discoveryrun_name vsphere + discoveryrun_command vmware_esx_discovery +} diff --git a/god/Monitoring/nagios/shinken/escalations.cfg b/god/Monitoring/nagios/shinken/escalations.cfg new file mode 100644 index 00000000..a953d871 --- /dev/null +++ b/god/Monitoring/nagios/shinken/escalations.cfg @@ -0,0 +1,18 @@ + + +# Define escalation the OLD school way. +# Better use the simple "escalation" way! (in shinken-specific.cfg) + +#define serviceescalation{ +# host_name localhost +# hostgroup_name windows-servers +# service_description Root Partition +# contacts GNULinux_Administrator +# contact_groups admins +# first_notification 2 +# last_notification 5 +# notification_interval 1 +# escalation_period 24x7 +# escalation_options w,u,c,r +# } + diff --git a/god/Monitoring/nagios/shinken/hostgroups.cfg b/god/Monitoring/nagios/shinken/hostgroups.cfg new file mode 100644 index 00000000..fb8713b7 --- /dev/null +++ b/god/Monitoring/nagios/shinken/hostgroups.cfg @@ -0,0 +1,17 @@ + + + +#A little host group. Host groups are important if you want to keep managable your conf ;) +#define hostgroup{ +# hostgroup_name linux-servers ; The name of the hostgroup +# alias Linux Servers ; Long name of the group +# members localhost,dc01 ; Comma separated list of hosts that belong to this group +# realm Europe +# } + + +#define hostgroup{ +# hostgroup_name mysql-servers +# alias mysql-servers +# members databasehost1,databasehost-us +# } diff --git a/god/Monitoring/nagios/shinken/hosts/localhost.cfg b/god/Monitoring/nagios/shinken/hosts/localhost.cfg new file mode 100644 index 00000000..a15a9c5d --- /dev/null +++ b/god/Monitoring/nagios/shinken/hosts/localhost.cfg @@ -0,0 +1,7 @@ +define host{ + use linux + contact_groups admins + host_name localhost + address localhost + icon_set server + } diff --git a/god/Monitoring/nagios/shinken/nagios-windows.cfg b/god/Monitoring/nagios/shinken/nagios-windows.cfg new file mode 100644 index 00000000..478d3950 --- /dev/null +++ b/god/Monitoring/nagios/shinken/nagios-windows.cfg @@ -0,0 +1,136 @@ + + +#Will create the good module for your brokers +log_file=c:\\shinken\\var\\shinken.log + + +#Are you working? Yes I think... +execute_host_checks=1 +execute_service_checks=1 + + +#Configuration files with common objects like commands, timeperiods, +#or templates that are used by the host/service/contacts +#cfg_file=commons.cfg +cfg_file=commands.cfg +cfg_file=timeperiods.cfg +cfg_file=escalations.cfg +cfg_file=dependencies.cfg +cfg_file=contacts.cfg + +#Now templates of hosts, services and contacts +cfg_file=templates.cfg + +#Now groups +cfg_file=servicegroups.cfg +cfg_file=hostgroups.cfg +cfg_file=contactgroups.cfg + +#and now real hosts, services and contacts +cfg_dir=hosts +cfg_dir=services +cfg_dir=objects/discovery + +#Some macros +resource_file=resource.cfg + + +#Dummy conf with 150 hosts, each one with 10 services +#cfg_file=host-150.cfg +#cfg_file=services-150h-1500srv.cfg + + +#Broker? No, there is the module objects for it thanks. +#broker_module=/usr/local/nagios/bin/ndomod-3x.o config_file=/usr/local/nagios/etc/ndomod.cfg + + +#No use, this value must be in a module! +#status_update_interval=60 + + +#Number of interval (60s by default) to spread the first checks +#for hosts and servcies +max_service_check_spread=5 +max_host_check_spread=5 + +#File where are the external commands are sent. This will be in a module in the future +#because Shinken is multiplatform, and Windows do not have such pipes +#command_file=/usr/local/shinken/var/rw/nagios.cmd + + +#Unused from now +date_format=iso8601 + + +#You can set it to 1, but there is no embedded_perl from now, sorry +enable_embedded_perl=0 + + +#ater 10s, checks are killed (RIP) +service_check_timeout=10 + + +#flap_history is the lengh of history states we keep to look for flaping +#20 by default, can be useful to increase it. Each flap_history increase cost : +#flap_history cost = 4Bytes * flap_history * (nb hosts + nb services) +#ex : 4 * 20 * (1000+10000) ~ 900Ko for a quite big conf. So, go for it! +flap_history=30 + + +#Max plugin output for the plugins launch by the pollers, in bytes +max_plugins_output_length=8192 + + +#Enable or not the state change on impact detection (like +#an host going unreach if a parent is DOWN for example). It's for +#services and hosts. +#Remark : if this option is absent, the default is 0 (for Nagios +#old behavior compatibility) +enable_problem_impacts_states_change=1 + + +#Lock file (with pid) for Arbiterd +lock_file=c:\\shinken\\var\\arbiterd.pid + + +#if 1, disable all notice and warning messages at +#configuration checking +disable_old_nagios_parameters_whining=0 + + +#If you need to set a specific timezone to your deamons, uncomment it +#use_timezone=FR/Paris + +#If possible, don't use it. It's not good for your CPU :) +use_large_installation_tweaks=1 +enable_environment_macros=0 + +## Security part with SSL +use_ssl=0 +#certs_dir=etc/certs +#ca_cert=etc/certs/ca.pem +#server_cert=etc/certs/server.pem +#hard_ssl_name_check=0 + + +# If in the log you want to see +# [Fri Apr 15 15:43:19 2011] instead of +# [1302874960], put this value to 1 +# !!!!!!!!!!!!!! +# But beware, it won't be anymore parsable by tools +# like Centreon or Thruk +# !!!!!!!!!!!!! +human_timestamp_log=0 + + + +# The arbiter can have it's own local log +local_log=c:\\shinken\\var\\arbiterd.log + +# Set to 0 will enable the nagios behavior that will +# launch event handlers even if the element is in downtime. +no_event_handlers_during_downtimes=1 +shinken_user=shinken +shinken_group=shinken +lock_file=/var/run/shinken/arbiterd.pid +local_log=/var/log/shinken/arbiterd.log diff --git a/god/Monitoring/nagios/shinken/nagios.cfg b/god/Monitoring/nagios/shinken/nagios.cfg new file mode 100644 index 00000000..28d6b88d --- /dev/null +++ b/god/Monitoring/nagios/shinken/nagios.cfg @@ -0,0 +1,157 @@ + +#Will create the good module for your brokers +#log_file=arbiterd.log +#/tmp/donotusethis.log + + +# If you want to set the workink directory of the +# arbiter, just uncomment this +# workdir=/var/lib/shinken + +#Are you working? Yes I think... +execute_host_checks=1 +execute_service_checks=1 + + +#Configuration files with common objects like commands, timeperiods, +#or templates that are used by the host/service/contacts +#cfg_file=commons.cfg +cfg_file=commands.cfg +cfg_file=timeperiods.cfg +cfg_file=escalations.cfg +cfg_file=dependencies.cfg +cfg_file=contacts.cfg + +#Now templates of hosts, services and contacts +cfg_file=templates.cfg + +#Now groups +cfg_file=servicegroups.cfg +cfg_file=hostgroups.cfg +cfg_file=contactgroups.cfg + +#and now real hosts, services and contacts +cfg_dir=hosts +cfg_dir=services +cfg_dir=objects/discovery +cfg_dir=objects/groups/ +cfg_dir=objects/internet/ +cfg_dir=objects/retiolum/ +cfg_dir=objects/shackspace/ + +# Un comment this for a sample configuration +#cfg_dir=sample + +#Some macros +resource_file=resource.cfg + + +#Dummy conf with 150 hosts, each one with 10 services +#cfg_file=host-150.cfg +#cfg_file=services-150h-1500srv.cfg + + +#Broker? No, there is the module objects for it thanks. +#broker_module=/usr/local/nagios/bin/ndomod-3x.o config_file=/usr/local/nagios/etc/ndomod.cfg + + +# Useless here, must be in a module +status_update_interval=60 + +# Number of minutes between 2 retention save, here 1hour +retention_update_interval=60 + +#Number of interval (60s by default) to spread the first checks +#for hosts and services +max_service_check_spread=5 +max_host_check_spread=5 + +#File where are the external commands are sent. This will be in a module in the future +#because Shinken is multiplatform, and Windows do not have such pipes +command_file=rw/nagios.cmd + + +#Unused from now +date_format=iso8601 + + +#You can set it to 1, but there is no embedded_perl for now, sorry +enable_embedded_perl=0 + + +#after 10s, checks are killed (RIP) +service_check_timeout=10 + + +#flap_history is the lengh of history states we keep to look for flaping +#20 by default, can be useful to increase it. Each flap_history increase cost : +#flap_history cost = 4Bytes * flap_history * (nb hosts + nb services) +#ex : 4 * 20 * (1000+10000) ~ 900Ko for a quite big conf. So, go for it! +flap_history=30 + + +#Max plugin output for the plugins launched by the pollers, in bytes +max_plugins_output_length=8192 + + +#Enable or not the state change on impact detection (like +#an host going unreach if a parent is DOWN for example). It's for +#services and hosts. +#Remark : if this option is absent, the default is 0 (for Nagios +#old behavior compatibility) +enable_problem_impacts_states_change=1 + + +#Lock file (with pid) for Arbiterd +#lock_file=arbiterd.pid + + +#if 1, disable all notice and warning messages at +#configuration checking +disable_old_nagios_parameters_whining=0 + + +#If you need to set a specific timezone to your deamons, uncomment it +#use_timezone=FR/Paris + +#If possible, don't use it. It's not good for your CPU :) +use_large_installation_tweaks=1 +enable_environment_macros=0 + +#User that will be used by the arbiter. shinken/shinken +#by default +#shinken_user=shinken +#shinken_group=shinken + + + +## Security part with SSL +use_ssl=0 +#certs_dir=etc/certs +#ca_cert=etc/certs/ca.pem +#server_cert=etc/certs/server.pem +#hard_ssl_name_check=0 + + +# If in the log you want to see +# [Fri Apr 15 15:43:19 2011] instead of +# [1302874960], put this value to 1 +# !!!!!!!!!!!!!! +# But beware, it won't be anymore parsable by tools +# like Centreon or Thruk +# !!!!!!!!!!!!! +human_timestamp_log=0 + + + +# The arbiter can have it's own local log +local_log=arbiterd.log + +# Set to 0 will enable the nagios behavior that will +# launch event handlers even if the element is in downtime. +no_event_handlers_during_downtimes=1 + +shinken_user=shinken +shinken_group=shinken +lock_file=/var/run/shinken/arbiterd.pid +local_log=/var/log/shinken/arbiterd.log diff --git a/god/Monitoring/nagios/shinken/objects/groups/root_contact.cfg b/god/Monitoring/nagios/shinken/objects/groups/root_contact.cfg new file mode 100644 index 00000000..a2c4180a --- /dev/null +++ b/god/Monitoring/nagios/shinken/objects/groups/root_contact.cfg @@ -0,0 +1,16 @@ +define contact{ + contact_name root + alias root + service_notification_period 24x7 + host_notification_period 24x7 + service_notification_options w,u,c,r + host_notification_options d,u,r + service_notification_commands notify-service-by-email + host_notification_commands notify-host-by-email + email root@krebsco.de + } +define contactgroup{ + contactgroup_name root-infrastructure + alias root-infrastructure + members root + } diff --git a/god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Http.cfg b/god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Http.cfg new file mode 100644 index 00000000..8701cabc --- /dev/null +++ b/god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Http.cfg @@ -0,0 +1,6 @@ +define service { + service_description Http + use generic-service + check_command check_http + host_name euer.krebsco.de +} diff --git a/god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Ssh.cfg b/god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Ssh.cfg new file mode 100644 index 00000000..a1303fec --- /dev/null +++ b/god/Monitoring/nagios/shinken/objects/internet/euer.krebsco.de/Ssh.cfg @@ -0,0 +1,6 @@ +define service { + service_description Ssh + use generic-service + check_command check_ssh +