HowToWritePlugins > Global plugin attributes > host_name
host_name
The host_name attribute is required if you want the running munin-node to query remote hosts and present them as such.
The host_name attribute is optional and should normaly not be given by plugins. It is handled specially by munin-node so that a munin-node may represent several machines (act as a proxy). Munin-node detects all the available host_names by running all plugins with config at node-startup. The central munin server must be configured if it is to pick up these additional host names.
Properties
| Attribute name | host_name |
| Value | Fully qualified host name (FQDN) |
| Allowed characters | [a-zA-Z0-9-.] |
| Space allowed | No |
| Context | Global plugin attributes |
| Required | No |
| Default value | The host name of the host that runs the munin-node process that is queried. |
Example
donald:/etc/munin/plugins# munin-run snmp_adsl-router.hjemme.ruberg.no_if_106 config host_name adsl-router.hjemme.ruberg.no
Last modified 5 months ago
Last modified on 12/09/12 21:09:52
