Back to index

munin  2.0.1
Functions | Variables
test Namespace Reference

Functions

def test

Variables

tuple p = Plugin("Approx cache", "files", "Approx")

Function Documentation

def test.test (   data_source)

Definition at line 18 of file test.py.

00018 
00019 def test(data_source):
00020     if data_source == 'deb':
00021         return 42
00022     return 24
00023 
00024 # Set up graph
00025 p['deb'].label = "deb files"
00026 p['deb'].value = test
00027 p['deb'].info = "Number of .deb-files."
00028 p['tar.gz'].label = "tar.gz files"
00029 p['tar.gz'].value = test
00030 #p['gzip'].value = 123
00031 
# Run

Variable Documentation

tuple test.p = Plugin("Approx cache", "files", "Approx")

Definition at line 15 of file test.py.