summaryrefslogtreecommitdiffstats
path: root/modules/Monitoring/conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/Monitoring/conf')
-rw-r--r--modules/Monitoring/conf/hostgroups_nagios2.cfg31
-rw-r--r--modules/Monitoring/conf/krebs_hosts.cfg78
-rw-r--r--modules/Monitoring/conf/krebsnet.cfg20
-rw-r--r--modules/Monitoring/conf/localhost.cfg60
-rw-r--r--modules/Monitoring/conf/other_hosts.cfg23
-rw-r--r--modules/Monitoring/conf/shack_infrastructure.cfg231
-rw-r--r--modules/Monitoring/conf/shacknet.cfg34
-rw-r--r--modules/Monitoring/conf/tinc_hosts.cfg45
-rw-r--r--modules/Monitoring/conf/tincnet.cfg31
9 files changed, 0 insertions, 553 deletions
diff --git a/modules/Monitoring/conf/hostgroups_nagios2.cfg b/modules/Monitoring/conf/hostgroups_nagios2.cfg
deleted file mode 100644
index 63acbf50..00000000
--- a/modules/Monitoring/conf/hostgroups_nagios2.cfg
+++ /dev/null
@@ -1,31 +0,0 @@
-# Some generic hostgroup definitions
-
-# A simple wildcard hostgroup
-define hostgroup {
- hostgroup_name all
- alias All Servers
- members *
- }
-
-# A list of your Debian GNU/Linux servers
-define hostgroup {
- hostgroup_name debian-servers
- alias Debian GNU/Linux Servers
- members localhost
- }
-
-# A list of your web servers
-define hostgroup {
- hostgroup_name http-servers
- alias HTTP servers
- members localhost
- }
-
-# A list of your ssh-accessible servers
-define hostgroup {
- hostgroup_name ssh-servers
- alias SSH servers
- members localhost
- }
-
-
diff --git a/modules/Monitoring/conf/krebs_hosts.cfg b/modules/Monitoring/conf/krebs_hosts.cfg
deleted file mode 100644
index a929fa19..00000000
--- a/modules/Monitoring/conf/krebs_hosts.cfg
+++ /dev/null
@@ -1,78 +0,0 @@
-
-#
-# Ur-Krebs
-#
-define host{
- use generic-host
- host_name krebs.shack
- alias krebs
- _tinc_address 10.7.7.156
- address 10.42.23.5
- parents shack-coreswitch
- hostgroups krebs-machines,tinc-nodes,ssh-servers
- }
-#
-# UTART
-#
-define host{
- use generic-host
- host_name utart
- alias UTART
- _tinc_address 10.7.7.66
- address 10.42.23.23
- parents shack-coreswitch
- hostgroups krebs-machines,tinc-nodes,ssh-servers
- }
-#
-# ytart
-# will use tinc ip as long as no static ip is supplied
-#
-define host{
- use generic-host
- host_name ytart
- alias ytart
- _tinc_address 10.7.7.201
- parents shack-wlan-ap5
- address 10.7.7.201
- hostgroups krebs-machines,tinc-nodes,ssh-servers
- }
-#
-# uPM
-#
-define host{
- use generic-host
- host_name upm
- alias uPM Virtual Machine
- _tinc_address 10.7.7.99
- address upm.shack
- parents shack-node1
- hostgroups krebs-machines,ssh-servers,shack-rz
- #,tinc-nodes
- }
-
-# TODO add upm and genericore as tinc-nodes
-# TODO check MONGODB on uPM
-
-
-
-#TODO verkrebse genericore/get password
-define host{
- use generic-host
- host_name genericore
- alias genericore Virtual Machine
- #_tinc_address 10.7.7.XX
- address genericore.shack
- parents shack-node1
- hostgroups ssh-servers,shack-rz
- #,tinc-nodes,krebs-machines
- }
-
-define host{
- use generic-host
- host_name shepherd
- alias Shepherd Krebs
- _tinc_address 10.7.7.29
- address 10.42.23.42
- parents shack-coreswitch
- hostgroups krebs-machines,tinc-nodes,ssh-servers
- }
diff --git a/modules/Monitoring/conf/krebsnet.cfg b/modules/Monitoring/conf/krebsnet.cfg
deleted file mode 100644
index ae5b898e..00000000
--- a/modules/Monitoring/conf/krebsnet.cfg
+++ /dev/null
@@ -1,20 +0,0 @@
-## extended infos for krebsnet
-define hostgroup {
- hostgroup_name krebs-machines
- alias Krebs Machines
- }
-define hostextinfo{
- hostgroup_name krebs-machines
- notes Deployed Krebse
-# notes_url http://webserver.localhost.localdomain/hostinfo.pl?host=netware1
- icon_image krebs/krebs.png
- icon_image_alt Krebs
- vrml_image krebs.png
- statusmap_image krebs/krebs.gd2
- }
-#define host{
-# use generic-host
-# register 0
-# name tinc-only-host
-# check_command check_internal_tinc_up!100.0,20%!500.0,60%
-# }
diff --git a/modules/Monitoring/conf/localhost.cfg b/modules/Monitoring/conf/localhost.cfg
deleted file mode 100644
index 3b098195..00000000
--- a/modules/Monitoring/conf/localhost.cfg
+++ /dev/null
@@ -1,60 +0,0 @@
-# A simple configuration file for monitoring the local host
-# This can serve as an example for configuring other servers;
-# Custom services specific to this host are added here, but services
-# defined in nagios2-common_services.cfg may also apply.
-#
-
-define host{
- use generic-host ; Name of host template to use
- host_name localhost
- alias localhost
- address 127.0.0.1
- hostgroups krebs-machines
- }
-
-# Define a service to check the disk space of the root partition
-# on the local machine. Warning if < 20% free, critical if
-# < 10% free space on partition.
-
-define service{
- use generic-service ; Name of service template to use
- host_name localhost
- service_description Disk Space
- check_command check_all_disks!20%!10%
- }
-
-
-
-# Define a service to check the number of currently logged in
-# users on the local machine. Warning if > 20 users, critical
-# if > 50 users.
-
-define service{
- use generic-service ; Name of service template to use
- host_name localhost
- service_description Current Users
- check_command check_users!20!50
- }
-
-
-# Define a service to check the number of currently running procs
-# on the local machine. Warning if > 250 processes, critical if
-# > 400 processes.
-
-define service{
- use generic-service ; Name of service template to use
- host_name localhost
- service_description Total Processes
- check_command check_procs!250!400
- }
-
-
-
-# Define a service to check the load on the local machine.
-
-define service{
- use generic-service ; Name of service template to use
- host_name localhost
- service_description Current Load
- check_command check_load!5.0!4.0!3.0!10.0!6.0!4.0
- }
diff --git a/modules/Monitoring/conf/other_hosts.cfg b/modules/Monitoring/conf/other_hosts.cfg
deleted file mode 100644
index bfc36154..00000000
--- a/modules/Monitoring/conf/other_hosts.cfg
+++ /dev/null
@@ -1,23 +0,0 @@
-define host{
- use generic-host
- host_name google.de
- alias Google Website
- address google.de
- parents shack-modem
- hostgroups http-servers
- }
-
-define host{
- use generic-host
- host_name google-dns
- parents shack-gw
- parents shack-modem
- alias Google DNS Service (always reachable)
- address 8.8.8.8
- }
-define service {
- host_name google-dns
- service_description DNS Service
- use generic-service
- check_command check_dns
- }
diff --git a/modules/Monitoring/conf/shack_infrastructure.cfg b/modules/Monitoring/conf/shack_infrastructure.cfg
deleted file mode 100644
index dd123dc3..00000000
--- a/modules/Monitoring/conf/shack_infrastructure.cfg
+++ /dev/null
@@ -1,231 +0,0 @@
-#
-
-#
-# Shack Virtual Machine Hoster Platform
-#
-
-#
-# Virtualization and storage
-#
-define host{
- use generic-host
- host_name shack-node1
- alias Shack Virtualization Server
- address 10.42.0.10
- parents shack-serverswitch
- hostgroups shack-rz,ssh-servers
- }
-define host{
- use generic-host
- host_name shack-zetbox
- alias Shack Virtualization Server
- address 10.42.0.10
- parents shack-serverswitch
- hostgroups shack-rz,ssh-servers
- }
-define host{
- use generic-host
- host_name shack-plattenschwein
- parents shack-serverswitch
- alias Shack Plattenschwein
- address 10.42.0.12
- hostgroups shack-rz,ssh-servers
- }
-define host{
- use generic-host
- host_name shack-gauda0
- parents shack-serverswitch
- alias Shack gauda0 Mining Server
- address gauda0.shack
- hostgroups shack-rz
- }
-#
-# Network Infrastructure
-#
-
-#
-## Shack gateway (no gateway-no internet)
-#
-define host{
- use generic-host
- host_name shack-gw
- parents shack-coreswitch
- alias Watchguard Shack Gateway
- address 10.42.0.1
- hostgroups shack-rz,ssh-servers
- }
-define host{
- use generic-host
- host_name shack-modem
- parents shack-gw
- alias Shack Telecom VDSL Router
- address 192.168.2.1
- hostgroups shack-rz
- }
-define host{
- use generic-host
- host_name shack-externswitch
- parents shack-gw
- alias Shack External Switch (2.OG)
- address 10.0.10.2
- hostgroups shack-rz
- }
-
-define service {
- host_name shack-gw
- service_description DNS Service
- use generic-service
- check_command check_dns
- }
-define host{
- use generic-host
- host_name shack-coreswitch
- alias Shack Cisco Router Coreswitch
- address 10.42.0.3
- hostgroups shack-rz,ssh-servers
- }
-define host{
- use generic-host
- host_name shack-serverswitch
- parents shack-coreswitch
- alias Shack Cisco Router Serverswitch
- address 10.42.0.4
- hostgroups shack-rz
- }
-
-define host{
- use generic-host
- host_name shack-wlan-ap1
- parents shack-coreswitch
- alias Shack Wlan Access Point 1
- address 10.42.0.5
- hostgroups wlan-ap
- }
-define host{
- use generic-host
- host_name shack-wlan-ap2
- parents shack-coreswitch
- alias Shack Wlan Access Point 2
- address 10.42.0.6
- hostgroups wlan-ap
- }
-define host{
- use generic-host
- host_name shack-wlan-ap3
- parents shack-coreswitch
- alias Shack Wlan Access Point 3
- address 10.42.0.7
- hostgroups wlan-ap
- }
-define host{
- use generic-host
- host_name shack-wlan-ap4
- parents shack-coreswitch
- alias Shack Wlan Access Point 4
- address 10.42.0.8
- hostgroups wlan-ap
- }
-define host{
- use generic-host
- host_name shack-wlan-ap5
- parents shack-coreswitch
- alias Shack Wlan Access Point 5
- address 10.42.0.9
- hostgroups wlan-ap
- }
-#
-# Voip Infrastructure
-#
-define host{
- use generic-host
- host_name shack-voip
- alias Shack Cisco VOIP Gateway
- address 10.42.0.2
- parents shack-coreswitch
- hostgroups shack-rz,http-servers
- }
-
-define service{
- host_name shack-voip
- service_description SIP Service
- use generic-service
- check_command check_sip
- }
-
-
-
-
-
-#
-# Shack DNS Server
-#
-
-define host{
- use generic-host
- host_name shack-dns
- parents shack-zetbox
- alias Shack DNS Virtual Host
- address 10.42.0.100
- hostgroups shack-rz
- }
-define service {
- host_name shack-dns
- service_description DNS Service
- use generic-service
- check_command check_dns_shack
- }
-
-define host{
- use generic-host
- host_name shack-pxe
- parents shack-zetbox
- alias Shack PXEBoot Vhost
- address pxeboot.shack
- hostgroups shack-rz
- }
-
-define host{
- use generic-host
- host_name shack-printsrv
- parents shack-node1
- alias Shack Print Server
- address printer.shack
- hostgroups shack-rz
- }
-
-define host{
- use generic-host
- host_name shack-aptproxy
- parents shack-zetbox
- alias Shack Apt-proxy
- address aptproxy.shack
- hostgroups shack-rz
- }
-
-define host{
- use generic-host
- host_name shack-shack
- parents shack-node1
- alias Shack Data Exchange
- address shack.shack
- hostgroups shack-rz,ssh-servers
- }
-
-#
-# shack ldap server
-#
-define host{
- use generic-host
- host_name shack-ldap
- parents shack-zetbox
- alias Shack LDAP Server
- address ldap.shack
- hostgroups shack-rz
- }
-define service {
- host_name shack-ldap
- service_description LDAP Service
- use generic-service
- check_command check_ldap!shammunity
- }
-
diff --git a/modules/Monitoring/conf/shacknet.cfg b/modules/Monitoring/conf/shacknet.cfg
deleted file mode 100644
index 7658ab80..00000000
--- a/modules/Monitoring/conf/shacknet.cfg
+++ /dev/null
@@ -1,34 +0,0 @@
-define hostgroup {
- hostgroup_name shack-rz
- alias Shack RZ Infrastructure
- }
-define hostgroup {
- hostgroup_name wlan-ap
- alias Shack Wlan Access Points
- }
-define hostextinfo{
- hostgroup_name wlan-ap
- notes Access Points for Shack
- icon_image krebs/wireless_access_point.png
- icon_image_alt wireless_access_point
- vrml_image wireless_access_point.png
- statusmap_image krebs/wireless_access_point.gd2
- }
-define hostextinfo{
- hostgroup_name shack-rz
- notes Shack RZ Infrastructure
- icon_image krebs/shack.png
- icon_image_alt shack-RZ
- vrml_image shack.png
- statusmap_image krebs/shack.gd2
- }
-
-define command {
- command_name check_sip
- command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 5060
- }
-
-define command {
- command_name check_dns_shack
- command_line $USER1$/check_dns -H shack.shack -s '$HOSTADDRESS$'
- }
diff --git a/modules/Monitoring/conf/tinc_hosts.cfg b/modules/Monitoring/conf/tinc_hosts.cfg
deleted file mode 100644
index 23c2b75e..00000000
--- a/modules/Monitoring/conf/tinc_hosts.cfg
+++ /dev/null
@@ -1,45 +0,0 @@
-#connection will not work if no internet is available (e.g. no shack-gateway)
-
-#
-# Miefda Supernode
-#
-define host{
- use generic-host
- host_name supernode
- alias Supernode External
- _TINC_ADDRESS 10.7.7.1
- address miefda.org
- parents shack-modem
- hostgroups tinc-nodes,ssh-servers,http-servers
- }
-
-define service {
- host_name supernode
- service_description IRC
- use generic-service
- check_command check_ircd
- }
-#
-# Sharepoint (dhbw-stuttgart)
-#
-define host{
- use generic-host
- host_name sharepoint
- alias PA Sharepoint
- address 141.31.8.11
- _TINC_ADDRESS 10.7.7.5
- parents shack-modem
- hostgroups tinc-nodes,ssh-servers
- }
-#
-# Leechi
-#
-define host{
- use generic-host
- host_name leechi
- alias no_omo
- address leechi.kicks-ass.org
- _TINC_ADDRESS 10.7.7.111
- parents shack-modem
- hostgroups tinc-nodes,ssh-servers,http-servers
- }
diff --git a/modules/Monitoring/conf/tincnet.cfg b/modules/Monitoring/conf/tincnet.cfg
deleted file mode 100644
index f0b35b4e..00000000
--- a/modules/Monitoring/conf/tincnet.cfg
+++ /dev/null
@@ -1,31 +0,0 @@
-define hostgroup {
- hostgroup_name tinc-nodes
- alias Tinc Nodes
- }
-
-define hostextinfo{
- hostgroup_name tinc-nodes
- notes Tinc Nodes
- icon_image krebs/tinc.png
- icon_image_alt tinc
- vrml_image tinc.png
- statusmap_image krebs/tinc.gd2
- }
-
-define command {
- command_name check_internal_tinc_up
- command_line $USER1$/check_ping -H $_HOSTTINC_ADDRESS$ -w $ARG1$ -c $ARG2$
- }
-define command {
- command_name check_ircd
- command_line $USER1$/check_ircd $_HOSTTINC_ADDRESS$
- }
-
-define service {
- hostgroup_name tinc-nodes
- service_description tinc internal
- check_command check_internal_tinc_up!100.0,20%!500.0,60%
- use generic-service
- notification_interval 0
-}
-