Ajout de l'autostatus
Ignore-this: 28f730e3a08847b5280607dfe13a5673 darcs-hash:20120807175618-108b1-c2d317c1d8e18b74b9395c2a195be76071c4f19b.gz
This commit is contained in:
parent
2053f123d7
commit
294b367823
4 changed files with 23 additions and 0 deletions
5
Bundler/autostatus.xml
Normal file
5
Bundler/autostatus.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<Bundle name="autostatus" version="2.0">
|
||||||
|
<ConfigFile name="/etc/cron.d/autostatus"/>
|
||||||
|
<ConfigFile name="/etc/autostatus.conf"/>
|
||||||
|
<Package name="autostatus"/>
|
||||||
|
</Bundle>
|
11
Cfg/etc/autostatus.conf/autostatus.conf
Executable file
11
Cfg/etc/autostatus.conf/autostatus.conf
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
#! /usr/bin/autostatus
|
||||||
|
#
|
||||||
|
statusfile /usr/scripts/var/autostatus/local.status
|
||||||
|
hostfile /usr/scripts/var/autostatus/hosts
|
||||||
|
baseurl http://www.crans.org/autostatus
|
||||||
|
iconurl http://www.crans.org/autostatus/icons
|
||||||
|
outpage /usr/scripts/var/autostatus/local.html
|
||||||
|
email root@crans.org
|
||||||
|
emerg root@crans.org
|
||||||
|
content_subject on
|
||||||
|
emailsubject [Autostatus]
|
1
Cfg/etc/cron.d/autostatus/autostatus
Normal file
1
Cfg/etc/cron.d/autostatus/autostatus
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0-58/2 * * * * root if [ -x /usr/bin/autostatus ]; then LC_ALL=fr_FR.UTF-8 /usr/bin/autostatus /etc/autostatus.conf >/dev/null 2>/dev/null ; fi
|
|
@ -76,6 +76,7 @@
|
||||||
<Group name="dyson"
|
<Group name="dyson"
|
||||||
profile="true">
|
profile="true">
|
||||||
<Group name="crans-squeeze"/>
|
<Group name="crans-squeeze"/>
|
||||||
|
<Group name="autostatus"/>
|
||||||
<Group name="sniffer"/>
|
<Group name="sniffer"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
@ -764,6 +765,11 @@
|
||||||
<Bundle name="rsyslog"/>
|
<Bundle name="rsyslog"/>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
|
<Group name="autostatus"
|
||||||
|
comment="Serveurs qui gènèrent la page d'autostatus">
|
||||||
|
<Bundle name="autostatus"/>
|
||||||
|
</Group>
|
||||||
|
|
||||||
<!-- +=================================+ -->
|
<!-- +=================================+ -->
|
||||||
<!-- | Tous les groupes intermediaires | -->
|
<!-- | Tous les groupes intermediaires | -->
|
||||||
<!-- +=================================+ -->
|
<!-- +=================================+ -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue