Thank you for your review!

Your review has been submitted and is pending approval.

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


Project Details

Current Version

1.0

Last Release Date

2011-01-07

Owner

Artur Bicki

License

GPL

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI 2009R1

Recommend

To:


From: