Yes, by default alias is the hostname, so if people want to have the same
value, ti's not ap roblem, but people that got different alue (like with
uppercase name) can if we are using the alias.


Jean

On Tue, Mar 19, 2013 at 7:17 AM, DessaiImrane <notifications@github.com>wrote:

> In etc/packs/virtualization/vmware/esx/commands.cfg:
>
> > @@ -10,33 +11,33 @@
> >  ##ARG1 and take cpu, io, net or mem
> >  define command{
> >         command_name     check_esx_host
> > -       command_line     $PLUGINSDIR$/check_esx3.pl -D $VCENTER$ -H $HOSTADDRESS$ -u $VCENTERLOGIN$ -p $VCENTERPASSWORD$ -l $ARG1$
> > +       command_line     $PLUGINSDIR$/check_esx3.pl -D $_HOSTVCENTER$ -H $HOSTALIAS$ -u $_HOSTVCENTER_LOGIN$ -p $_HOSTVCENTER_PASSWORD$ -l $ARG1$
>
> It's better to use HOSTALIAS thant HOSTADDRESS
>
> I generally use a real name for naming my VMs in vCenter
>
> As, check_esx3 try to find info by Object Name, hostalias is a good choice
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/naparuba/shinken/pull/780/files#r3426288>
> .
>