TECHZEN Zenoss User Community ARCHIVE  

How to use heartbeat feature for own events?

Subject: How to use heartbeat feature for own events?
Author: [Not Specified]
Posted: 2014-03-18 04:06

Hi,

I managed to add events as described here http://community.zenoss.org/docs/DOC-2479 via JSON API in Zenoss 4.2.3.

curl -u : -X POST -H 'Content-Type: application/json' -d '{"action":"EventsRouter","method":"add_event","data":[{"device":"","component":"TEST","summary":"TEST","severity":"Warning","evclasskey":"TEST","evclass":"/Heartbeat"}], "tid":1}' http:///zport/dmd/evconsole_router

A transform rule adds the attribute timeout (evt.timeout = 600).

But: no entry for this heartbeat is generated in the table zenoss_zep.daemon_heartbeat.

What am I doing wrong

Thanks for any help in advance!

Christian



Subject: did you see this doc?
Author: [Not Specified]
Posted: 2014-07-07 20:36

http://community.zenoss.org/docs/DOC-2479



< Previous
How to grant permission to Role ZenUser to start/restart Daemon
  Next
Start, stop, and status applications
>