diff --git a/plugins/isp/internode_usage b/plugins/isp/internode_usage index f257a320..ac500ddc 100755 --- a/plugins/isp/internode_usage +++ b/plugins/isp/internode_usage @@ -15,6 +15,19 @@ The ideal usage is also used as an updated warning limit. env.internode_api_login LOGIN env.internode_api_password PASSWORD +You can display the graph on another host (e.g., the actual router) than the +one running munin. To do so, first configure the plugin to use a different +hostname. + + env.host_name router + +Then configure munin (in /etc/munin/munin-conf or /etc/munin/munin-conf.d), to +support a new host. + + [example.net;router] + address 127.0.0.1 + use_node_name no + An optional 'env.internode_api_url' can be used, but should not be needed. It will default to https://customer-webtools-api.internode.on.net/api/v1.5. @@ -222,6 +235,9 @@ graph_data() { main() { case ${1:-} in config) + if [ ! -z "${host_name:-}" ]; then + echo "host_name ${host_name}" + fi graph_config graph_config usage graph_config current