mirror of https://github.com/mikaku/Monitorix.git
added a complete graph to support PostgreSQL statistics ('pgsql.pm'). #84
This commit is contained in:
parent
be9d22683d
commit
3ca311b24a
1
Makefile
1
Makefile
|
@ -103,6 +103,7 @@ install-bin:
|
|||
$(INSTALL_DATA) lib/nut.pm "$(DESTDIR)$(LIBDIR)/nut.pm"
|
||||
$(INSTALL_DATA) lib/nvidia.pm "$(DESTDIR)$(LIBDIR)/nvidia.pm"
|
||||
$(INSTALL_DATA) lib/pagespeed.pm "$(DESTDIR)$(LIBDIR)/pagespeed.pm"
|
||||
$(INSTALL_DATA) lib/pgsql.pm "$(DESTDIR)$(LIBDIR)/pgsql.pm"
|
||||
$(INSTALL_DATA) lib/phpapc.pm "$(DESTDIR)$(LIBDIR)/phpapc.pm"
|
||||
$(INSTALL_DATA) lib/phpfpm.pm "$(DESTDIR)$(LIBDIR)/phpfpm.pm"
|
||||
$(INSTALL_DATA) lib/port.pm "$(DESTDIR)$(LIBDIR)/port.pm"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -103,6 +103,7 @@ secure_log_date_format = %b %e
|
|||
nginx = n
|
||||
lighttpd = n
|
||||
mysql = n
|
||||
pgsql = n
|
||||
mongodb = n
|
||||
varnish = n
|
||||
pagespeed = n
|
||||
|
@ -570,6 +571,24 @@ secure_log_date_format = %b %e
|
|||
</mysql>
|
||||
|
||||
|
||||
# PGSQL graph
|
||||
# -----------------------------------------------------------------------------
|
||||
<pgsql>
|
||||
list = localhost
|
||||
<desc>
|
||||
<localhost>
|
||||
host = localhost
|
||||
port = 5432
|
||||
username = user
|
||||
password = secret
|
||||
db_list =
|
||||
</localhost>
|
||||
</desc>
|
||||
rigid = 0, 0, 0, 0, 0, 0
|
||||
limit = 100, 100, 100, 100, 100, 100
|
||||
</pgsql>
|
||||
|
||||
|
||||
# MONGODB graph
|
||||
# -----------------------------------------------------------------------------
|
||||
<mongodb>
|
||||
|
@ -966,7 +985,7 @@ logo_bottom = logo_bot.png
|
|||
remote = 300x100
|
||||
</graph_size>
|
||||
|
||||
graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia, disk, fs, zfs, du, net, netstat, tinyproxy, tc, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, mongodb, varnish, pagespeed, squid, nfss, nfsc, bind, unbound, ntp, chrony, fail2ban, icecast, raspberrypi, phpapc, memcached, redis, phpfpm, apcupsd, nut, wowza, int, verlihub
|
||||
graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia, disk, fs, zfs, du, net, netstat, tinyproxy, tc, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, pgsql, mongodb, varnish, pagespeed, squid, nfss, nfsc, bind, unbound, ntp, chrony, fail2ban, icecast, raspberrypi, phpapc, memcached, redis, phpfpm, apcupsd, nut, wowza, int, verlihub
|
||||
|
||||
<graph_title>
|
||||
system = System load average and usage
|
||||
|
@ -997,6 +1016,7 @@ graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia,
|
|||
nginx = Nginx statistics
|
||||
lighttpd = Lighttpd statistics
|
||||
mysql = MySQL statistics
|
||||
pgsql = PostgreSQL statistics
|
||||
mongodb = MongoDB statistics
|
||||
varnish = Varnish statistics
|
||||
pagespeed = PageSpeed statistics
|
||||
|
@ -1121,6 +1141,12 @@ graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, ambsens, nvidia,
|
|||
_mysql4 = MySQL queries
|
||||
_mysql5 = MySQL connections
|
||||
_mysql6 = MySQL traffic
|
||||
_pgsql1 = PgSQL rows by queries
|
||||
_pgsql2 = PgSQL background writer
|
||||
_pgsql3 = PgSQL all databases size
|
||||
_pgsql4 = PgSQL connections
|
||||
_pgsql5 = PgSQL transactions
|
||||
_pgsql6 = PgSQL block cache
|
||||
_mongodb1 = MongoDB operations
|
||||
_mongodb2 = MongoDB metrics document
|
||||
_mongodb3 = MongoDB write performance
|
||||
|
|
Loading…
Reference in New Issue