Nobuto for first question you can just execute a remote cmd from host to icinga as suggested in https://mathias-kettner.de/checkmk_livestatus.html look for Remote access to Livestatus via SSH or xinetd (i suggest to use livestatus instead to icinga.cmd).
You also may run a custom script to add your new servers and theirs services to config from templates at end of kick start / puppet. cioa 2015-05-05 5:23 GMT+02:00 Nobuo Matsushita <no...@layer3tv.com>: > HI, > > I am trying to set up Icinga2 using CentOS 6.5. I would like to hear > your suggestions for doing the following: > > > 1. I would like to execute some scripts/programs at local servers. > After end of the script, I would like to send the result to Icinga2 server. > So this is “passive check” in a way. I know I can do this on Icinga2 server > using icinga2.cmd. But how should I do this using remote servers and > sending the result to the Icinga2? > 2. After a new server is build, I would like to add this new server > to the Icinga2 configuration. The server is built using kick start and > puppet. I would like to setup without manual intervention. > > > I would be appreciative if you can give me any suggestions. > > Thanks > > Nobuo > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users