mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
spelling fix
This commit is contained in:
parent
a09fead3ce
commit
38c8a8f5c9
1 changed files with 6 additions and 6 deletions
|
@ -174,7 +174,7 @@ class Decisions():
|
|||
print(f'{name}.value {v}')
|
||||
|
||||
|
||||
class Aquisitions():
|
||||
class Acquisitions():
|
||||
def __init__(self):
|
||||
# requires crowdsec >= 1.5.3
|
||||
try:
|
||||
|
@ -185,8 +185,8 @@ class Aquisitions():
|
|||
def config(self):
|
||||
if len(self.data) > 0:
|
||||
print(dedent("""
|
||||
multigraph aquisitions
|
||||
graph_title CrowdSec Aquisitions
|
||||
multigraph acquisitions
|
||||
graph_title CrowdSec Acquisitions
|
||||
graph_args --base 1000 --lower-limit 0
|
||||
graph_vlabel Lines per ${graph_period}
|
||||
graph_category security
|
||||
|
@ -209,7 +209,7 @@ class Aquisitions():
|
|||
if type in self.data['acquisition'][source]:
|
||||
r[type] += self.data['acquisition'][source][type]
|
||||
print(dedent(f"""
|
||||
multigraph aquisitions
|
||||
multigraph acquisitions
|
||||
reads.value {r['reads']}
|
||||
unparsed.value {r['unparsed']}
|
||||
parsed.value {r['parsed']}
|
||||
|
@ -222,8 +222,8 @@ if __name__ == "__main__":
|
|||
elif len(sys.argv) == 2 and sys.argv[1] == 'config':
|
||||
state = State()
|
||||
Decisions().config()
|
||||
Aquisitions().config()
|
||||
Acquisitions().config()
|
||||
else:
|
||||
state = State()
|
||||
Decisions().current()
|
||||
Aquisitions().current()
|
||||
Acquisitions().current()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue