0 {{postValue.vote_count}}

how to monitor haproxy using nagios

Hello, i cannot monitor my HAProxy server through nagios i got the below error when i am try to execute the haproxy plugin

[root@nagios libexec]# ./check_haproxy.rb -u http://192.168.1.13:9099/haproxy?stats -U admin -P pass -w 95 -c 100
bash: ./check_haproxy.rb: /usr/bin/ruby^M: bad interpreter: No such file or directory

{{forumCtrl.question_commentErr}}

Your Answer
{{forumCtrl.responseErr}}