Other Usage

PSA: latest broken hosts app 4.2.2 has a bug

Wiessiet
Path Finder

For anyone using Hurricane Labs "Broken hosts" app (https://splunkbase.splunk.com/app/3247) note that the latest version, 4.2.2, appears to have a very minor but breaking bug. The file /default/savedsearches.conf has a stanza for the "Broken Hosts Alert - by contact" alert. Depending how you use the app, that potentially drives your entire alerting mechanism. Two lines in that file (121 & 130) wrap a built-in search macro in double quotes where they should not exist:

 

| fillnull value="`default_expected_time`" lateSecs

 

should be:

 

| fillnull value=`default_expected_time` lateSecs

 

The result of this is to assign the string value "`default_expected_time`" to the lateSecs variable, rather than expanding to whatever default integer you configured in the macro. Removing those double quotes from both lines seems to fix the issue. I've also raised an issue on the Hurricane Labs github page below...though activity there is pretty stale and I'm not sure if anyone is looking there...

https://github.com/HurricaneLabs/brokenhosts/issues/3

0 Karma
1 Solution

Wiessiet
Path Finder

Yes I have - that was the GitHub link I posted. Actually they were very quick to address it (and a second issue I found after identifying the first). It sounds like their GitHub code has been updated, but not the version loaded on SplunkBase yet.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That's a supported app.  Have you contacted the developer?

---
If this reply helps you, Karma would be appreciated.

Wiessiet
Path Finder

Yes I have - that was the GitHub link I posted. Actually they were very quick to address it (and a second issue I found after identifying the first). It sounds like their GitHub code has been updated, but not the version loaded on SplunkBase yet.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...