Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20396

SAM PagerDuty integration issues with volume names

$
0
0

We're using PagerDuty with SAM to handle on-call rosters & escalations.

 

We've hit an issue with disk alerts where PagerDuty is choking on the "\" character that is part of the volume name we want to include in alerts (eg. "S:\ Label: 86b4c87d").

 

Basically, when we POST it to PagerDuty it returns with the following error;

 

Encountered error in GET action. - The remote server returned an error: (400) Bad Request

 

I looked at the available macros for Volumes, and it seems like ${Caption}, ${VolumeDescription}, and ${FullName} all include the "\" by default.

 

There are a couple of ways of tackling this that I can think of. One is to create a separate alert for each volume and just hard code the drive letter in the alert text, rather than having SAM insert it via a Macro. It would be better if I can remove the "\" char from one of the available macro fields. Does anyone know if that is possible? Are they customizable?

 

Has anyone else hit this issue and have a different way of dealing with it? I can't believe I'm the first person to try sending disk alerts to PagerDuty.


Viewing all articles
Browse latest Browse all 20396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>