Fixed
Details
Assignee
Chandra GorantlaChandra GorantlaReporter
Chandra GorantlaChandra GorantlaStory Points
3Original estimate
Time tracking
No time logged3m remainingSprint
NoneFix versions
Priority
Minor
Details
Details
Assignee
Chandra Gorantla
Chandra GorantlaReporter
Chandra Gorantla
Chandra GorantlaStory Points
3
Original estimate
Time tracking
No time logged3m remaining
Sprint
None
Fix versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created May 10, 2022 at 6:31 PM
Updated May 17, 2022 at 4:37 PM
Resolved May 16, 2022 at 8:13 PM
In case of missing script-file, we throw
RuntimeException
ingetRuntimeAttributes
which results in event with following description.<p>A DeviceConfig-default outage was identified on interface 192.168.1.123 because of the following condition: Unexpected exception while polling PollableService[location=Default, interface=PollableInterface [PollableNode [42]:192.168.1.123], svcName=DeviceConfig-default]. java.lang.RuntimeException: java.io.FileNotFoundException: Couldn't find file juniper-vsrx-default.dcb in etc/device-config folder.</p> <p> A new Outage record has been created and service level availability calculations will be impacted until this outage is resolved.</p>
This is good to know the problem but once user fixes it, they can't do manual trigger since this fails early and doesn't go through monitor.
One way to fix this is pass on the error to monitor and monitor returns the failure. In this case, an actual entry gets created in the DeviceConfig table and UI will see the device.