set event-options generate-event ztp-registration time-interval 30
set event-options policy ztp-registration events ztp-registration
set event-options policy ztp-registration then execute-commands commands "op url http://1.1.1.1/some_slax.slax output syslog"