Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
|
2d9f8942b0 | |
|
605d086670 | |
|
6a03ac0e77 |
|
@ -10,8 +10,8 @@ from datetime import datetime, timedelta
|
|||
|
||||
|
||||
def get_active_problems() -> dict:
|
||||
api = ZabbixAPI(url=conf.zabbix.url, token=conf.zabbix.token)
|
||||
try:
|
||||
api = ZabbixAPI(url=conf.zabbix.url, token=conf.zabbix.token)
|
||||
problems = api.problem.get(
|
||||
output=[
|
||||
"eventid",
|
||||
|
|
Loading…
Reference in New Issue