Install via pip:
$ pip install mamonsuInstall from git:
$ git clone ... && cd mamonsu && python setup.py build && python setup.py installBuild deb:
$ apt-get install make dpkg-dev debhelper python-dev python-setuptools $ git clone ... && cd mamonsu && make deb && dpkg -i mamonsu*.debBuild rpm:
$ yum install make rpm-build python2-devel python-setuptools $ git clone ... && cd mamonsu && make rpm && rpm -i mamonsu*.rpmBuild exe:
$ pip install cx_freeze $ git clone ... && cd mamonsu && python setup.py buildExport template for zabbix:
$ mamonsu -e template.xmlImport this file in web interface of zabbix: Configuration => Templates => Import.
Add this template like PostgresPro-Linux at your monitoring host.
Generate config on monitring host:
$ mamonsu -w /etc/mamonsu/agent.confChange previously zabbix server address and client hostname:
$ vim /etc/mamonsu/agent.conf $ cat /etc/mamonsu/agent.conf [zabbix] client = zabbix_client_host_name address = zabbix_server_ip [postgres] user = postgres password = None database = postgres host = localhost port = 5432 query_timeout = 10 [log] file = /var/log/mamonsu/agent.log level = INFO$ mamonsu -c /etc/mamonsu/agent.conf -p /var/run/mamonsu.pid