Pour quoi estèce fait ? | |||||
Vous pouvez définir un tagger qui utilise les plages IP pour détecter automatiquement des éléments et leur appliquer une règle | |||||
Comment définir unenouvelle règle | |||||
Pour chaque règle, vous devez définir un nouveau module et l'ajouter dans la configuration ip-tags . Vous pouvez copier l'exemple | |||||
What IP range based tagger is done for | |||||
You can define a tagger that will use IP ranges to automatically add host templates to detected objects. The common tagger named ip-tags can load new ip range rules with modules. | |||||
How to define a new IP Range rule | |||||
For each IP range rule, you will need to define a new module and add it in the ip-tags configuration. You can copy the sample module /etc/shinken/modules/ip-tag-dmz.cfg into a new file name and edit it: et le modifier
The properties areLes propriétés sont :
Vous devez ensuite éditer la définition du tagger pour la lier au nouveau module dans le fichier Then you must edit the ip-tags tagger definition to link your new module in the file /etc/shinken/taggers/ip-tags.cfg:
Then you must restart your shinken-synchronizer daemonVous devez ensuite redémarrer votre synchronizer.
| |||||