summaryrefslogtreecommitdiffstats
path: root/config/pdv/servers.disabled
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:54:49 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-04 22:54:49 +0200
commitb74ea32070492c251943d69a09265463cc9866ed (patch)
tree080bd9c8eb0b53491e118bdfed29f7cd61126bfe /config/pdv/servers.disabled
downloadpdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.gz
pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.bz2
pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.tar.xz
pdvnagios-b74ea32070492c251943d69a09265463cc9866ed.zip
Cleaned configuration for PDV infrastructure (incomplete) integrated with my Conky monitoring scriptsHEADmaster
Diffstat (limited to 'config/pdv/servers.disabled')
-rw-r--r--config/pdv/servers.disabled/20_spec_appserver.cfg33
-rw-r--r--config/pdv/servers.disabled/20_spec_cluster.cfg34
-rw-r--r--config/pdv/servers.disabled/20_spec_compute.cfg13
-rw-r--r--config/pdv/servers.disabled/20_spec_win_nsclients.cfg26
-rw-r--r--config/pdv/servers.disabled/kaas_cluster.cfg51
-rw-r--r--config/pdv/servers.disabled/pdv_cluster.cfg108
6 files changed, 265 insertions, 0 deletions
diff --git a/config/pdv/servers.disabled/20_spec_appserver.cfg b/config/pdv/servers.disabled/20_spec_appserver.cfg
new file mode 100644
index 0000000..83d43c4
--- /dev/null
+++ b/config/pdv/servers.disabled/20_spec_appserver.cfg
@@ -0,0 +1,33 @@
+define hostgroup {
+ hostgroup_name app-servers
+ alias Application Servers
+ register 0
+}
+
+define service {
+ use ssh-service
+ hostgroup_name app-servers
+ service_description CPU
+ check_command check_ssh_load!16.0,8.0,4.0!24.0,16.0,8.0
+}
+
+define service {
+ use ssh-service
+ hostgroup_name app-servers
+ service_description MEMORY
+ check_command check_ssh_mem!50!80
+}
+
+define service {
+ use ssh-service
+ hostgroup_name app-servers
+ service_description SWAP
+ check_command check_ssh_swap!20!10
+}
+
+define service {
+ use ssh-service
+ hostgroup_name app-servers
+ service_description DISK
+ check_command check_ssh_all_disks!20%!10%
+}
diff --git a/config/pdv/servers.disabled/20_spec_cluster.cfg b/config/pdv/servers.disabled/20_spec_cluster.cfg
new file mode 100644
index 0000000..1ca04cb
--- /dev/null
+++ b/config/pdv/servers.disabled/20_spec_cluster.cfg
@@ -0,0 +1,34 @@
+define host {
+ name ib-switch
+ use switch
+ check_command check_ib_node!$_HOSTMASTER_IP$
+ register 0
+ _MASTER_IP 192.168.26.133
+}
+
+define host {
+ name ib-server
+ use ib-switch
+ register 0
+}
+
+define host {
+ name kaas-switch
+ use ib-switch
+ register 0
+ _MASTER_IP kaas.kit.edu
+}
+
+define host {
+ name kaas-server
+ use kaas-switch
+ register 0
+}
+
+
+# This is not available (really) and I have not found a way to ping IB addresses (without running ib-ping server which will
+# not work with switches). Anyway, why we even need that? We can map using normal IP addresses.
+define command {
+ command_name check_ib_node
+ command_line $USER2$/check_by_ssh -H $ARG1$ -p $ARG2$ -l $ARG3$ -C "/opt/scripts/nagios_ib_node.sh $HOSTADDRESS$"
+}
diff --git a/config/pdv/servers.disabled/20_spec_compute.cfg b/config/pdv/servers.disabled/20_spec_compute.cfg
new file mode 100644
index 0000000..741b594
--- /dev/null
+++ b/config/pdv/servers.disabled/20_spec_compute.cfg
@@ -0,0 +1,13 @@
+define hostgroup {
+ hostgroup_name compute-servers
+ alias Compute Servers
+}
+
+define service {
+ use ssh-service
+ hostgroup_name compute-servers
+ service_description DISK
+ check_command check_ssh_all_disks!20%!10%
+}
+
+
diff --git a/config/pdv/servers.disabled/20_spec_win_nsclients.cfg b/config/pdv/servers.disabled/20_spec_win_nsclients.cfg
new file mode 100644
index 0000000..f6def62
--- /dev/null
+++ b/config/pdv/servers.disabled/20_spec_win_nsclients.cfg
@@ -0,0 +1,26 @@
+define hostgroup {
+ hostgroup_name nsclients
+ alias Windows Systems
+ register 0
+}
+
+define service {
+ use pdv-service
+ hostgroup_name nsclients
+ service_description CPU
+ check_command check_nt!CPULOAD!-l 5,80,90
+}
+
+define service {
+ use pdv-service
+ hostgroup_name nsclients
+ service_description MEMORY
+ check_command check_nt!MEMUSE!-w 80 -c 90
+}
+
+define service {
+ use pdv-service
+ hostgroup_name nsclients
+ service_description DISK C:
+ check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
+}
diff --git a/config/pdv/servers.disabled/kaas_cluster.cfg b/config/pdv/servers.disabled/kaas_cluster.cfg
new file mode 100644
index 0000000..96aa04c
--- /dev/null
+++ b/config/pdv/servers.disabled/kaas_cluster.cfg
@@ -0,0 +1,51 @@
+
+
+define host {
+ host_name kaas-main-switch
+ use kaas-switch
+ address 0x248a0703007b3440
+ parents kaas
+}
+
+define host {
+ host_name kaas-storage-1
+ use kaas-server
+ address 0x248a070300e42d91
+ parents kaas-main-switch
+}
+
+define host {
+ host_name kaas-storage-2
+ use kaas-server
+ address 0x248a070300e42ce1
+ parents kaas-main-switch
+}
+
+define host {
+ host_name kaas-storage-3
+ use kaas-server
+ address 0xf452140300706571
+ parents kaas-main-switch
+}
+
+define host {
+ host_name kaas-node-1
+ use kaas-server
+ address 0x248a070300e42d01
+ parents kaas-main-switch
+}
+
+define host {
+ host_name kaas-node-2
+ use kaas-server
+ address 0x248a070300e42d11
+ parents kaas-main-switch
+}
+
+define host {
+ host_name kaas-node-3
+ use kaas-server
+ address 0xf4521403007062d1
+ parents kaas-main-switch
+
+}
diff --git a/config/pdv/servers.disabled/pdv_cluster.cfg b/config/pdv/servers.disabled/pdv_cluster.cfg
new file mode 100644
index 0000000..1428ed2
--- /dev/null
+++ b/config/pdv/servers.disabled/pdv_cluster.cfg
@@ -0,0 +1,108 @@
+define host {
+ host_name ib-data-switch
+ use ib-switch
+ address 0x0002c90200454b58
+ parents ipepdvarchive
+}
+
+define host {
+ host_name ib-compute-switch
+ use ib-switch
+ address 0x0002c90200469180
+ parents ib-data-switch
+}
+
+define host {
+ host_name ib-upper-switch
+ use ib-switch
+ address 0x0002c90200454b58
+ parents ib-data-switch
+}
+
+# ipekatrinadei
+define host {
+ host_name ands-storage0
+ use ib-server
+ address 0x0002c90300502d35
+ parents ib-data-switch
+}
+
+# ands1
+define host {
+ host_name ands-storage1
+ use ib-server
+ address 0x000000000000000
+ parents ib-data-switch
+}
+
+define host {
+ host_name ands-virt1
+ use ib-server
+ address 0x000000000000000
+ parents ib-upper-switch
+}
+
+define host {
+ host_name ands-virt2
+ use ib-server
+ address 0x0002c90300f97f01
+ parents ib-data-switch
+}
+
+define host {
+ host_name ands-compute1
+ use ib-server
+ address 0x000000000000000
+ parents ib-data-switch
+}
+
+define host {
+ host_name ands-compute2
+ use ib-server
+ address 0x000000000000000
+ parents ib-data-switch
+}
+
+define host {
+ host_name ands-compute3
+ use ib-server
+ address 0x000000000000000
+ parents ib-data-switch
+}
+
+define host {
+ host_name ands-compute4
+ use ib-server
+ address 0x000000000000000
+ parents ib-data-switch
+}
+
+
+
+define host {
+ host_name ib-compute1
+ use ib-server
+ address 0x000000000000000
+ parents ib-compute-switch
+}
+
+define host {
+ host_name ib-compute2
+ use ib-server
+ address 0x000000000000000
+ parents ib-compute-switch
+}
+
+define host {
+ host_name ib-compute3
+ use ib-server
+ address 0x000000000000000
+ parents ib-compute-switch
+}
+
+define host {
+ host_name ib-compute4
+ use ib-server
+ address 0x000000000000000
+ parents ib-compute-switch
+}