[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-isolement"/>
|
||||||
<Group name="vlan-ens"/>
|
<Group name="vlan-ens"/>
|
||||||
<Group name="portail-captif"/>
|
<Group name="portail-captif"/>
|
||||||
|
<Group name="igmpproxy" />
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Group name="puppet"
|
<Group name="puppet"
|
||||||
|
@ -1370,6 +1371,9 @@
|
||||||
<!-- rien à implémenter pour le moment -->
|
<!-- rien à implémenter pour le moment -->
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
<Group name="igmpproxy" comment="Routage du multicast, binaire installé main.
|
||||||
|
Ce paquet sert principalement à monit"/>
|
||||||
|
|
||||||
<Group name="sniffer"
|
<Group name="sniffer"
|
||||||
comment="Le serveur qui surveille le réseau">
|
comment="Le serveur qui surveille le réseau">
|
||||||
<Group name="arpwatch" />
|
<Group name="arpwatch" />
|
||||||
|
|
|
@ -248,13 +248,7 @@ for i in range(0,dernierecarte):
|
||||||
@ if timestamp > 15 minutes then alert
|
@ if timestamp > 15 minutes then alert
|
||||||
@
|
@
|
||||||
|
|
||||||
if hostname in ['routeur']:
|
service('igmpproxy')
|
||||||
@# 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
|
|
||||||
@
|
|
||||||
|
|
||||||
if hostname == 'zamok':
|
if hostname == 'zamok':
|
||||||
@# print_status
|
@# print_status
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue