Skip to content

Commit

Permalink
Updated README.md and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
romanov committed Sep 5, 2022
1 parent a77a3ba commit 5671f21
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Supported devices:
- Juniper
- Eltex (ESR series)
- MT M716
- Potok KM-122

TODO:
- Extend devices support
Expand All @@ -41,6 +42,17 @@ optional arguments:
Logging path {stdout,FILE}
--version show programs version number and exit
```

## SLA statuses

| Status | Int value | Reccomended color | Description |
| ----------- | ----------- |------------------ |------------ |
| NoData | 0 | Black | No recieved data or parcing error |
| Normal | 1 | Green | Target is available and RTT less then policy |
| Warning | 2 | Yellow | Target is available and RTT bigger then policy |
| Error | 3 | Red | Target is unavailable |
| OutOfService| 4 | Green | Target is available and policy was not defined |

### Install:

```bash
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

if __name__ == "__main__":

__version__ = "1.0.2"
__version__ = "1.0.3"
__author__ = "https://github.com/northpowered"

ap = argparse.ArgumentParser()
Expand Down
1 change: 1 addition & 0 deletions sla/sla.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from sla.service import Service
import sys


class Sla:
def __init__(self, config_file: str, log_level: str, log_dest: str) -> None:
logger_init(log_level, log_dest)
Expand Down

0 comments on commit 5671f21

Please sign in to comment.