[Check_mk (english)] Alternatives to adding hosts manually

Preß, Philipp philipp.press at dm.de
Thu Feb 7 15:32:59 CET 2013


Awesome idea, thanks Roy!

Philipp

------------------------------------------------
dm-drogerie markt GmbH + Co. KG
FILIADATA GmbH
Produktionssysteme
Telefon +49 721 5592-2815
Telefax +49 721 5592-92815
philipp.press at dm.de


-----Ursprüngliche Nachricht-----
Von: Roy Marantz [mailto:rmarantz at appnexus.com]
Gesendet: Donnerstag, 7. Februar 2013 14:40
An: Preß, Philipp
Cc: checkmk-en at lists.mathias-kettner.de
Betreff: Re: [Check_mk (english)] Alternatives to adding hosts manually

The config files are really executed python code, so you can put code to populate the appropriate variables.  Example, we grab stuff from a database to populate hosts and tags.
Good luck.
Roy

On 2/7/13 8:34 AM, Preß, Philipp wrote:
> Hi there,
>
> Anyone out there who has implemented alternative ways of how to add a lot of hosts? I'm currently asking myself how to properly add and tag roughly 12,000 Windows 7 hosts. In this infrastructure, a lot of fluctuation happens with a dozens of hosts being installed / removed monthly. I'm able to install the agent for all of them with no problem (as we have software distribution running already), but I'm desperately looking for a way to add every agent who's knocking on the server's telnet port automatically.
>
> 2nd question I'm interested in is how I could implement a process that automatically removes hosts if they are down for > 2 weeks or so.
>
> I know it sounds a little confusing ('Why do you want to monitor hosts you aren't even exactly aware of'), but I have my reasons.
>
> Thanks in advance.
> Philipp
>
> ------------------------------------------------
> dm-drogerie markt GmbH + Co. KG
> FILIADATA GmbH
> Produktionssysteme
> Telefon +49 721 5592-2815
> Telefax +49 721 5592-92815
> philipp.press at dm.de
>
> ________________________________
>
> FILIADATA GmbH
> Carl-Metz-Str. 17, 76185 Karlsruhe * Postfach 10 02 34, 76232
> Karlsruhe Telefon 0721 5592-2500 Telefax 0721 5592-2777
> FILIADATA at dm-drogeriemarkt.de<mailto:FILIADATA at dm-drogeriemarkt.de> *
> www.FILIADATA.de<http://www.FILIADATA.de>
> GmbH: Sitz Karlsruhe, Registergericht Mannheim, HRB 104927
> Geschäftsführer: Erich Harsch, Martin Dallmeier, Roman Melcher
> ________________________________
> _______________________________________________
> checkmk-en mailing list
> checkmk-en at lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

________________________________

FILIADATA GmbH
Carl-Metz-Str. 17, 76185 Karlsruhe * Postfach 10 02 34, 76232 Karlsruhe
Telefon 0721 5592-2500 Telefax 0721 5592-2777
FILIADATA at dm-drogeriemarkt.de<mailto:FILIADATA at dm-drogeriemarkt.de> * www.FILIADATA.de<http://www.FILIADATA.de>
GmbH: Sitz Karlsruhe, Registergericht Mannheim, HRB 104927
Geschäftsführer: Erich Harsch, Martin Dallmeier, Roman Melcher
________________________________


More information about the checkmk-en mailing list