[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Naparuba naparuba at gmail.com
Tue Feb 28 22:11:43 UTC 2012


The following commit has been merged in the debian/master branch:
commit ecd391bd85b81968d193a06b13715c028d018a3f
Author: Naparuba <naparuba at gmail.com>
Date:   Tue Jan 3 16:47:28 2012 +0100

    Add : active directory DC template.

diff --git a/etc/packs/dc/commands.cfg b/etc/packs/dc/commands.cfg
new file mode 100644
index 0000000..495b00f
--- /dev/null
+++ b/etc/packs/dc/commands.cfg
@@ -0,0 +1,6 @@
+# Active Directory checks
+define command {
+       command_name	check_ad_replications
+       command_line	$PLUGINSDIR$/check_wmi_plus.pl -H $HOSTADDRESS$ -u "$_HOSTDOMAINUSER$" -p "$_HOSTDOMAINPASSWORD$" -m checkad -s replication -w 0 --nodatamode
+}
+
diff --git a/etc/packs/dc/replications.cfg b/etc/packs/dc/replications.cfg
new file mode 100644
index 0000000..94d09a9
--- /dev/null
+++ b/etc/packs/dc/replications.cfg
@@ -0,0 +1,7 @@
+define service{
+   service_description	ADReplications
+   use            	generic-service
+   register       	0
+   host_name	  	dc
+   check_command  	check_ad_replications
+}
diff --git a/etc/packs/ftp/templates.cfg b/etc/packs/dc/templates.cfg
similarity index 75%
copy from etc/packs/ftp/templates.cfg
copy to etc/packs/dc/templates.cfg
index 23574d0..e74cdec 100644
--- a/etc/packs/ftp/templates.cfg
+++ b/etc/packs/dc/templates.cfg
@@ -1,5 +1,5 @@
 define host{
-   name           ftp
+   name           dc
    use            generic-host
    register       0
 }
diff --git a/etc/templates.cfg b/etc/templates.cfg
index 6a77ec6..20fc6a4 100644
--- a/etc/templates.cfg
+++ b/etc/templates.cfg
@@ -59,11 +59,6 @@ define host{
 }
 
 
-define host{
-   name           dc
-   use            generic-host
-   register       0
-}
 
 define host{
    name           exchange

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list