User Tools

Site Tools


communitycloud:services:monitoring

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
communitycloud:services:monitoring [2017/01/26 16:12]
tkilla
communitycloud:services:monitoring [2017/05/12 17:54]
tkilla [Plugins]
Line 126: Line 126:
  
   [nginx*]   [nginx*]
-  env.url http://127.0.0.1/nginx_status+   env.url http://127.0.0.1/nginx_status 
 + 
 + 
 +=== apache === 
 + 
 +needs the apache status page 
 + 
 +config: 
 +  [apache] 
 +   env.url   http://127.0.0.1:%d/server-status?auto 
 +   env.ports 80 
 + 
 +packages: 
 +  apt install libwww-perl 
 + 
 +symlinks: 
 +  ln -s /usr/share/munin/plugins/apache_* /etc/munin/plugins/ 
  
  
Line 135: Line 152:
   GRANT PROCESS, REPLICATION CLIENT ON *.* TO 'munin'@'localhost';   GRANT PROCESS, REPLICATION CLIENT ON *.* TO 'munin'@'localhost';
  
-  apt-get install libcache-{perl,cache-perl}+  apt-get install libcache-{perl,cache-perl} libdbd-mysql-perl 
  
 /etc/munin/plugin-conf.d/munin-node: /etc/munin/plugin-conf.d/munin-node:
  
   [mysql*]   [mysql*]
-  env.mysqlconnection DBI:mysql:information_schema;host=127.0.0.1;port=3306 +   env.mysqlconnection DBI:mysql:information_schema;host=127.0.0.1;port=3306 
-  env.mysqluser munin +   env.mysqluser munin 
-  env.mysqlpassword PASSWD_HERE +   env.mysqlpassword PASSWD_HERE 
-  env.cachenamespace munin_mysql_pri+   env.cachenamespace munin_mysql_pri
      
-  # for myisam / queries..: +   # for myisam / queries..: 
-  env.mysqlopts -h localhost -u munin --password=PASSWD_HERE+   env.mysqlopts -h localhost -u munin --password=PASSWD_HERE
  
 enable replication graph: enable replication graph:
communitycloud/services/monitoring.txt · Last modified: 2017/09/23 04:09 by tkilla