1
我正在嘗試使用JASIG站點上列出的Nagios插件來監視我的CAS服務器。如何使用Nagios Perl插件?
腳本從命令行運行良好,所以我把它放在/usr/local/nagios/libexec
,使它可執行並重新啓動Nagios。
我用的命令是:
define command {
command_name check_cas
command_line check_cas.pl -H cas.baba.org -u "/cas/login" -p 8443 -l abc -a booey -r "Log In Successful"
}
從我所知道的,插件沒有被發現:
(Return code of 127 is out of bounds - plugin may be missing)
有沒有別的東西,我需要做什麼?
我在我的resources.cfg中有這個。只需雙重檢查。 – user1187931 2012-02-03 19:23:30
@ user1187931編輯我的答案 – dgw 2012-02-03 20:01:10