check_nrpe with -n option
stephen wing
stephen.wing at steria.co.uk
Tue Oct 16 11:51:03 CEST 2007
Hi All
Just to let you know I have overcome my problem, the history of
why I needed this was that my nagios server and the check_nrpe command were
compiled on a linux box with SSL. Therefore it defaults to use SSL when you
use the check_nrpe command. My issue came when I am using the nrpe on an AIX
machine. On this client the nrpe was compiled with SSL disable, therefore
the check_nrpe command could not connect. To overcome this problem I defined
a command as follows :-
# 'check_nrpe_no_ssl' command definition
define command{
command_name check_nrpe_no_ssl
command_line $USER1$/check_nrpe -n -H $HOSTADDRESS$ -p $ARG1$ -c
$ARG2$
}
Therefore when I need to define a service to my AIX client I use the
check_nrpe_no_ssl command.
Regards
Stephen
---------------------------------------
Stephen Wing
Steria Limited
Senior Technical Consultant
Telephone 02890393605
Mobile 07966823605
_____
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stephen
wing
Sent: 16 October 2007 09:51
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_nrpe with -n option
Hi All
I need to use check_nrpe with the "-n" option so that it does
not use SSL connection, When I use this from the command line I get the
result I expect. My question is what should the services.cfg file look like
to include this option. My current services.cfg file looks like this :-
define service {
host_name HCNTEST1
service_description / Free Space
check_command check_nrpe!5666!check_root
use generic-service
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
check_period 24x7
notification_interval 60
notification_period 24x7
notification_options w,c,r
contact_groups localadmins
}
Regards
Stephen
---------------------------------------
Stephen Wing
Steria Limited
Senior Technical Consultant
Telephone 02890393605
Mobile 07966823605
*****************************************************************
This email originates from Steria Limited, registered office: Three Cherry
Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England
and Wales, number 2706218; www.steria.co.uk.
This email and any attachments may contain confidential information and may
be subject to copyright or other intellectual property rights. It is only
for the use of the addressee(s). You are prohibited from copying,
forwarding, disclosing, saving or otherwise using it in any way if you are
not the addressee(s) or responsible for delivery.
If you receive this email by mistake, please advise the sender and cancel it
immediately.
Steria may monitor the content of emails within its network to ensure
compliance with its policies and procedures.
Any email is susceptible to alteration and its integrity cannot be assured.
Steria shall not be liable if the message is altered, modified, falsified,
or edited.
*****************************************************************
This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk.
This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery.
If you receive this email by mistake, please advise the sender and cancel it immediately.
Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures.
Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071016/bf4882ac/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list