TECHZEN Zenoss User Community ARCHIVE  

Send Events using a REST call

Subject: Send Events using a REST call
Author: [Not Specified]
Posted: 2014-05-13 16:13

As per the following guide (http://community.zenoss.org/docs/DOC-2476) I am trying to send an event from an outside systm to my Zenoss server. Here is the string I am using, and I am getting a 404. What am I missing

wget 'http://scriptuser:password@zenoss.domain.local:8080/zport/dmd/ZenEventMa... &

Resolving zenoss.domain.local... 192.168.20.201
Connecting to zenoss.domain.local|192.168.20.201|:8080... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-05-13 16:12:03 ERROR 404: Not Found.



Subject: that page is ancient.
Author: [Not Specified]
Posted: 2014-07-07 19:07

Sending events via rest is currently unavailable as of zenoss 4.x
The new way to do this is via the json api.

http://www.snip2code.com/Snippet/20238/Zenoss-JSON-API-Shell---Bash-script

see line 47 for an example of the send event api.

Eric



< Previous
Error Removing Devices
  Next
Graphs showing blank using WMI
>