diff --git a/module/mapping.py b/module/mapping.py index 73808d6..d723d31 100644 --- a/module/mapping.py +++ b/module/mapping.py @@ -682,6 +682,10 @@ def get_livestatus_full_name(item, req): 'function': lambda item, req: [get_livestatus_full_name(i, req) for i in item.source_problems], # REPAIRME MAYBE (separators in python and csv) 'datatype': list, }, + 'staleness': { + 'description': 'Indicator for outdated host checks (not implemented)', + 'function': lambda item, req: 0, # REPAIRME + }, 'state': { 'description': 'The current state of the host (0: up, 1: down, 2: unreachable)', 'function': lambda item, req: item.state_id, @@ -1466,6 +1470,10 @@ def get_livestatus_full_name(item, req): 'function': lambda item, req: "", # REPAIRME 'datatype': list, }, + 'staleness': { + 'description': 'Indicator for outdated service checks (not implemented)', + 'function': lambda item, req: 0, # REPAIRME + }, 'state': { 'description': 'The current state of the service (0: OK, 1: WARN, 2: CRITICAL, 3: UNKNOWN)', 'function': lambda item, req: item.state_id,