[monit] igmpproxy mérite sa rationalisation
This commit is contained in:
parent
45114d90f5
commit
1b50a7da9a
2 changed files with 5 additions and 7 deletions
|
@ -389,6 +389,7 @@
|
|||
<Group name="vlan-isolement"/>
|
||||
<Group name="vlan-ens"/>
|
||||
<Group name="portail-captif"/>
|
||||
<Group name="igmpproxy" />
|
||||
</Group>
|
||||
|
||||
<Group name="puppet"
|
||||
|
@ -1370,6 +1371,9 @@
|
|||
<!-- rien à implémenter pour le moment -->
|
||||
</Group>
|
||||
|
||||
<Group name="igmpproxy" comment="Routage du multicast, binaire installé main.
|
||||
Ce paquet sert principalement à monit"/>
|
||||
|
||||
<Group name="sniffer"
|
||||
comment="Le serveur qui surveille le réseau">
|
||||
<Group name="arpwatch" />
|
||||
|
|
|
@ -248,13 +248,7 @@ for i in range(0,dernierecarte):
|
|||
@ if timestamp > 15 minutes then alert
|
||||
@
|
||||
|
||||
if hostname in ['routeur']:
|
||||
@# igmpproxy
|
||||
@check process igmpproxy with pidfile /var/run/igmpproxy.pid
|
||||
@ start program = "/etc/init.d/igmpproxy start"
|
||||
@ stop program = "/etc/init.d/igmpproxy stop"
|
||||
@ if 5 restarts within 5 cycles then timeout
|
||||
@
|
||||
service('igmpproxy')
|
||||
|
||||
if hostname == 'zamok':
|
||||
@# print_status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue