Protocol for data exchange between master and node

Attention: The content of this page has been moved to the Munin-Guide Network Protocol. This wiki page has therefore been set to "Read only" and later will be purged.

Client commands:

help Show available commands
list [node]Asks node to list all query-items available for query for this host. If no host is given, default to host that runs the munin-node
nodes List hosts
config <query-item>Asks the node for configuration items
fetch <query-item>Fetches values
versionPrint versionstring

list simply lists items available for gathering. E.g. load, cpu, memory, df, et alia.

config gives the configuration for an item. See the config protocol for a full description.

Example outputs:

> config load
< graph_args --title "Load average"
< load.label Load
< .
> config memory
< graph_args --title "Memory usage" --base 1024
< used.label Used
< used.draw AREA
< shared.label Shared
< shared.draw STACK
< buffers.label Buffers
< buffers.draw STACK
< cache.label Cache
< cache.draw STACK
< free.label Free
< free.draw STACK
< swap.label Swap
< swap.draw STACK

Fetch fetches the actual values. Returned data fields:

  • <field>.value

Numeric value, or 'U'. Required.

Example outputs:

> fetch load
< load.value 0.42
< .
> fetch memory
< used.value 98422784
< shared.value 1058086912
< buffers.value 2912256
< cache.value 8593408
< free.value 235753472
< swap.value 85053440
Last modified at 2014-10-19T17:56:18+02:00 Last modified on 2014-10-19T17:56:18+02:00