Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 Without rules, the raw data that is being generated by the discovery scripts is useless. The rules are defined in the /etc/shinken/discovery_rules.cfg file.


Here is an example of how to create

...

the ftp host template host for anything that is detected by nmap with the TCP/21 port open:
Code Block
define discoveryrule {
   discoveryrule_name         FtpRule
   creation_type              host
   openports                  ^21$
   +use                        ftp
}

...