[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
nap
naparuba at gmail.com
Tue Feb 28 22:09:08 UTC 2012
The following commit has been merged in the debian/master branch:
commit 9b62c08c0d0e27d2e4c4d65437d4413ad40e5a87
Author: nap <naparuba at gmail.com>
Date: Sun Dec 18 15:02:13 2011 +0100
Add : hp printer service with template link.
diff --git a/etc/services/printers/hp/state.cfg b/etc/services/printers/hp/state.cfg
new file mode 100644
index 0000000..ab0cb7b
--- /dev/null
+++ b/etc/services/printers/hp/state.cfg
@@ -0,0 +1,7 @@
+define service{
+ service_description State
+ use generic-service
+ register 0
+ host_name printer-hp
+ check_command check_hpjd
+}
diff --git a/etc/templates.cfg b/etc/templates.cfg
index 2905d44..97907f3 100644
--- a/etc/templates.cfg
+++ b/etc/templates.cfg
@@ -174,7 +174,7 @@ define host{
-# Routers
+####### Routers
define host{
name router
use generic-host
@@ -182,12 +182,22 @@ define host{
register 0
}
-define printer{
+
+
+####### Printers
+define host{
name printer
use generic-host
check_command check_ping
register 0
- notification_period workhours
+ # No need for notify for a printer problem when there is no users
+ notification_period workhours
+}
+
+define host{
+ name printer-hp
+ use printer
+ register 0
}
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list