drewkerrigan/nagios-http-json

Please add an optional parameter to mitigate unknown to critical

Closed this issue · 3 comments

Hello,

we have a few cases where the check cant get results, because of unreachability. In this the check returns unknown. We whould like have an option mitigate this to critical.

Hi, yes it should be possible to provide a flag to override the exit code.

Implemented this feature here: #86

It works perfect.