Skip to content

Commit

Permalink
adds show_value_store script
Browse files Browse the repository at this point in the history
  • Loading branch information
gurubert committed Apr 16, 2024
1 parent 543759d commit 6874786
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions helper/bin/show_value_store.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env python3

import sys
import cmk.utils.paths
import os.path
from pprint import pprint

hostname = sys.argv[1]

with open(os.path.join(cmk.utils.paths.counters_dir, hostname), "r") as counterfile:
counter = eval(counterfile.read())
pprint(counter)
Binary file removed helper/helper-0.12.0.mkp
Binary file not shown.
Binary file added helper/helper-0.14.0.mkp
Binary file not shown.

0 comments on commit 6874786

Please sign in to comment.