Configuration & Administration

Expand all | Collapse all

Inverting Ping Events?

  • 1.  Inverting Ping Events?

    Posted 08-16-2019 06:03 AM
    I was wondering if anyone has a good idea about how to achieve essentially an inversion of the ping events raised when a device does not ping.
    I.e we've got a specific device that for the most part is turned off and so the pings fail and raise events. When its turned on, the ping works and the ping failure events are removed.

    We really want the opposite of this, so that an event is raised when the ping succeeds and no event is shown when the ping fails (device is off).

    Basically to alert the user when the device is on, as under normal operation it would be off.

    Any ideas on the easiest way to achive this?

    ------------------------------
    Pheripheral Pheripheral
    ------------------------------


  • 2.  RE: Inverting Ping Events?

    Posted 22 days ago
    Hi, in the default ping, I don't see a way of doing this. Only thing is drop the events via a transform in the /status/ping event class.
    Then, you can setup your own "ping" and inverse the status output. (in your own eventclass)

    ------------------------------
    Chris
    ------------------------------



  • 3.  RE: Inverting Ping Events?

    Posted 19 days ago
    As Chris says, you could use an event transform to drop "bad news" events but you may run into problems with spotting the "Clear" event as a clear event that doesn't match a bad news event tends to get silently dropped by zeneventserver so you would need to ensure you change the severity of a "clear" event.

    If you are really only interested in alerts to a user, can you leave the events as they are but trigger a notification based on the device, /Status/Ping as the event class, for new events, with a severity of Clear?  If you have a notification for all devices on /Status/Ping "bad news" events, you may want to also modify that to exclude your specific device.

    Cheers,
    Jane

    ------------------------------
    Jane Curry
    Skills 1st United Kingdom
    jane.curry@skills-1st.co.uk
    ------------------------------