Error using SSH_Proxy wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Error using SSH_Proxy wizard

Post by nagiostool »

Hi i have installed SSH_Proxy monitorign wizard and monitored one linux host but i'm getting warning with the services , i have the screenshot attached please take a look at it

when i have run the following command from Nagios server I'm getting correct output, but through configuration wizard its throwing error.

/usr/loca/nagios/libexec/chech_by_ssh -H 192.168.3.1 -C uptime
11:28:19 up 109 days, 20:41, 5 users, load average: 1.28, 1.11, 1.03

With wizard only there is only provision to check three services , can i add other service if so how and where can i find them and there usage ?
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error using SSH_Proxy wizard

Post by scottwilkerson »

I think you missed one critical step in the documentation, that is
Install Nagios plugins and/or monitoring scripts

The test works because the command you are executing (after the -C ) is just uptime. This means you have the connection working properly. The wizard is passing the "Remote Command" field via ssh to the machine you are monitoring, the plugins need to put on the machine you are monitoring so they can be executed.

You can find some standard plugins on the Nagios server in the /usr/local/nagios/libexec folder and on the Nagios Exchange

Also, it will help to know what parameters need to be passed for each plugin ( they also go in the "Remote Command" field) which you can do from the commandline with a -h, ie.

Code: Select all

# /usr/local/nagios/libexec/check_load -h
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
nagiostool
Posts: 72
Joined: Wed Jul 20, 2011 2:17 am

Re: Error using SSH_Proxy wizard

Post by nagiostool »

scottwilkerson wrote:I think you missed one critical step in the documentation, that is
Install Nagios plugins and/or monitoring scripts

The test works because the command you are executing (after the -C ) is just uptime. This means you have the connection working properly. The wizard is passing the "Remote Command" field via ssh to the machine you are monitoring, the plugins need to put on the machine you are monitoring so they can be executed.

You can find some standard plugins on the Nagios server in the /usr/local/nagios/libexec folder and on the Nagios Exchange

Also, it will help to know what parameters need to be passed for each plugin ( they also go in the "Remote Command" field) which you can do from the commandline with a -h, ie.

Code: Select all

# /usr/local/nagios/libexec/check_load -h
Thanks a lot you where right i have missed out nagios-plugin

One thing can i get any help in writing custom plugins ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error using SSH_Proxy wizard

Post by scottwilkerson »

nagiostool wrote:Thanks a lot you where right i have missed out nagios-plugin
no problem.
nagiostool wrote: One thing can i get any help in writing custom plugins ?
I can point you in the right direction...
http://nagios.sourceforge.net/docs/3_0/plugins.html
http://nagiosplug.sourceforge.net/devel ... lines.html
and then once they work :roll:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked