Skip to content

integer division or modulo by zero #97

Closed
@alexeyshishkin01

Description

@alexeyshishkin01

hello, all!
I hit the following issue:

[ERROR] 2017-09-03 23:53:22,575 - CFS - catch error: integer division or modulo by zero
[INFO] 2017-09-03 23:53:22,575 - CFS - hint: enable debug level to full exception trace
[DEBUG] 2017-09-03 23:53:22,575 - CFS - Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/mamonsu/lib/plugin.py", line 140, in _loop
self.run(self.sender)
File "/usr/lib/python2.7/site-packages/mamonsu/plugins/pgsql/cfs.py", line 63, in run
zbx.send('pgsql.cfs.activity[total_compress_ratio]', non_compressed_size / compressed_size)
ZeroDivisionError: integer division or modulo by zero

what's wrong with my installation/configuration of mamonsu?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions