[Labs-l] nagios monitoring via snmp / puppet freshness checks / ec2-metadata

Petr Bena benapetr at gmail.com
Sun Apr 1 09:15:26 UTC 2012


it works now

On Sat, Mar 31, 2012 at 7:47 PM, Platonides <platonides at gmail.com> wrote:
> On 31/03/12 11:37, Daniel Zahn wrote:
>> On Sat, Mar 31, 2012 at 6:53 PM, Petr Bena <benapetr at gmail.com> wrote:
>>> That is something you need to fix, since it's on puppet side. I can
>>> only do stuff on nagios.
>>
>> Adding it to puppet isn't a big deal, it's just _which_ command we can
>> use on an instance to find out the "nice" name.
>
> It's defined in the environment variable INSTANCENAME, which is set in
> /etc/bash.bashrc.
> Some openstack template must be copying the nice name there.
>
>
>
>> But i think i would prefer to change all instances and set their
>> hostname to the nice name, so that you also get those at the bash
>> prompt, and this also just works like on production without further
>> exceptions.
>
> Yes, it makes more sense.
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l



More information about the Labs-l mailing list