Hi Carlo! On Fri, 14 Mar 2008, Carlo Alberto Bedogni wrote:
> i have nagios 2.10 on centos 5 , i'm trying to install check_ssh plugin ( in > my system is in /usr/lib64/nagios/plugins ) > in /etc/nagios/localhost.cfg i have add this line : > > define service{ > use > local-service ; Name of service template to use > host_name localhost > service_description Check ssh > check_command check-ssh > } > > > and in /etc/nagios/command.cfg this line : > > # 'check_ssh' command definition > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ > } Your check_command in the service definition and the comamnd_name in the command definition need to match. They don't. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null