parent
2f1d6ef939
commit
fc128adf24
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
title=tinystatus
|
title=tinystatus
|
||||||
|
header="Global Status"
|
||||||
timeout=10
|
timeout=10
|
||||||
tmp="$(mktemp -d)"
|
tmp="$(mktemp -d)"
|
||||||
checkfile="${1:-checks.csv}"
|
checkfile="${1:-checks.csv}"
|
||||||
|
@ -83,7 +84,7 @@ li { list-style: none; margin-bottom: 2px; padding: 5px; border-bottom: 1px soli
|
||||||
</style></head>
|
</style></head>
|
||||||
<body>
|
<body>
|
||||||
<div class='container'>
|
<div class='container'>
|
||||||
<h1>Global status</h1>
|
<h1>${header}</h1>
|
||||||
EOF
|
EOF
|
||||||
outagenb="$(find "${tmp}/ko" -mindepth 1 | grep -c 'status$')"
|
outagenb="$(find "${tmp}/ko" -mindepth 1 | grep -c 'status$')"
|
||||||
if [ "${outagenb}" -ne 0 ]; then
|
if [ "${outagenb}" -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue