User Tools

Site Tools


munin_statistics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
munin_statistics [2022/07/21 21:45] adminmunin_statistics [2022/07/21 23:06] (current) admin
Line 56: Line 56:
 ...A few minutes later, you should see updates. ...A few minutes later, you should see updates.
  
 +
 +==== Removing graphs / plugins ====
 +All possible plugins are stored in: /usr/share/munin/plugins/ and symlinked into: /etc/munin/plugins
 +
 +To delete a plugin, simply delete it from /etc/munin/plugins
 +
 +==== Adding graphs / plugins ====
 +=== Apache plugins ===
 +<code>
 +ln -s /usr/share/munin/plugins/apache_accesses /etc/munin/plugins/apache_accesses
 +ln -s /usr/share/munin/plugins/apache_processes /etc/munin/plugins/apache_processes
 +ln -s /usr/share/munin/plugins/apache_volume /etc/munin/plugins/apache_volume
 +ln -s /usr/share/munin/plugins/port_ /etc/munin/plugins/port_80
 +
 +#You may need to do:
 +a2enmod status
 +#reported: Module status already enabled
 +#check /etc/apache2/mods-enabled/status.conf
 +
 +</code>
 +Note: there are lots more graphs for apache, but require apache mod_watch. See [[munin_statistics#apache_mod_watch_munin_graphs_showing_vhost_accesses|here]]
 +
 +=== SQL plugins ===
 +Well MySQL is now MariaDb.
 +<code>
 +ln -s /usr/share/munin/plugins/mysql_queries /etc/munin/plugins/mysql_queries
 +ln -s /usr/share/munin/plugins/mysql_slowqueries /etc/munin/plugins/mysql_slowqueries
 +ln -s /usr/share/munin/plugins/mysql_bytes /etc/munin/plugins/mysql_bytes
 +</code>
 +
 +=== Other useful plugins ===
 +<code>
 +ln -s /usr/share/munin/plugins/postfix_mailstats /etc/munin/plugins/postfix_mailstats
 +
 +ln -s /usr/share/munin/plugins/multips_memory /etc/munin/plugins/multips_memory
 +^ For the above, to monitor just certain processes
 +vi /etc/munin/plugin-conf.d/munin-node
 +#Add
 +[multips_memory]
 +env.names apache2 mariadbd
 +
 +</code>
  
 ===== Temperature Monitoring with Munin ===== ===== Temperature Monitoring with Munin =====
munin_statistics.1658436334.txt.gz · Last modified: 2022/07/21 21:45 by admin