Hi,<br><br>Follow instruction on ibm website, I want to use Nagios to alert on Ganglia metrics, details below:<br><br>- ganglia-services.cfg:<br><br>define command {<br> command_name check_ganglia<br> command_line $USER1$/check_ganglia.py -h $HOSTNAME$ -m $ARG1$ -w $ARG2$ -c $ARG3$<br>
}<br><br>define service {<br> host_name localhost<br> service_description disk_free<br> check_command check_ganglia!disk_free!1700!1600<br> max_check_attempts 5<br> check_interval 1<br>
retry_interval 1<br> check_period 24x7<br> notification_interval 30<br>}<br><br>- Reload Nagios, wait a moment and I get the following status on the web:<br>
<b><span style="color: rgb(255, 0, 0);">CHECKGANGLIA UNKNOWN: Error while getting value "Host/value not found" </span></b><br><br>- I edited ganglia_host to hostname.<br><br>- Run this plugin from command line works fine: <br>
<b>/usr/lib64/nagios/plugins/check_ganglia.py -h adtech100 -m disk_free -w 1700 -c 1600<br>CHECKGANGLIA OK: disk_free is 48.60<br clear="all"></b><br>Can anyone help me?<br>-- <br>--- Hạnh phúc là một ly Cafe và nhạc Trịnh ---<br>