Skip to content

Process name regexp with | breaks check_snmp_process perfdata output #91

@pboguslawski

Description

@pboguslawski

When check_snmp_process.pl is executed with regexp containing pipe sign i.e. -n '^rsyslogd$|^named$', text message in output contains | and is recognized as start of perfdata which breaks processing it.

Seems pipe cannot be escaped there so consider replacing | with its HTML entity | i.e. by inserting

$o_descr =~ s/\|/|/g;

in line 847.

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