diff options
-rw-r--r-- | remote/lib/README.txt | 15 | ||||
-rwxr-xr-x | remote/netstat.sh | 2 |
2 files changed, 14 insertions, 3 deletions
diff --git a/remote/lib/README.txt b/remote/lib/README.txt index f023131..c5998f8 100644 --- a/remote/lib/README.txt +++ b/remote/lib/README.txt @@ -17,5 +17,18 @@ conky format - Server traffic in/out/forw. Yellow/Red if above specified threshold. No additional errors are reported here. - + + - Services (operated by local scripts in 'services' directory) + * Online + * Healthy + [headers] Information about service operation + [errors] Short information on critical errors are reported here (in conky, we push everything in the text section) + + ... Larger textual information about the problems. + + + Service format is following (status is on the last line and mandatory): + * Critical Lines starting with '*' contain critical errors and highlighted (remote) / reported in the service table (conky) + Text This is normal problem description reported in the textual area + # # [header] Two statuses (0 - error, 1 - ok, 2 - warning) and optional header with information about service operation
\ No newline at end of file diff --git a/remote/netstat.sh b/remote/netstat.sh index f2d1927..c6c9561 100755 --- a/remote/netstat.sh +++ b/remote/netstat.sh @@ -2,8 +2,6 @@ . lib/status.sh - - decorate "Incomming:" purple; echo scripts/netstat-in.sh | grep -v "android-d855cbd1c9f827d" | grep -v "pdv-time-capsule-2.ipe.kit.edu" | column -t |