Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 5ae29a39 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 66393c58
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -81,15 +81,7 @@ def inv_lldp_cache(info, params):
def render_time(uptime_sec):
uptime_sec = int(uptime_sec)
hunsdertstelsec = uptime_sec % 100
rem = uptime_sec / 100
seconds = rem % 60
rem = rem / 60
minutes = rem % 60
hours = (rem % 1440) / 60
days = rem / 1440
since = time.strftime('%c', time.localtime(time.time() - (uptime_sec / 100)))
# return ('%dd %02d:%02d:%02d.%02d' % (days, hours, minutes, seconds, hunsdertstelsec))
return since
def render_capabilities(bytestring):
......
......@@ -9,5 +9,5 @@
'title': u'inventory for LLDP cache',
'version': '20200731.v04c',
'version.min_required': '1.4.0p1',
'version.packaged': '1.6.0p12',
'version.packaged': '1.4.0p38',
'version.usable_until': None}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment