John Jones wrote:
> Michael F:
>
> I was just going to bed when it hit me.
> Checked my email and your reply sync'd with what hit me.
>
> was:
> # command[check_load]=/usr/local/nagios/libexec/check_load -w 5,4,3 -c
> 10,8,6
> is:
> command[check_load]=/usr/local/nagios/libexec/check_load -w 6,5,4 -c 10,9,8

if this is *really* hardcoded on the remote client, the passed arguments 
on the icinga master are ignored!

if you want to make this modular, enable argument passing in nrpe 
(dont_blame_nrpe or similar) and define check_nrpe command to pass 
$ARG2$ and $ARG3$ directly to nrpe, like $ARG1$ = check_load. (the -a 
flag will allow you to). the the remote side, you will catch on those 
added arguments then too. see the docs for further instructions on that.

kind regards,
michael

> Thank you for your time.
>
> JJ
> Support Engineer
> Cirrhus9
> 10320 Meadow Glen Way East
> Unit 1B
> Escondido, CA  92026
>
> Office  - (760) 297-2148 ext 3
> Fax     - (760) 466-7207
> Home    - (330) 788-1876
> Skype:  - my-kungfu
> gpg fingerprint:    - C839 9940 16F0 F5ED 694A  6BA4 2F83 F0A7 86F2 8105
>
>
> On 07/13/2011 01:06 PM, Michael Friedrich wrote:
>> John Jones wrote:
>>> Hello Icinga-Users:
>>>
>>> I got a notification for a load check that is under the
>>> specified setting...
>>>
>>> "WARNING - load average: 3.66, 3.42, 3.04"
>>>
>>> Am I missing something, or did I mess up the definition?
>>>
>>> the service definition is:
>>> define service{
>>>           use                     generic-service
>>>           host_name               ftbmysql
>>>           contacts                c9admins,ftbalerts
>>>           contact_groups          ftbadmins
>>>           service_description     Check Load
>>>           max_check_attempts      2
>>>           retry_interval          1
>>>           check_interval          1
>>>           check_period            24x7
>>>           notification_interval   60
>>>           notification_options    w,u,c,r
>>>           notification_period     24x7
>>>           check_command           check_nrpe!check_load!6,5,4!10,9,8
>> can you provide the check_load command on the remote client?
>>
>>> }
>>>
>>>
>>> I hope it doesn't "register" in my head 2 minutes after sending this...
>>>
>>> Thank you for your time.
>>>
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric
> Ries, the creator of the Lean Startup Methodology on "Lean Startup
> Secrets Revealed." This video shows you how to validate your ideas,
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  [email protected]
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:    +43 1 4277 14338
web:    http://www.univie.ac.at/zid
        http://www.aco.net

Icinga Core&  IDOUtils Developer
http://www.icinga.org


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to