[Nagiosplug-devel] [ nagiosplug-New Plugins-778194 ] Performance CoPilot checker

SourceForge.net noreply at sourceforge.net
Wed Jan 26 20:07:02 CET 2005


New Plugins item #778194, was opened at 2003-07-26 19:28
Message generated for change (Comment added) made by stanleyhopcroft
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=778194&group_id=29880

Category: Application monitor
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Jan-Frode Myklebust (smuff)
>Assigned to: Stanley Hopcroft (stanleyhopcroft)
Summary: Performance CoPilot checker

Initial Comment:

Performance Co-Pilot (PCP) is a framework and services
to support system-level performance monitoring and
performance management. It can monitor, collect and
report on a lot of detailed system-level metrics. F.ex.
cpuload, filesystem usage, network usage, network
errors, memory usage, pageing activity, etc..  Pluss
it's extendable, so you can write your own agents to
monitor services that's not already in the default
package. For more info, check out the PCP homepage at
http://oss.sgi.com/projects/pcp/ (it might even be a
competitor to nagios, but a bit more low level).

I've written a small plugin that will connect to a pmcd
(performance metrics collector daemon) and check any of
the metrics the PCP on that host knows about. It can
f.ex. check cpuload, filesytem usage, network traffic,
number of users, interrups per second, number of
processes, etc.. It can monitor just about everything,
but at the moment it only runs on linux and IRIX.

This small script is just a wrapper around the PCP
'pmval' command, so that it can easily be used with
nagios. I currently use it for monitoring load,
filesystem usage and machine room temperature.

Example usage:

define command{
        command_name    check-pcp-filesys
        command_line    $USER1$/check_pcpmetric.py -H
$HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -i $ARG3$ -m filesys.full
        }

ARG3 would here be the filesystem device to check.


----------------------------------------------------------------------

>Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2005-01-27 04:06

Message:
Logged In: YES 
user_id=395628

Thank you very much for your plugin.

Should appear in the /contrib section of the CVS in next 1-2
hours.

Sorry for the delay in acknowledgement.



----------------------------------------------------------------------

Comment By: Jan-Frode Myklebust (smuff)
Date: 2003-07-26 23:49

Message:
Logged In: YES 
user_id=361

Oops, forgot the attachment. Run './check_pcpmetric.py -h'
for defailed usage info.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=778194&group_id=29880




More information about the Devel mailing list