Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

More information: Deduplication and storm control in opEvents#StatefulDeduplication,ForwardedEventsandReorderProtectionreorder_protection 




Fast create remote event (beta)

We have recenlty rewritten create remote event in Go and have provided the option for it to use token auth skipping out one of the requests from the perl version.

Version one can be downloaded here:

https://dl-omk.opmantek.com/remote_event/fast-remote-event-1.0.0-LinuxX86_64.bin

Code Block
  -d int
    	Log Level (default 4)
  -p string
    	Password for the remote user
  -path string
    	Path for generate auth token script (default "/usr/local/omk/bin/generate_auth_token.pl")
  -q	Verify the servers TLs connection (default true)
  -s string
    	http://servername:portnumber/omk, API endpoint details are automatic. (default "http://localhost:8042/omk")
  -t string
    	Token for auth
  -u string
    	Username for remote server (default "nmis")
  -v	Verify the servers TLs connection (default true)
  -version
    	Print out the version


New in this version is using token auth so you can now skip passing the username and password and use a token from the master.

This is passed using -t

Code Block
fast-remote-event-1.0.0-LinuxX86_64.bin -s https://primary-one.opmantek.com/omk -t myexampletoken -event=testevent -host=localhost

If you have Opmantek Applications in a non standard location you can use -path to point to the full path of generate_auth_token.pl which is shiped in /usr/local/omk/bin/generate_auth_token.pl in future versions we aim to remove this.