Compare commits
No commits in common. "2d9f8942b080e89e2382a8451a02637653e25b46" and "6a03ac0e774c65f526c25341ebacbbf35474e638" have entirely different histories.
2d9f8942b0
...
6a03ac0e77
|
@ -10,8 +10,8 @@ from datetime import datetime, timedelta
|
||||||
|
|
||||||
|
|
||||||
def get_active_problems() -> dict:
|
def get_active_problems() -> dict:
|
||||||
|
api = ZabbixAPI(url=conf.zabbix.url, token=conf.zabbix.token)
|
||||||
try:
|
try:
|
||||||
api = ZabbixAPI(url=conf.zabbix.url, token=conf.zabbix.token)
|
|
||||||
problems = api.problem.get(
|
problems = api.problem.get(
|
||||||
output=[
|
output=[
|
||||||
"eventid",
|
"eventid",
|
||||||
|
|
Loading…
Reference in New Issue