EOF & whitespace
This commit is contained in:
@@ -25,10 +25,10 @@ from .common import *
|
||||
|
||||
|
||||
class backup_null(backup_generic):
|
||||
"""Null backup to register servers which don't need any backups
|
||||
"""Null backup to register servers which don't need any backups
|
||||
but we still want to know they are taken in account"""
|
||||
type = 'null'
|
||||
|
||||
|
||||
required_params = ['type','server_name','backup_name']
|
||||
optional_params = []
|
||||
|
||||
@@ -44,9 +44,8 @@ class backup_null(backup_generic):
|
||||
return {}
|
||||
def checknagios(self,maxage_hours=30):
|
||||
return (nagiosStateOk,"No backups needs to be performed")
|
||||
|
||||
|
||||
register_driver(backup_null)
|
||||
|
||||
if __name__=='__main__':
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user