Scriptd is not working at all for events that have nodes associated.

Description

The attached configuration files for Scriptd contains a simple example to forward nodeDown/nodeUp events as emails.

The exact same content works on latest Meridian 2016, but it doesn't work on 18.0.1 or develop.

Based on the logs, it seems like Scriptd doesn't react or something happens and prevents to execute the external scripts. The log doesn't provide any errors.

Note: I used Notifications/Actions for the component because there is no component for Scriptd.

Acceptance / Success Criteria

None

Attachments

4

Lucidchart Diagrams

Activity

Show:

Seth Leger September 15, 2016 at 11:04 AM

This was all caused by the getHierarchy() change. This change has been reverted in foundation-2016 so Scriptd will function properly again. Marking as fixed.

Alejandro Galue September 7, 2016 at 9:45 AM

I figured that with the following code change, Scriptd now works as expected:

The problem is that Meridian 2016 is using nodeDao.getHierarchy and Scriptd works, so maybe the problem is related with the DAO implementation (but I'm not sure).

Alejandro Galue September 7, 2016 at 9:42 AM

With a simple test using BeanShell, I figured out that the events that are not being forwarded are those that have a node associated

Fixed

Details

Assignee

Reporter

Priority

PagerDuty

Created September 6, 2016 at 4:56 PM
Updated September 15, 2016 at 11:04 AM
Resolved September 15, 2016 at 11:04 AM