Ticket #437 (new enhancement)

Opened 5 years ago

Last modified 5 years ago

Auto configure multi purpose snmp plugins

Reported by: human Assigned to: bjorn
Priority: low Milestone:
Component: doc Version:
Severity: normal Keywords:
Cc:

Description (Last modified by janl)

The munin-node-configure-snmp command is a nice way to detect and configure snmp plugins, but has one missing feature; it's not posible to auto configure multi purpose plugins.

If you want to create one plugins, lets call it snmp__foobar_, that can fetch two types of data (fans and temp from sensors is a good example), there is no way to auto configure it to snmp_host_foobar_fans and snmpt_host_foobar_temp.

I think such multi purpose plugins are generally a good thing when making plugins for similar data.

Change History

10/11/06 11:42:20 changed by bjorn

  • status changed from new to closed.
  • resolution set to worksforme.

You should use (the recommended) munin-node-configure instead.

On my system, it definitely auto-configures itself (lines re-formatted for readability):

donald:~# munin-node-configure --snmp 10.0.0.1 \
    --snmpversion 1 --snmpcommunity SECRET --shell
ln -s /usr/share/munin/plugins/snmp__if_err_ \
    /etc/munin/plugins/snmp_router.example.no_if_err_103
ln -s /usr/share/munin/plugins/snmp__if_err_ \
    /etc/munin/plugins/snmp_router.example.no_if_err_201
ln -s /usr/share/munin/plugins/snmp__if_err_ \
    /etc/munin/plugins/snmp_router.example.no_if_err_202
ln -s /usr/share/munin/plugins/snmp__if_ \
    /etc/munin/plugins/snmp_router.example.no_if_103
ln -s /usr/share/munin/plugins/snmp__if_ \
    /etc/munin/plugins/snmp_router.example.no_if_201
ln -s /usr/share/munin/plugins/snmp__if_ \
    /etc/munin/plugins/snmp_router.example.no_if_202

10/11/06 23:46:03 changed by janl

  • status changed from closed to reopened.
  • resolution deleted.
  • component changed from plugins to doc.
  • description changed.

10/11/06 23:46:48 changed by janl

  • owner changed from nobody to bjorn.
  • status changed from reopened to new.

this needs to be documented.