check_by_ssh in nagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
DingChavez
Posts: 3
Joined: Wed Jul 07, 2010 1:27 pm

check_by_ssh in nagiosXI

Post 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?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: check_by_ssh in nagiosXI

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: check_by_ssh in nagiosXI

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
DingChavez
Posts: 3
Joined: Wed Jul 07, 2010 1:27 pm

Re: check_by_ssh in nagiosXI

Post by DingChavez »

Yup, both of those helped. Thanks a lot!
Locked