Skip to content

OUI vendor name with space causes problem #43

@solsticedhiver

Description

@solsticedhiver

For host without a hostname , the plugin seems to use the vendor name from the OUI and the mac address too.

But this ends up with label or name with space, then causing error in /var/lib/munin/datafile

For example, in that said file, line 4048:

ymir;ymir:freebox_switch_stations3.Alfa Inc_ (00:C0:CA:XX:XX:XX).label Alfa Inc. (00:C0:CA:XX:XX:XX)

The error found in /var/log/munin/munin-update.log:

2022/09/05 15:50:30 [ERROR] config error under [] for 'ymir;ymir:freebox_switch_stations3.Alfa Inc_ (00:C0:CA:XX:XX:XX).label Alfa Inc. (00:C0:CA:XX:XX:XX)' : Parse error in /var/lib/munin/datafile for freebox_switch_stations3.Alfa: Unknown keyword at end of left hand side of line 4048 (freebox_switch_stations3.Alfa )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions