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

SourceForge.net noreply at sourceforge.net
Sat Jul 26 12:29:02 CEST 2003


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

Category: Application monitor
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jan-Frode Myklebust (smuff)
Assigned to: Nobody/Anonymous (nobody)
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.


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

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