Skip to content
Permalink
Browse files

Fix host/service counter

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 29, 2019
1 parent 999b15d commit fd7ce37c4dd1d2d2e8dd64ef22768dc245838be3
Showing with 3 additions and 1 deletion.
  1. +3 −1 stats-livestatus.py
@@ -23,8 +23,10 @@ def main():

# Now read the answer
answer = s.recv(100000000)

result = answer.count('\n')

# Subtract one to accommodate the header output on line 1
result = (result-1)
print result

# Parse the answer into a table (a list of lists)

0 comments on commit fd7ce37

Please sign in to comment.
You can’t perform that action at this time.