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

[22.10.0] ACK macros not working with notification commands #459

Open
samaga777 opened this issue Dec 7, 2022 · 4 comments
Open

[22.10.0] ACK macros not working with notification commands #459

samaga777 opened this issue Dec 7, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@samaga777
Copy link

Hello, seems that AKNOWLEDGEMENT related macros are not working in notification commands.

Here when I try to use for ex the $SERVICEACKAUTHOR$ and $SERVICEACKCOMMENT$ :

  • command line:
    $CENTREONPLUGINS$/test.sh "$NOTIFICATIONTYPE$" "$SERVICEACKAUTHOR$" "$SERVICEACKCOMMENT$"

  • centengine.log:
    [2022-12-07T17:06:33.815+01:00] [commands] [debug] [1910013] Running command '/usr/lib/centreon/plugins//test.sh "ACKNOWLEDGEMENT" "" ""'...

If I use other random macros there is no problem:

  • command line:
    $CENTREONPLUGINS$/test.sh "$NOTIFICATIONTYPE$" "$HOSTSTATE$" "$DATE$"

  • centengine.log:
    [2022-12-07T17:09:28.200+01:00] [commands] [debug] [1910013] Running command '/usr/lib/centreon/plugins//test.sh "ACKNOWLEDGEMENT" "DOWN" "07-12-2022"'...

@bouda1
Copy link
Collaborator

bouda1 commented Sep 12, 2023

Hi @samaga777

What version of centengine do you use?
Thanks.

@samaga777
Copy link
Author

Hello, since the first post centengine has been updated to version 23.04.2
The issue still persists

@omercier
Copy link
Contributor

Hello, thank you for your issue. We have created a ticket in our internal bug tracking tool.

@omercier omercier added the bug Something isn't working label Sep 19, 2023
@elmarsievers
Copy link

hello. have the same error.

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

4 participants