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

check_mrpe not working with busybox sed (librenms docker) #393

Open
clyso opened this issue Jan 28, 2022 · 1 comment
Open

check_mrpe not working with busybox sed (librenms docker) #393

clyso opened this issue Jan 28, 2022 · 1 comment

Comments

@clyso
Copy link

clyso commented Jan 28, 2022

when running check_mrpe inside container (busybox sed) I receive following error:

sed: unterminated {

when running on container host (gnu sed) works as expected

@clyso
Copy link
Author

clyso commented Jan 28, 2022

following change fixed the problem:
instead of
sed '/^<<<mrpe>>>/,/^<<</{//!b};d'
use
sed '/^<<<mrpe>>>/,/^<<</{//!b;};d'

summary: add a semikolon before the closing bracket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants