Dear all
I am trying to run an exportd with a simple script.
I’ve followed all instructions however the exportd fails with the below message:
You are not allowed to execute this script. Could not open .datagerry_exec.json file.
I’ve included the .datagerry_exec.json file including the script name as shown below:
{
“allowed_scripts”: [“onmsctl”]
}
This json is included in both of the below locations:
/usr/bin/
/opt/onmsctl/
For the exportD script the following is defined as the script value:
/usr/bin/onmsctl --url https://onms.domain.priv/opennms --user username --passwd ‘password’ inv req add
In theory after the add the name of the respective value will be appended, which does not happen since I continuously get the communicated error.
The same command is run with both users root and datagerry, so there is no authorization issues on the users.
Is this a bug or I am not doing something correct?