Am 05.05.2015 um 06:13 schrieb stefano bianchi:
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).

That's not really necessary as Icinga 2's livestatus feature also supports tcp 
sockets (different to the 1.x addon). Although I wouldn't recomment opening 
that port without proper authentication - I prefer native SSH and the command 
pipe (if that's the one you are using for Icinga Web 1/2 or Classic UI 
already). For 2.4 later this year we're targetting a general api, still in 
early concept phasis.



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.

There's a puppet module in the making, you might want to check it out and help 
test/finalize its 1.0.0 release.

Kind regards,
Michael


cioa

2015-05-05 5:23 GMT+02:00 Nobuo Matsushita 
<no...@layer3tv.com<mailto: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<mailto:icinga-users@lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users





_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org<mailto:icinga-users@lists.icinga.org>
https://lists.icinga.org/mailman/listinfo/icinga-users



-- 
Michael Friedrich, DI (FH)
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | michael.friedr...@netways.de

** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to