Versions Compared

Key

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

Shinken Enterprise allows you to detect network checks and physical type of your servers located in your IT.

Edit and add new network scan list

The network scan can be setup directly in the Adminstration Interface. First click on the disocvery source in the home page.

...

Adding a new scan will automatically enable it and your new hosts or your new tags will appears in a few minutes.

 

Add new port to host template rule

 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 add 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
}



There are three main parts for a rule:

  • discoveryrule_nameshould be unique
  • creation_type: should be host
  • openports: regexp about the port that will be match. The and $ is for the regexp thing, so 21 and only 21 will be match, and not 210 for example.
     
  • +use: This mentions the template from which the generated object will inherit from. You can add as many properties as you want.