Hello guys,
Im using Centreon version 22.10.7. I want to use bash script as a command for sending notifications. The script basically takes notification info as argument, creates HTML and then sends this document using muttt via postfix.
As per my understanding notification commands are issued by the centreon-engine user. So I made sure the script is located in directory which is accesible by this user (/usr/lib/centreon/plugins/) and gave chmod +x and 777 permission to the script itself.
When I log in to ssh using centreon-engine user and use the command it works perfectly fine.
The setup in the web GUI look like this:
Is there something Im missing? Been trying to solve it the whole day.. please help
Thanks in advance for any kind of lead :-)