Skip to content

(stream) macro conversion may fail with strings containing % #77

@tanguyvda

Description

@tanguyvda

a service with the following output
OK: Interface 'GigabitEthernet2/0/45' Status : up (admin: up), Traffic In : 0.00b/s (0.00%), Traffic Out : 13.06Kb/s (0.01%)

can lead to the below error when some conversion occurs

error: lua: error running function `write'/usr/share/lua/5.3/centreon-stream-connectors-lib/sc_macros.lua:222: invalid use of '%' in replacement string

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions