File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def run(self, zbx):
21
21
22
22
start_time = time .time ()
23
23
Pooler .query (self .query_health )
24
- zbx .send (self .key_ping .format ('[]' ), (time .time () - start_time ) * 100 ) # FIXME for agent type
24
+ zbx .send (self .key_ping .format ('[]' ), (time .time () - start_time ) * 100 )
25
25
26
26
result = Pooler .query (self .query_uptime )
27
27
zbx .send (self .key_uptime .format ('[]' ), int (result [0 ][0 ]))
@@ -32,7 +32,7 @@ def run(self, zbx):
32
32
def items (self , template ):
33
33
result = ''
34
34
if self .Type == "mamonsu" :
35
- delay = self .plugin_config ('interval' ) #TODO check delay
35
+ delay = self .plugin_config ('interval' )
36
36
value_type = Plugin .VALUE_TYPE .numeric_unsigned
37
37
else :
38
38
delay = 5 #TODO check delay
Original file line number Diff line number Diff line change 2
2
3
3
from mamonsu .plugins .pgsql .plugin import PgsqlPlugin as Plugin
4
4
from .pool import Pooler
5
- import random
6
5
7
6
8
7
class Instance (Plugin ):
You can’t perform that action at this time.
0 commit comments