Changeset 3335 for trunk/plugins/node.d/multips_memory.in
- Timestamp:
- 02/03/10 18:01:26 (2 years ago)
- Files:
-
- trunk/plugins/node.d/multips_memory.in (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plugins/node.d/multips_memory.in
r3334 r3335 6 6 =head1 NAME 7 7 8 multi memory - Munin plugin to monitor memory usage of processes. Which8 multips_memory - Munin plugin to monitor memory usage of processes. Which 9 9 processes are configured in a file in plugin-conf.d. 10 10 … … 19 19 You must specify what process names to monitor: 20 20 21 [multi memory]21 [multips_memory] 22 22 env.names apache2 mysqld php-cgi 23 23 … … 29 29 The by default RSS is monitored, but other sizes provided by your ps 30 30 is directly usable (the plugin assumes all sizes reported by ps is in 31 KB). Candidates on Linux are rss, size, resident, share, vsize. Se 31 KB). Candidates on Linux are rss, size, resident, share, vsize. See 32 32 your ps man page for more information especially with regards to 33 33 interpretation of the values. You can change what is monitored by 34 34 35 [multi memory]35 [multips_memory] 36 36 env.monitor vsize 37 37 38 You cannot specify multiple sizes the plugin handles only one.38 You cannot specify multiple sizes. The plugin handles only one. 39 39 40 If for some reason you want separate graphs you can make separately40 If for some reason you want separate graphs, you can make separately 41 41 named symlinks in the plugins directory on the node (most often either 42 /etc/munin/plugins or /etc/opt/munin/plugins), eg. multi memory_rss and43 multi memory_vsize as symlinks to multimemory and configure them thus:42 /etc/munin/plugins or /etc/opt/munin/plugins), eg. multips_memory_rss and 43 multips_memory_vsize as symlinks to multips_memory and configure them thus: 44 44 45 [multi memory*]45 [multips_memory*] 46 46 env.names apache2 mysqld php-cgi 47 47 48 [multi memory_rss]48 [multips_memory_rss] 49 49 env.monitor rss 50 50 51 [multi memory_vsize]51 [multips_memory_vsize] 52 52 env.monitor vsize 53 53 … … 80 80 the names are active. 81 81 82 You cannot specify multiple sizes the plugin handles only one.82 You cannot specify multiple sizes. The plugin handles only one. 83 83 84 84 =head1 AUTHOR … … 86 86 Originally: Unknown. 87 87 88 Made into multimemory by: github.com/dominics github.com/yhager 88 Made into multimemory by: github.com/dominics github.com/yhager. 89 90 Renamed to multips_memory when included in official munin trunk. 89 91 90 92 Thanks to: wix … … 111 113 112 114 if [ -z "$names" ]; then 113 echo " Configuration required)"115 echo "(Configuration required)" 114 116 exit 1 115 117 fi
