AW: configuration help on remote hosts

Schaffranneck, Sven (K-DOI-5/4) sven.schaffranneck at volkswagen.de
Wed Apr 28 16:00:38 CEST 2004


Hello,

> My question is do i have to run the daemon on all the
> remote hosts that i need to monitor!!

If use want to use nrpe -> Yes.
You even have the possibility to use send_nsca (passive-check) and
check_by_ssh (active-check, but high load on nagios-server and you must have
a sshd running on remote host)


> how do i pass
> parameters to check_nrpe to check the diskspace and 
> processes on the remote system. Please help me its
> very Urgent. o i have to make any changes in the local
> configuration file and what changes do i have to make
> in the nrpe.cfg. is it safe to run the nrpe daemon as
> an xinetd service????.

you have to compile your nrpe and check_nrpe with "--enable-command-args".
In the nrpe.cfg you have to set: "dont_blame_nrpe=1". Now you can pass your
paramaters via check_nrpe to the daemon.

--------------------------
define command {
        command_name    check_nrpe_ssl_args
        command_line    $USER1$/check_nrpe_ssl -t 120 -H $HOSTADDRESS$ -c
$ARG1$ -a $ARG2$
}
---------------------------
define service {
    name                        nrpe_ssl_swap
    use                         generic-unix
    register                    0
    service_description         NRPE_Swap
    check_command               check_nrpe_ssl_args!check_swap!25% 10%
}
--------------------------


Mit freundlichen Grüssen,
Sven Schaffranneck
K-DOI-5/4

Volkswagen AG
Brieffach 1883
38436 Wolfsburg

Telefon: +49 (5361) 9-3 88 58
http://www.volkswagen.de 


> please reply !!!
> 
> Regards,
> Anil 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Win a $20,000 Career Makeover at Yahoo! HotJobs  
> http://hotjobs.sweepstakes.yahoo.com/careermakeover 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... 
> Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> 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
> 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
_______________________________________________
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