Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (22 sloc) 0.842 kb
# Here are some examples for tagging hosts with classic templates
# The generic-host should be AT THE END, because templates are built
# from more specific to generic
define discoveryrule {
discoveryrule_name HostGeneric
creation_type host
# Generic host should be the last template use, so we give it the
# last order
discoveryrule_order 999
isup 1
+use generic-host
# Example for service creation.
# Obviously the 77777 port is not valid :)
# This shows how to create a service with a rule
define discoveryrule {
discoveryrule_name Sample-Service
openports ^77777$
check_command check_dummy
service_description Sample-Service
use generic-service
Jump to Line
Something went wrong with that request. Please try again.