[Nagiosplug-help] erreur log

guillaume LOHEZ guillaume.lohez at linagora.com
Mon May 2 03:03:21 CEST 2005


Why not about "IP"

But anyway, you hava to define "IP" !!
Nagios plugin don't know "IP".......

Look for that....

Regards
Guillaume


Guyard Marc a écrit :

> Yes $HOSTADDRESS$ is an internal variable and my IP isn't a variable
> but is for don't indicate the ip checked. If i use the  $HOSTADDRESS$,
> i do indicate in my group config files the adresse. And i don't want
> this because i've many services with many differents adress in the
> same host. it's to that i indicated $ARG1$ and not  $HOSTADDRESS$.
>
> I've send this mail in many nagios ML in french and in english to have
> many respond.
>
>
>
> guillaume LOHEZ a écrit :
>
>> $HOSTADDRESS$ is an internal variable of Nagios which contains the
>> address of current host....
>>
>> So if you command definission is like that:
>> ------------
>> define command{
>>      command_name    check_dns
>>      command_line    $USER1$/check_dns -H www.yahoo.com -s $HOSTADDRESS$
>>      }
>> ------------
>> and your service difinition:
>> ------------
>> define service{
>>      use                                     generic-service
>>      host_name                         SERVICE_CHECK_DNS
>>      service_description          Verification des DNS
>>      is_volatile                          0
>>      check_period                    24x7
>>      max_check_attempts        3
>>      normal_check_interval     3
>>      retry_check_interval         1
>>      contact_groups                 admin_X
>>      notification_interval         120
>>      notification_period           24x7
>>      notification_options         w,u,c,r
>>      check_command               check_dns
>>      }
>> -----------
>>
>> Nagios will send the IP address of current host to check_dns..... i
>> think, that's what you want ??
>> And anyway the variable "IP" you use in your definition command doesn't
>> exist in Nagios.
>>
>> Regars
>> Guillaume
>>
>> PS: it seems, you have some problems with english..... I think, you have
>> to find a french Mailing list for Nagios !!
>> I'm french too.... but this is an English ML....
>>
>>
>>
>>  
>>
>


-- 
Guillaume LOHEZ
Administrateur Systemes & Reseaux
Portable: +33 (0)6 72 23 20 16
E-mail: guillaume.lohez at linagora.com
------------------------------------
LINAGORA
30 Rue Saint Augustin, PARIS 2eme
Telephone: +33 (0)1 58 18 68 28






More information about the Help mailing list