not a real issue but rather an improvment request (or an hint to evrybody using icinga2):
I want to use "check_ganglia_metric.sh" with icinga2.
Since the config syntax of icinga2 has changed significantly I needed to do the following adjustments to get it working:
tweek check_ganglia_metric.sh:
27,31c27
< if [[ $ARG =~ .*=$ ]];then
< CHECK_ARGS=${CHECK_ARGS}"&"${ARG}
< else
< CHECK_ARGS=${CHECK_ARGS}${ARG}
< fi
---
> CHECK_ARGS=${CHECK_ARGS}"&"${ARG}
not a real issue but rather an improvment request (or an hint to evrybody using icinga2): I want to use "check_ganglia_metric.sh" with icinga2. Since the config syntax of icinga2 has changed significantly I needed to do the following adjustments to get it working: tweek check_ganglia_metric.sh:
in commands.conf add:
note the "=" INSIDE the key!
now create gangliachecks.conf with:
in templates.conf you add:
that's it, restart icinga2 and you'll get icinga2 checking via ganglia for a load_one higher than 2
hope that helps
regards
b