[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
Naparuba
naparuba at gmail.com
Tue Feb 28 22:11:57 UTC 2012
The following commit has been merged in the debian/master branch:
commit dc083b38b9d014035685c0eb49b77c69030acdd5
Author: Naparuba <naparuba at gmail.com>
Date: Wed Jan 4 17:04:39 2012 +0100
Add : some exchange templates.
diff --git a/etc/packs/exchange/commands.cfg b/etc/packs/exchange/commands.cfg
new file mode 100644
index 0000000..3f8ad5e
--- /dev/null
+++ b/etc/packs/exchange/commands.cfg
@@ -0,0 +1,29 @@
+#### Windows Exchange commands
+
+# Mainly for Hub Transport server
+define command {
+ command_name check_exchange_hub_transport_activity
+ command_line $PLUGINSDIR$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$_HOSTDOMAINUSER$" -p "$_HOSTDOMAINPASSWORD$" -m checkexchange -s HubTransportServer
+}
+
+define command {
+ command_name check_exchange_hub_transport_queues
+ command_line $PLUGINSDIR$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$_HOSTDOMAINUSER$" -p "$_HOSTDOMAINPASSWORD$" -m checkexchange -s TransportQueues
+}
+
+define command {
+ command_name check_exchange_db_activity
+ command_line $PLUGINSDIR$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$_HOSTDOMAINUSER$" -p "$_HOSTDOMAINPASSWORD$" -m checkexchange -s DBInstances
+}
+
+define command {
+ command_name check_exchange_smtp_receive
+ command_line $PLUGINSDIR$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$_HOSTDOMAINUSER$" -p "$_HOSTDOMAINPASSWORD$" -m checkexchange -s SmtpReceive
+}
+
+define command {
+ command_name check_exchange_smtp_send
+ command_line $PLUGINSDIR$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$_HOSTDOMAINUSER$" -p "$_HOSTDOMAINPASSWORD$" -m checkexchange -s SmtpSend
+}
+
+
diff --git a/etc/packs/dns/templates.cfg b/etc/packs/exchange/exchange-cas/templates.cfg
similarity index 56%
copy from etc/packs/dns/templates.cfg
copy to etc/packs/exchange/exchange-cas/templates.cfg
index 7616f62..612fb18 100644
--- a/etc/packs/dns/templates.cfg
+++ b/etc/packs/exchange/exchange-cas/templates.cfg
@@ -1,5 +1,6 @@
define host{
- name dns
+ name exchange-cas
use generic-host
register 0
+ use exchange
}
diff --git a/etc/packs/exchange/exchange-ht/db_activity.cfg b/etc/packs/exchange/exchange-ht/db_activity.cfg
new file mode 100644
index 0000000..9eda5cf
--- /dev/null
+++ b/etc/packs/exchange/exchange-ht/db_activity.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description HubTransportQueues
+ use generic-service
+ register 0
+ host_name exchange-ht
+ check_command check_exchange_db_activity
+}
diff --git a/etc/packs/exchange/exchange-ht/ht_activity.cfg b/etc/packs/exchange/exchange-ht/ht_activity.cfg
new file mode 100644
index 0000000..dd6f702
--- /dev/null
+++ b/etc/packs/exchange/exchange-ht/ht_activity.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description HubTransportActivity
+ use generic-service
+ register 0
+ host_name exchange-ht
+ check_command check_exchange_hub_transport_activity
+}
diff --git a/etc/packs/exchange/exchange-ht/smtp_receive.cfg b/etc/packs/exchange/exchange-ht/smtp_receive.cfg
new file mode 100644
index 0000000..2af51f7
--- /dev/null
+++ b/etc/packs/exchange/exchange-ht/smtp_receive.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description SmtpReceive
+ use generic-service
+ register 0
+ host_name exchange-ht
+ check_command check_exchange_smtp_receive
+}
diff --git a/etc/packs/exchange/exchange-ht/smtp_send.cfg b/etc/packs/exchange/exchange-ht/smtp_send.cfg
new file mode 100644
index 0000000..7b0da1a
--- /dev/null
+++ b/etc/packs/exchange/exchange-ht/smtp_send.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description SmtpSend
+ use generic-service
+ register 0
+ host_name exchange-ht
+ check_command check_exchange_smtp_send
+}
diff --git a/etc/packs/dns/templates.cfg b/etc/packs/exchange/exchange-ht/templates.cfg
similarity index 57%
copy from etc/packs/dns/templates.cfg
copy to etc/packs/exchange/exchange-ht/templates.cfg
index 7616f62..9d9b81c 100644
--- a/etc/packs/dns/templates.cfg
+++ b/etc/packs/exchange/exchange-ht/templates.cfg
@@ -1,5 +1,6 @@
define host{
- name dns
+ name exchange-ht
use generic-host
register 0
+ use exchange
}
diff --git a/etc/packs/exchange/exchange-ht/transport_queues.cfg b/etc/packs/exchange/exchange-ht/transport_queues.cfg
new file mode 100644
index 0000000..bcf7858
--- /dev/null
+++ b/etc/packs/exchange/exchange-ht/transport_queues.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description HubTransportQueues
+ use generic-service
+ register 0
+ host_name exchange-ht
+ check_command check_exchange_hub_transport_queues
+}
diff --git a/etc/packs/dns/templates.cfg b/etc/packs/exchange/exchange-mb/templates.cfg
similarity index 57%
copy from etc/packs/dns/templates.cfg
copy to etc/packs/exchange/exchange-mb/templates.cfg
index 7616f62..a323a16 100644
--- a/etc/packs/dns/templates.cfg
+++ b/etc/packs/exchange/exchange-mb/templates.cfg
@@ -1,5 +1,6 @@
define host{
- name dns
+ name exchange-mb
use generic-host
register 0
+ use exchange
}
diff --git a/etc/packs/dns/templates.cfg b/etc/packs/exchange/exchange-um/templates.cfg
similarity index 57%
copy from etc/packs/dns/templates.cfg
copy to etc/packs/exchange/exchange-um/templates.cfg
index 7616f62..59414e7 100644
--- a/etc/packs/dns/templates.cfg
+++ b/etc/packs/exchange/exchange-um/templates.cfg
@@ -1,5 +1,6 @@
define host{
- name dns
+ name exchange-um
use generic-host
register 0
+ use exchange
}
diff --git a/etc/packs/ftp/templates.cfg b/etc/packs/exchange/templates.cfg
similarity index 70%
copy from etc/packs/ftp/templates.cfg
copy to etc/packs/exchange/templates.cfg
index 23574d0..47a2bd4 100644
--- a/etc/packs/ftp/templates.cfg
+++ b/etc/packs/exchange/templates.cfg
@@ -1,5 +1,5 @@
define host{
- name ftp
+ name exchange
use generic-host
register 0
}
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list