AW: configuration help on remote hosts

carole verdon verdon at cict.fr
Fri May 14 11:37:12 CEST 2004


What is your check_disk definition in nrpe.cfg ?

Example:
If in nrpe.cfg, you define this :
command[check_disk_test]=/usr/local/nagios/libexec/check_disk -w $ARG1$ 
-c $ARG2$

In definition of service, you must write:

check_command	check_nrpe!check_disk_test!20%!10%


anil kamath wrote:

>Hi,
>
>i am unable to get the remote disk check on a remote
>host it gives incorrect command line arguments found.
>define service{
>        use                            
>generic-service
>        host_name                       rakeshlnx
>        service_description             check space
>        is_volatile                     0
>        check_period                    24x7
>        max_check_attempts              3
>        normal_check_interval           5
>        retry_check_interval            1
>        contact_groups                  linux-admins
>        notification_interval           120
>        notification_period             24x7
>        notification_options            c,r
>        check_command                  
>check_nrpe!check_disk
>}
>
>
>
>please help its very urgent..
>
>regards,
>anil
>
>
>--- "Schaffranneck, Sven (K-DOI-5/4)"
><sven.schaffranneck at volkswagen.de> wrote:
>  
>
>>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
>>    
>>
>
>
>
>	
>		
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! - Internet access at a great low price.
>http://promo.yahoo.com/sbc/
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: SourceForge.net Broadband
>Sign-up now for SourceForge Broadband and get the fastest
>6.0/768 connection for only $19.95/mo for the first 3 months!
>http://ads.osdn.com/?ad_id=2562&alloc_id=6184&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
>
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040514/693d36b0/attachment.html>


More information about the Users mailing list