From 67388e6c83e1d69c3be6292bdb664d9fbf7a3f46 Mon Sep 17 00:00:00 2001 From: pdiogoantunes Date: Thu, 13 Jul 2017 10:02:18 +0200 Subject: [PATCH] exemple Perl --- HowtoIcinga.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/HowtoIcinga.md b/HowtoIcinga.md index e2dc434d..0a5497dd 100644 --- a/HowtoIcinga.md +++ b/HowtoIcinga.md @@ -583,6 +583,19 @@ En suite, depuis le master, on génère le certificat avec la CSR. Il ne reste plus qu'a rapatrier les fichiers `/etc/icinga2/pki/icinga2-client2.*` sur la machine désignée. +## API + +### Scripts Perl + +Sur une debian Jessie : + +~~~ +# apt install libconfig-inifiles-perl +# cpan install REST::Client +~~~ + +[Exemples en Perl](https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/icinga2-api#icinga2-api-clients-programmatic-examples-perl) + ## FAQ ### Que veut-dire « Icinga » ?