Documentation

zenoss.endpoint() function

zenoss.endpoint() is a user-contributed function maintained by the package author and can be updated or removed at any time.

zenoss.endpoint() sends events to Zenoss using data from input rows.

Function type signature
(
    password: string,
    url: string,
    username: string,
    ?action: A,
    ?method: B,
    ?tid: C,
    ?type: D,
) => (
    mapFn: (
        r: E,
    ) => {
        F with
        summary: N,
        severity: M,
        message: L,
        eventClassKey: K,
        eventClass: J,
        device: I,
        component: H,
        collector: G,
    },
) => (<-tables: stream[E]) => stream[{E with _sent: string}]
For more information, see Function type signatures.

Parameters

url

(Required) Zenoss router endpoint URL.

username

(Required) Zenoss username to use for HTTP BASIC authentication. Default is "" (no authentication).

password

(Required) Zenoss password to use for HTTP BASIC authentication. Default is "" (no authentication).

action

Zenoss router name. Default is "EventsRouter".

method

EventsRouter method. Default is "add_event".

type

Event type. Default is "rpc".

tid

Temporary request transaction ID. Default is 1.


Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.