akips 0.4.2__tar.gz → 0.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"""This akips python module provides a simple way for python scripts to interact with
|
|
2
2
|
the AKiPS Network Monitoring Software Web API interface."""
|
|
3
3
|
|
|
4
|
-
__version__ = "0.4.
|
|
4
|
+
__version__ = "0.4.3"
|
|
5
5
|
|
|
6
|
+
import csv
|
|
6
7
|
import io
|
|
7
|
-
import re
|
|
8
8
|
import logging
|
|
9
|
+
import re
|
|
9
10
|
from datetime import datetime
|
|
10
|
-
|
|
11
|
+
|
|
11
12
|
import pytz
|
|
12
|
-
import
|
|
13
|
+
import requests
|
|
13
14
|
|
|
14
15
|
from akips.exceptions import AkipsError
|
|
15
16
|
|
|
@@ -282,7 +283,7 @@ class AKIPS:
|
|
|
282
283
|
[any|all|not group {group name} ...]`
|
|
283
284
|
"""
|
|
284
285
|
params = {
|
|
285
|
-
"cmds": f"mget * {device} {child} {attribute}
|
|
286
|
+
"cmds": f"mget * {device} {child} {attribute}",
|
|
286
287
|
}
|
|
287
288
|
if value:
|
|
288
289
|
# [value {text|/regex/|integer|ipaddr}]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|