[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
nap
naparuba at gmail.com
Tue Feb 28 22:13:43 UTC 2012
The following commit has been merged in the debian/master branch:
commit 990820c0eb5eeb7c7f0da8833c0fcd47d944825e
Author: nap <naparuba at gmail.com>
Date: Sat Jan 14 14:16:54 2012 +0100
Add : pop3(s) service pack.
diff --git a/etc/packs/network/services/pop3/commands.cfg b/etc/packs/network/services/pop3/commands.cfg
new file mode 100644
index 0000000..ee7e681
--- /dev/null
+++ b/etc/packs/network/services/pop3/commands.cfg
@@ -0,0 +1,17 @@
+# Look for good pop3 connection
+define command {
+ command_name check_pop3
+ command_line $PLUGINSDIR$/check_pop -H $HOSTADDRESS$
+}
+
+
+# And POP3S too
+define command {
+ command_name check_pop3s
+ command_line $PLUGINSDIR$/check_pop -H $HOSTADDRESS$ -S
+}
+
+define command {
+ command_name check_pop3s_certificate
+ command_line $PLUGINSDIR$/check_pop -H $HOSTADDRESS$ -S -D 30
+}
diff --git a/etc/packs/network/services/pop3/discovery.cfg b/etc/packs/network/services/pop3/discovery.cfg
new file mode 100644
index 0000000..2e1304a
--- /dev/null
+++ b/etc/packs/network/services/pop3/discovery.cfg
@@ -0,0 +1,14 @@
+define discoveryrule {
+ discoveryrule_name Pop3
+ creation_type host
+ openports ^110$
+ +use pop3
+}
+
+
+define discoveryrule {
+ discoveryrule_name Pop3s
+ creation_type host
+ openports ^995$
+ +use pop3s
+}
diff --git a/etc/packs/network/services/pop3/services/pop3.cfg b/etc/packs/network/services/pop3/services/pop3.cfg
new file mode 100644
index 0000000..e7688ca
--- /dev/null
+++ b/etc/packs/network/services/pop3/services/pop3.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description Pop3
+ use generic-service
+ register 0
+ host_name pop3
+ check_command check_pop3
+}
diff --git a/etc/packs/network/services/pop3/services/pop3s.cfg b/etc/packs/network/services/pop3/services/pop3s.cfg
new file mode 100644
index 0000000..e857202
--- /dev/null
+++ b/etc/packs/network/services/pop3/services/pop3s.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description pop3s
+ use generic-service
+ register 0
+ host_name pop3s
+ check_command check_pop3s
+}
diff --git a/etc/packs/network/services/pop3/services/pop3s_certificate.cfg b/etc/packs/network/services/pop3/services/pop3s_certificate.cfg
new file mode 100644
index 0000000..f4e464e
--- /dev/null
+++ b/etc/packs/network/services/pop3/services/pop3s_certificate.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description Pop3sCertificate
+ use generic-service
+ register 0
+ host_name pop3s
+ check_command check_pop3s_certificate
+}
diff --git a/etc/packs/network/services/smtp/templates.cfg b/etc/packs/network/services/pop3/templates.cfg
similarity index 74%
copy from etc/packs/network/services/smtp/templates.cfg
copy to etc/packs/network/services/pop3/templates.cfg
index 05af4df..40a2ed5 100644
--- a/etc/packs/network/services/smtp/templates.cfg
+++ b/etc/packs/network/services/pop3/templates.cfg
@@ -1,12 +1,12 @@
define host{
- name smtp
+ name pop3
use generic-host
register 0
}
define host{
- name smtps
+ name pop3s
use generic-host
register 0
}
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list