TECHZEN Zenoss User Community ARCHIVE  

zensendevent with 6.1.0

Subject: zensendevent with 6.1.0
Author: [Not Specified]
Posted: 2020-01-29 08:38

Hi, planning on migrating from version 4.5 and run into issue with zensendevent run remotely, 

socket.error: [Errno 111] Connection refused

Is there addtional config required to have this work on 6.1

thks


Subject: RE: zensendevent with 6.1.0
Author: Jane Curry
Posted: 2020-02-05 05:12

You need to run this from the zenhub container.  Is that what you are doing?
Cheers,
Jane

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


Subject: RE: zensendevent with 6.1.0
Author: [Not Specified]
Posted: 2020-02-05 07:06

Hi Jane

 

We use zensendevent on all our monitored nodes to send alerts back to zenoss, the command does work on the container itself but when attempted from any of the monitored nodes we get

socket.error: [Errno 111] Connection refused
thks



Subject: RE: zensendevent with 6.1.0
Author: Michael Rogers
Posted: 2020-02-05 15:50

In Zenoss 4.2 and prior, you could get away with using zensendevent remotely.  After Zenoss was "dockerized" (version 5.0 and up), zensendevent will only work from within a container.

If you need non-Zenoss devices to send events into your Zenoss instance, you can switch to using the API.  This KB article can get you started.

------------------------------
Michael J. Rogers
Senior Instructor - Zenoss
Austin TX
------------------------------


< Previous
Getting "SSL Error: SSL routines, SSL23_READ, ssl handshake failure" for WinRM D ...
  Next
Multiple zenhub found "attach zenhub" with 6.3.2-1
>