You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
418 B
Python
21 lines
418 B
Python
#!/usr/bin/env python3
|
|
|
|
from checklib import Check, Result
|
|
|
|
class MyCheck(Check):
|
|
def check(self):
|
|
self.result = Result.UNKNOWN
|
|
self.short_status = 'I don\'t know :-)'
|
|
|
|
def add_arguments(self):
|
|
pass
|
|
|
|
# Collect argparse arguments at self.arguments
|
|
|
|
# If defining __init__, call super().__init__ first -- it populates
|
|
# self.result, self.argumentparser and so on.
|
|
|
|
|
|
if __name__ == '__main__':
|
|
MyCheck.run()
|