jupiler
(Tom Vansant)
1
So i added section below to my icingaweb2 config.ini file.
[security]
protected_customvars = “*pw*,*pass*,*community*”
Any strings with pw and pass are hidden but the vars with community remain visible.
Anyone an idea what is wrong here?
Icinga Web 2 Version
2.7.3
Git commit
06cabfe8ba28cf545a42c92f25484383191a4e51
PHP Version
7.1.30
Git commit date
2019-10-18
Copyright
© 2013-2021 The Icinga Project
nilmerg
(Johannes Meyer)
2
Case sensitivity probably. Try *pw*,*pass*,*community*,*Community*
.
jupiler
(Tom Vansant)
3
Well that’s not the issue. it is defined as all lower. (icingaweb2 only shows it with a capital)
vars.ztestpass = “thisisatest1”
vars.ztestpw = “thisisatest2”
vars.zcommunity = “anothertest”
vars.zsnmp_community = “isthishiddentoo”
tried it also with *ommu* as pattern but that doesn’t seem to work either.
jupiler
(Tom Vansant)
4
Ok i found the issue.
it is located in <icingaweb2 conf path>/modules/monitoring/config.ini
instead of the global one