Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_procmemtotal
1.0
2011-01-07
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI 2009R1
GPL
98885
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Example can be tracking of a memory consumption for httpd apache processes. Those processes
are forked into many instances. Our program looks for every pid that corresponds with process name
and sum up a value of total memory that stays in /proc/[pid]/status|grep vmSize.
Plugin returns also performande data for stats.
Feel free to use and remember to send us a new version of that plugin if You modify it.
You will need :
perl -MCPAN -e 'install Params::Validate'
perl -MCPAN -e 'install Math::Calc::Units'
perl -MCPAN -e 'install Class::Accessor::Fast'
perl -MCPAN -e 'install Config::Tiny'
Usage example :
/opt/plugins/check_procmemtotal.pl -P http -c 800000000 -w 700000000 -i 0 -a 800000000
units are in bytes
This means that:
-c critical will be at 800mb
-w warning 700mb
-i minimal value at 0 - just to insert to the performance graph
-a maximal value at 800mb - also only for performance data
http://it.emca.pl
check_procmemtotal
Check total memory for all forked processes
Copyright (c) 2011 EM&CA S.A.
Author: Artur Bicki < op5@emca.plAdres poczty elektronicznej jest chroniony przed robotami spamuj?cymi. W przegl?darce musi by? w??czona obs?uga JavaScript, ?eby go zobaczy?. >
http://it.emca.pl
For direct contact with any of our op5 developers send a mail to
op5@emca.plAdres poczty elektronicznej jest chroniony przed robotami spamuj?cymi. W przegl?darce musi by? w??czona obs?uga JavaScript, ?eby go zobaczy?.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or,
at your option, any later version, as published by the Free Software
Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
The purpose of this program is to calculate totam memory usage for a set of processes.
Example can be tracking of a memory consumption for httpd apache processes. Those processes
are forked into many instances. Our program looks for every pid that corresponds with process name
and sum up a value of total memory that stays in /proc/[pid]/status|grep vmSize.
Plugin returns also performande data for stats.
Feel free to use and remember to send us a new version of that plugin if You modify it.
You will need :
perl -MCPAN -e 'install Params::Validate'
perl -MCPAN -e 'install Math::Calc::Units'
perl -MCPAN -e 'install Class::Accessor::Fast'
perl -MCPAN -e 'install Config::Tiny'
Usage example :
/opt/plugins/check_procmemtotal.pl -P http -c 800000000 -w 700000000 -i 0 -a 800000000
units are in bytes
This means that:
-c critical will be at 800mb
-w warining 700mb
-i minimal value at 0 - just to insert to the performance graph
-a maximal value at 800mb - also only for performance data
Check total memory for all forked processes
Copyright (c) 2011 EM&CA S.A.
Author: Artur Bicki < op5@emca.plAdres poczty elektronicznej jest chroniony przed robotami spamuj?cymi. W przegl?darce musi by? w??czona obs?uga JavaScript, ?eby go zobaczy?. >
http://it.emca.pl
For direct contact with any of our op5 developers send a mail to
op5@emca.plAdres poczty elektronicznej jest chroniony przed robotami spamuj?cymi. W przegl?darce musi by? w??czona obs?uga JavaScript, ?eby go zobaczy?.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 or,
at your option, any later version, as published by the Free Software
Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
The purpose of this program is to calculate totam memory usage for a set of processes.
Example can be tracking of a memory consumption for httpd apache processes. Those processes
are forked into many instances. Our program looks for every pid that corresponds with process name
and sum up a value of total memory that stays in /proc/[pid]/status|grep vmSize.
Plugin returns also performande data for stats.
Feel free to use and remember to send us a new version of that plugin if You modify it.
You will need :
perl -MCPAN -e 'install Params::Validate'
perl -MCPAN -e 'install Math::Calc::Units'
perl -MCPAN -e 'install Class::Accessor::Fast'
perl -MCPAN -e 'install Config::Tiny'
Usage example :
/opt/plugins/check_procmemtotal.pl -P http -c 800000000 -w 700000000 -i 0 -a 800000000
units are in bytes
This means that:
-c critical will be at 800mb
-w warining 700mb
-i minimal value at 0 - just to insert to the performance graph
-a maximal value at 800mb - also only for performance data
Reviews (1)
byvishwa724, September 15, 2011
For quite a long time I was looking for such a plugin. I finally found it here and it saved me a lot of time that i would have to spent otherwise writing one myself.