Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tanguyvda opened this issue Oct 7, 2021 · 0 comments
Open

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

tanguyvda opened this issue Oct 7, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@tanguyvda
Copy link
Contributor

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

@Sims24 Sims24 added the bug Something isn't working label Nov 16, 2021
@Sims24 Sims24 changed the title Macro conversion may fail with strings containing % (stream/bug) macro conversion may fail with strings containing % Nov 16, 2021
@Sims24 Sims24 changed the title (stream/bug) macro conversion may fail with strings containing % (stream) macro conversion may fail with strings containing % Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants