vMX
Highlighted
vMX

vmx not able to locate event file

[ Edited ]
‎07-29-2016 11:13 AM

Hi, 

I have a file utility.slax saved in  /var/db/scripts/event.

I get error when I am trying to commit the following configuration.

generate-event {
bhoomi time-interval 60;
}
policy project_3 {
events bhoomi;
then {
event-script utility.slax;
}
}
event-script {
file utility.slax;
}

[edit event-options]
root# commit
error: invalid filename: /var/db/scripts/event//utility.slax
error: Reading the configuration from event scripts failed
error: configuration check-out failed

I was able to commit after writing the policy but after adding the event-script I am getting the above error. 

Can someone please guide me on where I am wrong?

Feedback