Initial commit

master
Micke Nordin 3 years ago
commit 760d4648de
Signed by: micke
GPG Key ID: 014B273D614BE877

@ -0,0 +1,29 @@
#!/usr/bin/env python3
import command
import contact
import contactgroup
import host
import hostdependency
import hostescalation
import hostgroup
import service
import servicedependency
import serviceescalation
import servicegroup
import timeperiod
class NagParse():
def __init__(self):
self.m_commands: list[Command] = list()
self.m_contacts: list[Contact] = list()
self.m_contactgroups: list[ContactGroup] = list()
self.m_hosts: list[Host] = list()
self.m_hostdependencies[HostDependency]: list = list()
self.m_hostescalations[HostEscalation]: list = list()
self.m_hostgroups[HostGroup]: list = list()
self.m_services[Service]: list = list()
self.m_servicedependencies[ServiceDependency]: list = list()
self.m_serviceescalations[ServiceEscalation]: list = list()
self.m_servicegroups[ServiceGroup]: list = list()
self.m_timeperiods[Timeperiod]: list = list()

@ -0,0 +1,3 @@
class Command:
def __init__(self):
pass

@ -0,0 +1,3 @@
class Contact():
def __init__(self):
pass

@ -0,0 +1,4 @@
class ContactGroup():
def __init__(self):
pass

@ -0,0 +1,3 @@
class Host():
def __init__(self):
pass

@ -0,0 +1,3 @@
class HostDependency():
def __init__(self):
pass

@ -0,0 +1,3 @@
class HostEscalation():
def __init__(self):
pass

@ -0,0 +1,3 @@
class HostGroup():
def __init__(self):
pass

@ -0,0 +1,3 @@
class Service():
def __init__(self):
pass

@ -0,0 +1,3 @@
class ServiceDependency():
def __init__(self):
pass

@ -0,0 +1,3 @@
class ServiceEscalation():
def __init__(self):
pass

@ -0,0 +1,3 @@
class ServiceGroup():
def __init__(self):
pass

@ -0,0 +1,3 @@
class Timeperiod():
def __init__(self):
pass
Loading…
Cancel
Save