Open GuusH opened 10 years ago
Please send a pull request, thnak you!
Its done and merged :D
Thanks
On Fri, Jul 11, 2014 at 5:59 PM, Andreas Karfusehr <notifications@github.com
wrote:
Please send a pull request, thnak you!
— Reply to this email directly or view it on GitHub https://github.com/shinken-monitoring/check_shinken/issues/3#issuecomment-48748778 .
Hi,
The current version of this check returns "OK" if a daemon is running, but you can't see if that's a spare daemon or a "live" one. You can ask that of livestatus, but I thought it would be handy to have this check output it too. After applying the patch you get these kinds of results:
The check uses the 'have_conf' api call, which all daemons implement, except for the arbiter. So you can't get this info for the arbiter unfortunately (it does have a have-conf method, but that's an internal one). I couldn't find the info in livestatus either, so I'm open to suggestions on how to get this info for the arbiter. Here's the patch:
I hope you will consider applying this patch. Thanks!!
Guus