root/tags/1.1.4/README.api

Revision 7, 1.3 kB (checked in by jimmyo, 7 years ago)

Making things workable after name change. Upping for test verwion.

  • Property svn:eol-style set to native
  • Property cvs2svn:cvs-rev set to 1.3
  • Property svn:keywords set to Author Date Id Revision
Line 
1 Protocol for data exchange between daemon and client
2 ----------------------------------------------------
3
4 Client commands:
5        
6         - list [node]
7                 Asks client to list all items available for query for
8                 this host. If no host is given, default to host that runs
9                 the munin-node
10        
11         - nodes
12                 List hosts
13
14         - config <query-item>
15                 Asks the client for configuration items.
16
17         - fetch <query-item>
18                 Fetches values.
19
20         - version
21                 Print versionstring
22
23 List simply lists items available for gathering. E.g. load, cpu, memory,
24 df, et alia.
25
26 Config gives the basic configuration for an item. See the file
27 "README.config" for a full description.
28
29 Example outputs:
30
31         > config load
32         < graph_args --title "Load average"
33         < load.label Load
34         < .
35         > config memory
36         < graph_args --title "Memory usage" --base 1024
37         < used.label Used
38         < used.draw AREA
39         < shared.label Shared
40         < shared.draw STACK
41         < buffers.label Buffers
42         < buffers.draw STACK
43         < cache.label Cache
44         < cache.draw STACK
45         < free.label Free
46         < free.draw STACK
47         < swap.label Swap
48         < swap.draw STACK
49
50 Fetch fetches the actual values. Returned data fields:
51
52         - <field>.value
53                 Numeric value, or 'U'. Required.
54
55 Example outputs:
56
57         > fetch load
58         < load.value 0.42
59         < .
60         > fetch memory
61         < used.value 98422784
62         < shared.value 1058086912
63         < buffers.value 2912256
64         < cache.value 8593408
65         < free.value 235753472
66         < swap.value 85053440
67
68
Note: See TracBrowser for help on using the browser.