TOP LEVEL CATEGORIES
EXPLORE
Description:
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 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
Current Version
1.0
Last Release Date
2011-01-07
Compatible With
Owner
Artur Bicki
Website
Download URL
http://download.emca.pl/plugins/check_procmemtotal.pl
License
GPL
You must be logged in to submit a review.
Your review has been submitted and is pending approval.
To:
From:
Your recommendation has been sent.