We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dd32cb commit 0aac2cdCopy full SHA for 0aac2cd
mamonsu/lib/senders/zbx.py
@@ -16,7 +16,7 @@
16
17
class ZbxSender(Plugin):
18
19
- Interval = 2
+ Interval = 10
20
_sender = True
21
22
def __init__(self, config):
mamonsu/lib/supervisor.py
@@ -55,9 +55,7 @@ def _loop(self):
55
if plugin_errors > 0:
56
self._sender.send(
57
'mamonsu.plugin.errors[]',
58
- 'Errors in the last 60 seconds: {0}.\
59
- Last error: {1}'.format(
60
- plugin_errors, last_error))
+ 'Last error: {0} (total: {1})'.format(last_error, plugin_errors))
61
else:
62
self._sender.send('mamonsu.plugin.errors[]', '')
63
plugin_errors, plugin_probes = 0, 0
0 commit comments