diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-04 22:54:49 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-04 22:54:49 +0200 |
commit | b74ea32070492c251943d69a09265463cc9866ed (patch) | |
tree | 080bd9c8eb0b53491e118bdfed29f7cd61126bfe /config/pdv/servers.disabled/20_spec_cluster.cfg | |
download | pdvnagios-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/20_spec_cluster.cfg')
-rw-r--r-- | config/pdv/servers.disabled/20_spec_cluster.cfg | 34 |
1 files changed, 34 insertions, 0 deletions
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$" +} |