[wiki/hoststatus] allez l'iso, allez, allez!
darcs-hash:20100630091703-bd074-92cdb0ad1bd7f781b041a9723d5030da6aae5d4a.gz
This commit is contained in:
parent
2601c1385b
commit
e8ce8b1e01
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ def execute(macro, text) :
|
||||||
line = lines[0].split(' ')
|
line = lines[0].split(' ')
|
||||||
trucsdown += f.table_row(1)
|
trucsdown += f.table_row(1)
|
||||||
trucsdown += f.table_cell(1,{'style':'background-color:lightgrey; color: black;'})
|
trucsdown += f.table_cell(1,{'style':'background-color:lightgrey; color: black;'})
|
||||||
trucsdown += unicode(f.text('%s (%s)' % (line [0], getoutput("grep '^%s[^-.a-zA-Z]' /usr/scripts/var/autostatus/hosts | cut -d ' ' -f 5-" % line [0])) ), "utf-8")
|
trucsdown += unicode(f.text('%s (%s)' % (line [0], getoutput("grep '^%s[^-.a-zA-Z]' /usr/scripts/var/autostatus/hosts | cut -d ' ' -f 5-" % line [0])) ), "iso-8859-15")
|
||||||
trucsdown += f.table_cell(0)
|
trucsdown += f.table_cell(0)
|
||||||
# nombre de non réponse au ping
|
# nombre de non réponse au ping
|
||||||
if int(line[1]) > 2 :
|
if int(line[1]) > 2 :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue