Versions Compared

Key

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

xit

Table of Contents

General

opEvents versions 2.0 and newer provide a REST-style API for limited event management, e.g. creation and retrieval of single events, and lookup of events.
This version also comes with a simple client (both source and compiled), /usr/local/omk/bin/create_remote_event.pl (and .exe).

...

ParameterDescription
o_start, o_end

Start and end of the period you are interested in.
Takes all standard opEvents Date/Time formats and UNIX seconds.

Note, you should pass o_summarise=1 to make sure UNIX time is not rounded.

o_node_nameName of the node you are interested in.
You can use "regex:<regular expression>" or a plain text string.
ev_event_nameName of the event you are interested in.
You can use "regex:<regular expression>" or a plain text string.
ev_event_typeType of the event, i.e. what source it came from.
e.g: nmis_eventlogapi.
ev_event_elementElement in question. Not present for all events.
Regex or plain text string.
ev_event_detailsDetails that were supplied with the event. Not present for all events.
Regex or plain text string.

...