Back to index

nagios-plugins  1.4.16
Namespaces | Functions | Variables
check_pcpmetric.py File Reference

Go to the source code of this file.

Namespaces

namespace  check_pcpmetric

Functions

def check_pcpmetric.usage

Variables

int check_pcpmetric.DEBUG = 0
float check_pcpmetric.nagios_pcpclient_version = 0.01
string check_pcpmetric.PMVAL = '/usr/bin/pmval'
string check_pcpmetric.COMMANDLINE = " -s 1"
string check_pcpmetric.METRIC = 'undefined'
int check_pcpmetric.CRITICAL = 0
int check_pcpmetric.WARNING = 0
tuple check_pcpmetric.p = popen2.Popen4(COMMANDLINE)
tuple check_pcpmetric.exitcode = p.wait()
tuple check_pcpmetric.buffer = p.fromchild.readline()
 check_pcpmetric.output = buffer
tuple check_pcpmetric.returndata = string.split(output)
tuple check_pcpmetric.retval = string.atof(returndata)
int check_pcpmetric.EXITCODE = 0