custom script

Ludo Bosmans Ludo.Bosmans at aureusim.be
Thu Nov 18 13:27:05 CET 2004


Martinus,

Do you have in the nrpe.cfg file on the remote system enabled the following parameter ?
dont_blame_nrpe=1

kind regards,

ludo

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Martinus
Nel
Sent: donderdag 18 november 2004 13:18
To: Alloo, Vincent
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] custom script


Alloo,

Second person that said that :-)

I have :

LOG_FILE=/home/admin/logs/$1

in the script, which I believe is correct.

Martinus.

Alloo, Vincent wrote:

>Nel,
>Perharps you have to use the full path for your rel1.repost.Aug2604 file
>in the nrpe.cfg.
>
>Regards,
>
>Vincent Alloo
>TI France Design Systems Operations Manager
>Europe and Middle East IT Services
>Texas Instruments France
>
>E-Mail: v-alloo at ti.com
>Phone: +33 4 93 22 26 97
>Mobile: +33 6 82 13 00 80
>
>  
>
>>-----Original Message-----
>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
>>admin at lists.sourceforge.net] On Behalf Of Martinus Nel
>>Sent: Thursday, November 18, 2004 12:58 PM
>>To: nagios-users at lists.sourceforge.net
>>Subject: [Nagios-users] custom script
>>
>>Dear all,
>>
>>I created a custom check_log script, but I have a minor problem.
>>
>>Attached is the script.
>>
>> From the machine that the script resides, all is ok.
>>
>>NRPE config:
>>command[check_log_test]=/usr/local/nagios/check_logs
>>    
>>
>rel1.repost.Aug2604
>  
>
>>Output from machine running NRPE:
>>
>># /usr/local/nagios/check_logs rel1.repost.Aug2604
>>*** Repost of all pending candidates started at 10:00:01 PM *** : ***
>>Repost finished at 10:27:49 PM ***
>>#
>>
>>Good.
>>
>>Output from machine running Nagios:
>>
>># /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -p 5666 -c
>>check_log_test
>>File does not exist.
>>
>>Not good.
>>
>>The standard checks work all good, so I know there is nothing wrong
>>    
>>
>with
>  
>
>>nagios / NRPE.
>>
>>I had a look at the stock check_log, but could not find any help
>>    
>>
>there.
>  
>
>>Any help appreciated.
>>
>>--
>>Martinus Nel
>>System Administrator
>>Scarce Skills Ltd.
>>http://www.scarceskills.com
>>Tel: +44 (0) 1633 225461
>>
>>
>>    
>>
>------------------------------------------------------------------------
>--
>  
>
>>-
>>DISCLAIMER
>>This e-mail message and any attachments are confidential and may also
>>    
>>
>be a
>  
>
>>privileged communication. It is intended solely for the person(s) to
>>    
>>
>whom
>  
>
>>it
>>is addressed. If you are not the intended addressee of the message you
>>must
>>take no action based on it. Please reply to this message to let us
>>    
>>
>know
>  
>
>>you
>>received it in error and also delete the message from your system.
>>Internet e-mails are not necessarily secure and you should be mindful
>>    
>>
>of
>  
>
>>this when e-mailing us.
>>
>>The contents of an attachment to this e-mail may contain software
>>    
>>
>viruses
>  
>
>>which could damage your own computer system. Whilst we have taken
>>    
>>
>every
>  
>
>>reasonable precaution to minimise this risk, we cannot accept
>>    
>>
>liability
>  
>
>>for
>>any damage which you sustain as a result of software viruses. You
>>    
>>
>should
>  
>
>>carry out your own virus checks before opening the attachment.
>>
>>    
>>
>------------------------------------------------------------------------
>--
>  
>
>>-
>>    
>>
>
>
>
>  
>


-- 
Martinus Nel
System Administrator
Scarce Skills Ltd.
http://www.scarceskills.com
Tel: +44 (0) 1633 225461

---------------------------------------------------------------------------
DISCLAIMER
This e-mail message and any attachments are confidential and may also be a
privileged communication. It is intended solely for the person(s) to whom it
is addressed. If you are not the intended addressee of the message you must
take no action based on it. Please reply to this message to let us know you
received it in error and also delete the message from your system.
Internet e-mails are not necessarily secure and you should be mindful of
this when e-mailing us.

The contents of an attachment to this e-mail may contain software viruses
which could damage your own computer system. Whilst we have taken every
reasonable precaution to minimise this risk, we cannot accept liability for
any damage which you sustain as a result of software viruses. You should
carry out your own virus checks before opening the attachment.
---------------------------------------------------------------------------




-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
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