Sos online backup spool1/31/2024 ![]() There is NO WARRANTY, to the extent permitted by law. This is free software: you are free to change and redistribute it. License GPLv2+: GNU GPL version 2 or later Icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.2-1)Ĭopyright (c) 2012-2018 Icinga Development Team () There are still files used in default path /etc/icinga2/ by icinga2 when started with -D icingaweb2]# icinga2 troubleshoot -version -D ConfDir=/appl/icinga/icinga2/etc/icinga2 -D LogDir=/appl/logs/icinga/icinga2 -D DataDir=/appl/icinga/icinga2/var/data -D CacheDir=/appl/icinga/icinga2/var/cache -D SpoolDir=/appl/icinga/icinga2/var/spool -D InitRunDir=/appl/icinga/icinga2/var/run Now restart your Icinga 2 daemon to finish the installation! Information/cli: Updating 'ZoneName' constant in '/etc/icinga2/nf'. Information/cli: Backup file '/etc/icinga2/' already exists. Information/cli: Updating 'NodeName' constant in '/etc/icinga2/nf'. Information/cli: Enabling the 'api' feature. Information/cli: API user config file '/etc/icinga2/conf.d/nf' already exists, not creating config file. Information/cli: Copying CA certificate to '/appl/icinga/icinga2/var/data/certs//ca.crt'. Information/pki: Writing certificate to file '/appl/icinga/icinga2/var/data/certs//.internal.crt'. Information/cli: Signing CSR with CA and writing certificate to '/appl/icinga/icinga2/var/data/certs//.internal.crt'. Information/base: Writing certificate signing request to '/appl/icinga/icinga2/var/data/certs//.internal.csr'. Information/base: Writing private key to '/appl/icinga/icinga2/var/data/certs//.internal.key'. Information/cli: Generating new CSR in '/appl/icinga/icinga2/var/data/certs//.internal.csr'. Information/base: Writing X509 certificate to '/appl/icinga/icinga2/var/data/ca//ca.crt'. Information/base: Writing private key to '/appl/icinga/icinga2/var/data/ca//ca.key'. usr/sbin/icinga2 daemon -log-level debug -D ConfDir=/appl/icinga/icinga2/etc/icinga2 -D LogDir=/appl/logs/icinga/icinga2 -D DataDir=/appl/icinga/icinga2/var/data -D CacheDir=/appl/icinga/icinga2/var/cache -D SpoolDir=/appl/icinga/icinga2/var/spool -D icingaweb2]# icinga2 api setup -D ConfDir=/appl/icinga/icinga2/etc/icinga2 -D LogDir=/appl/logs/icinga/icinga2 -D DataDir=/appl/icinga/icinga2/var/data -D CacheDir=/appl/icinga/icinga2/var/cache -D SpoolDir=/appl/icinga/icinga2/var/spool -D InitRunDir=/appl/icinga/icinga2/var/run See output below and with troubleshoot option and feature related files should be read from the specified directory When ConfDir is set, all conf files including nf, nf, etc. > stays at /etc/icinga2/zones.d when ConfigDir is set. ZonesDir | Read-only. Contains the … path of the zones.d directory. Icinga2 only partially respects -D ConfDir I haven’t done this myself (or have experience with it), all of this information was pulled from one of the doc links you provided. ![]() ![]() The configuration is done with the global constants ApiBindHost and ApiBindPort or the bind_host and bind_port attributes of the ApiListener object.įrom there, it looks like you have to do some more config work with the IcingaApplication object and specify an environment (or perhaps 2 different objects?) For the second, I would avoid using 5666 since that is the NRPE plugin port. There are a few links throughout that section to the different objects it wants you to modify (ie, the ApiListener).įor the ApiListener, you will have 2 objects (as opposed to the standard 1) – you’ll need to use 2 dedicated ports for this. Seems like this is indeed what you’re looking for (multiple environments) I read the following, but I can not understand if this is impossible… rw- 1 icinga icinga 40 Sep 16 00:25 ticket ls -alh /var/lib/icinga2/certs/ĭrwxr-x- 2 icinga icinga 4.0K Sep 16 00:25. I want to send agent checks to both : &. trustedcert /var/lib/icinga2/certs/ \Īfter that, this node only connected to. Now everything works perfect for master1.īut I also want another one Icinga2 master to monitor this box, so I do the following: icinga2 pki save-cert \ Request the master certificate from the master host ( ) and store it as.Icinga2 pki new-cert -cn icinga-agent.example \ Create CSR and Certificate for the node.I have two completely different Icigna 2 master setups ( eg: : two different organizations/companies ) and each one wants to do their own agent checks. Could I run multiple Icinga2 agent environments ?Īctually I want to run on the same node, two different icinga2 agent configurations.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |