added a complete graph for MongoDB. #38

This commit is contained in:
Jordi Sanfeliu 2017-01-12 16:14:35 +01:00
parent 9a67201222
commit acc1245691
3 changed files with 1604 additions and 1 deletions

View File

@ -86,6 +86,7 @@ install-bin:
$(INSTALL_DATA) lib/lmsens.pm "$(DESTDIR)$(LIBDIR)/lmsens.pm"
$(INSTALL_DATA) lib/mail.pm "$(DESTDIR)$(LIBDIR)/mail.pm"
$(INSTALL_DATA) lib/memcached.pm "$(DESTDIR)$(LIBDIR)/memcached.pm"
$(INSTALL_DATA) lib/mongodb.pm "$(DESTDIR)$(LIBDIR)/mongodb.pm"
$(INSTALL_DATA) lib/Monitorix.pm "$(DESTDIR)$(LIBDIR)/Monitorix.pm"
$(INSTALL_DATA) lib/mysql.pm "$(DESTDIR)$(LIBDIR)/mysql.pm"
$(INSTALL_DATA) lib/net.pm "$(DESTDIR)$(LIBDIR)/net.pm"

1578
lib/mongodb.pm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -98,6 +98,7 @@ secure_log_date_format = %b %e
nginx = n
lighttpd = n
mysql = n
mongodb = n
varnish = n
pagespeed = n
squid = n
@ -496,6 +497,22 @@ secure_log_date_format = %b %e
</mysql>
# MONGODB graph
# -----------------------------------------------------------------------------
<mongodb>
list = localhost
max_db = 1
<desc>
<localhost>
host = 127.0.0.1
db_list = mydb
</localhost>
</desc>
rigid = 0, 0, 0, 0, 0, 0, 0, 0
limit = 100, 100, 100, 100, 100, 100, 100, 100
</mongodb>
# VARNISH graph
# -----------------------------------------------------------------------------
<varnish>
@ -835,7 +852,7 @@ logo_bottom = logo_bot.png
remote = 300x100
</graph_size>
graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, nvidia, disk, fs, zfs, du, net, netstat, tc, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, varnish, pagespeed, squid, nfss, nfsc, bind, ntp, chrony, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, nut, wowza, int, verlihub
graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, nvidia, disk, fs, zfs, du, net, netstat, tc, libvirt, process, serv, mail, port, user, ftp, apache, nginx, lighttpd, mysql, mongodb, varnish, pagespeed, squid, nfss, nfsc, bind, ntp, chrony, fail2ban, icecast, raspberrypi, phpapc, memcached, apcupsd, nut, wowza, int, verlihub
<graph_title>
system = System load average and usage
@ -864,6 +881,7 @@ graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, nvidia, disk, fs
nginx = Nginx statistics
lighttpd = Lighttpd statistics
mysql = MySQL statistics
mongodb = MongoDB statistics
varnish = Varnish statistics
pagespeed = PageSpeed statistics
squid = Squid statistics
@ -979,6 +997,12 @@ graph_name = system, kern, proc, hptemp, lmsens, gensens, ipmi, nvidia, disk, fs
_mysql4 = MySQL queries
_mysql5 = MySQL connections
_mysql6 = MySQL traffic
_mongodb1 = MongoDB operations
_mongodb2 = MongoDB metrics document
_mongodb3 = MongoDB write performance
_mongodb4 = MongoDB connections
_mongodb5 = MongoDB requests & asserts
_mongodb6 = MongoDB traffic
_varnish1 = Varnish statistics
_varnish2 = Backend usage
_varnish3 = Client connections