converted snmpget service to generic linspector service; raising exceptions from all services now when needed args are missing.
This commit is contained in:
parent
3fc190025e
commit
7f45a14802
5 changed files with 47 additions and 53 deletions
|
|
@ -17,6 +17,7 @@ class TcpconnectService(Service):
|
|||
self.port = kwargs["port"]
|
||||
else:
|
||||
log.w("There is no port set")
|
||||
raise
|
||||
|
||||
def execute(self, log):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue