Skip to content

Commit 151c66e

Browse files
committed
fix: edited Plugin Errors metric time period
1 parent 66d042f commit 151c66e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

mamonsu/lib/senders/zbx.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ def _send_data(self, data):
118118
sock = socket.socket()
119119
sock.settimeout(int(self.timeout))
120120
sock.connect((self.host, self.port))
121-
# time.sleep(100)
122121
self.log.debug('request: {0}'.format(data))
123122
sock.sendall(packet)
124123
resp_header = self._receive(sock, 13)

mamonsu/lib/supervisor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _loop(self):
5353
plugin_errors += 1
5454
time.sleep(10)
5555
plugin_probes += 1
56-
if plugin_probes >= 60:
56+
if plugin_probes >= 6:
5757
if plugin_errors > 0:
5858
self._sender.send(
5959
'mamonsu.plugin.errors[]',

0 commit comments

Comments
 (0)