Page 1 of 1
check_by_ssh in nagiosXI
Posted: Wed Jul 07, 2010 1:40 pm
by DingChavez
Hello, I am about to purchase nagiosxi but a few of my older serversrequire checks to be run via ssh. I can successfully get the check to run correctly via the check_by_ssh at the command line but I am having an issue adding it via the services in the Nagios Core Configuration Manager. It seems I need the check_by_ssh available in the drop down labeled "Check Command." Does anyone no exactly how to make the command available?
Re: check_by_ssh in nagiosXI
Posted: Wed Jul 07, 2010 2:25 pm
by tonyyarusso
Look farther down in the left sidebar of the Core Config Manager, and you'll see a heading for "Commands". In there, you'll define the command with the path to the check plugin, how many arguments it takes, etc. Once you've done that it will be available in the dropdown.
Re: check_by_ssh in nagiosXI
Posted: Thu Jul 08, 2010 4:21 am
by Box293
DingChavez,
Have a look at the
Service Relationship Map PDF in this post, it may help you visualise the check command.
http://support.nagios.com/forum/viewtop ... 72&start=0
Re: check_by_ssh in nagiosXI
Posted: Thu Jul 08, 2010 10:13 am
by DingChavez
Yup, both of those helped. Thanks a lot!