(Quote from vanobig)
Sorry for writing "icinga" instead of "icinga2".
The variables are present like in a user environment, not as Icinga2 variables.
(Quote from mukeshchaubeyit)
This question isn't related to subject of the OP so please open a new thread.
Is it possible to monitor the remote ip(private ip) of other city from our Headoffice .. we have public ip to reach that location(Branch) from there we want to monitor the intra network .
birkch , I tried your method, and also no go. icinga2 cannot even restart.
I guess env.SERVER_INSTANCE = "$vars.SERVER_INSTANCE$ has a syntax error
It should be env.SERVER_INSTANCE = "$vars.SERVER_INSTANCE"?
In any case, I tried both options, icinga…
Wolfgang , thanks for the recommendation but it didn't work. I checked the /etc/init.d/icinga2 (I'm using icinga2) and didn't see how importing an environment variable into this script would help. I'm not a huge expert in bash scripting though. Do you…
I will not believe that director writes to /etc/icinga2/conf.d/commands.conf.
Are you sure that this is the location we are talking of ?
Or are you doing forbitten things and edit the files under /var/lib/icinga2/api directly ?
Replied to the thread No command transports have been configured Icingaweb2.PostSure, modules: icinga-icinga2 (v1.1.1), icinga-icingaweb2 (v1.0.4), puppet version 4.9.4, module monitoring: Version: 2.4.1
(Code, 8 lines)
Now its been a while since i started using icinga2 and its really an wonderful too, special thanks to people in this forum, without whom i couldn't have achieved icinga2 installation in our live environment.
Before icinga2, i was using icinga…