TECHZEN Zenoss User Community ARCHIVE  

Zenoss 5.x PagerDuty 1.10 Zenoss Server URL

Subject: Zenoss 5.x PagerDuty 1.10 Zenoss Server URL
Author: lnxzns
Posted: 2016-11-10 08:26

Hi,

We are using "ZenPacks.PagerDuty.APINotification-1.1.0.egg" Zenpack with our Zenoss 5.1.5 setup.

ZEnoss server URL in incident alerts received from PagerDuty is set to "http://localhost:8080/zport/..."

I am wondering where the "localhost" is set with this zenpack.

I tried unpacking zenpackand searching for that string in it with no success.

Also the wiki page for Zenpack version 1.0 refers to added zProperties (includingzPDZenossServer) but that property is not available with Zenpack version 1.1.0.

Can someone point me where this setting can be found

Thanks



Subject: Have you followed the link to
Author: Jane Curry
Posted: 2016-11-10 09:49

Have you followed the link to here https://www.pagerduty.com/docs/guides/zenoss-4-integration-guide/ . The Guide for Zenoss 4, under the Zenoss 4 bit, has point 1 as:

Login to your Zenoss servers shell as root. Open the /opt/zenoss/etc/zenactiond.conf file within your text editor. Update the zopeurl parameter to the URL that you use to access your Zenoss web interface. This parameter will be used to directly link from your PagerDuty console to your Zenoss web interface. Note: This can be an intranet URL. Make sure to remove the # symbol from this parameter so that the field is activated.

This comment seems to have been omitted from the Zenoss 5 stuff but I'll bet is still relevant. Looks like the ZenPack adds a new type of Zenoss Notification - which will be run by zenactiond.

Looking at my 5.1.8 from ADVANCED -> Control Center, select zenactiond and change the Display dropdown to show "Configuration File"; I have:

# http path to the root of the zope server
# (default: http://localhost:8080), default:
# http://localhost:8080
#zopeurl http://localhost:8080

Provided you have sufficient authority, you can change that setting from this panel; you will also need to restart zenactiond.

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



Subject: Hi Jane,
Author: lnxzns
Posted: 2016-11-10 10:21

Hi Jane,

So, would I simply edit/un-comment these two lines and restart zenactiond

# http://localhost:8080
#zopeurl http://localhost:8080

Thank you.



Subject: Hi
Author: lnxzns
Posted: 2016-11-10 11:32

Hi

I only had to update "zopeurl http://..." and restart zenactiond.

Now the pagerduty alert link indicates correct url for zenoss.

Thank you.



< Previous
Zenoss 4.2.5 WinRM ZenPack Problem
  Next
Zenoss5 Windows IIS Monitor Problem
>