Hi,
I have tried to upgrade my 1.5p22 to 1.6p2 but now I don’t have any hosts. I can see them in WATO, but when I try to edit the services, I get the error “Failed to lookup IPv4 address of via DNS: [Errno -2] Name
or service not known”. This seems clear to me, because the hosts are not resolvable via DNA. That’s why I have entered the IPs for each host, but Check_mk seems to ignore the IP and tries to resolve the name via DNS anyways.
Has anyone got the same problem and possibly a solution?
Thank you and best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 |
http://www.itarex.com
Mail:
andreas.furtenbacher@itarex.com |Mobil:
+43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
Hi Andreas,
what happens on the command line if you do a “cmk --debug -vvR”?
Best regards
Andreas
···
Am So., 29. Sept. 2019 um 09:23 Uhr schrieb Andreas Furtenbacher Andreas.Furtenbacher@itarex.com:
Hi,
I have tried to upgrade my 1.5p22 to 1.6p2 but now I don’t have any hosts. I can see them in WATO, but when I try to edit the services, I get the error “Failed to lookup IPv4 address of via DNS: [Errno -2] Name
or service not known”. This seems clear to me, because the hosts are not resolvable via DNA. That’s why I have entered the IPs for each host, but Check_mk seems to ignore the IP and tries to resolve the name via DNS anyways.
Has anyone got the same problem and possibly a solution?
Thank you and best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 |
http://www.itarex.com
Mail:
andreas.furtenbacher@itarex.com |Mobil:
+43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
I have the same issue, upgrading from 1.5p22 to 1.6p3 and also occurs from 1.5p22 to 1.6p5…
"Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a
Traceback (most recent call last):
File “/omd/sites/monitoring/bin/cmk”, line 90, in
config.load()
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 161, in load
_load_config(with_conf_d, exclude_parents_mk)
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 294, in _load_config
“Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a”
cmk.utils.exceptions.MKGeneralException: Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a"
···
On Mon, Sep 30, 2019 at 5:43 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Andreas,
what happens on the command line if you do a “cmk --debug -vvR”?
Best regards
Andreas
Am So., 29. Sept. 2019 um 09:23 Uhr schrieb Andreas Furtenbacher Andreas.Furtenbacher@itarex.com:
Hi,
I have tried to upgrade my 1.5p22 to 1.6p2 but now I don’t have any hosts. I can see them in WATO, but when I try to edit the services, I get the error “Failed to lookup IPv4 address of via DNS: [Errno -2] Name
or service not known”. This seems clear to me, because the hosts are not resolvable via DNA. That’s why I have entered the IPs for each host, but Check_mk seems to ignore the IP and tries to resolve the name via DNS anyways.
Has anyone got the same problem and possibly a solution?
Thank you and best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 |
http://www.itarex.com
Mail:
andreas.furtenbacher@itarex.com |Mobil:
+43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
Hi Jeremy,
do you checked the points I wrote before?
best regards
Andreas
···
Am Di., 29. Okt. 2019 um 20:46 Uhr schrieb Jeremy Larose jeremy.larose@gmail.com:
I have the same issue, upgrading from 1.5p22 to 1.6p3 and also occurs from 1.5p22 to 1.6p5…
"Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a
Traceback (most recent call last):
File “/omd/sites/monitoring/bin/cmk”, line 90, in
config.load()
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 161, in load
_load_config(with_conf_d, exclude_parents_mk)
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 294, in _load_config
“Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a”
cmk.utils.exceptions.MKGeneralException: Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a"
On Mon, Sep 30, 2019 at 5:43 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Andreas,
what happens on the command line if you do a “cmk --debug -vvR”?
Best regards
Andreas
Am So., 29. Sept. 2019 um 09:23 Uhr schrieb Andreas Furtenbacher Andreas.Furtenbacher@itarex.com:
Hi,
I have tried to upgrade my 1.5p22 to 1.6p2 but now I don’t have any hosts. I can see them in WATO, but when I try to edit the services, I get the error “Failed to lookup IPv4 address of via DNS: [Errno -2] Name
or service not known”. This seems clear to me, because the hosts are not resolvable via DNA. That’s why I have entered the IPs for each host, but Check_mk seems to ignore the IP and tries to resolve the name via DNS anyways.
Has anyone got the same problem and possibly a solution?
Thank you and best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 |
http://www.itarex.com
Mail:
andreas.furtenbacher@itarex.com |Mobil:
+43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
running the command “cmk --debug -vvR” as suggested produces that error
Server is Ubuntu 18.04
···
On Wed, Oct 30, 2019 at 5:15 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Jeremy,
do you checked the points I wrote before?
best regards
Andreas
Am Di., 29. Okt. 2019 um 20:46 Uhr schrieb Jeremy Larose jeremy.larose@gmail.com:
I have the same issue, upgrading from 1.5p22 to 1.6p3 and also occurs from 1.5p22 to 1.6p5…
"Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a
Traceback (most recent call last):
File “/omd/sites/monitoring/bin/cmk”, line 90, in
config.load()
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 161, in load
_load_config(with_conf_d, exclude_parents_mk)
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 294, in _load_config
“Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a”
cmk.utils.exceptions.MKGeneralException: Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a"
On Mon, Sep 30, 2019 at 5:43 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Andreas,
what happens on the command line if you do a “cmk --debug -vvR”?
Best regards
Andreas
Am So., 29. Sept. 2019 um 09:23 Uhr schrieb Andreas Furtenbacher Andreas.Furtenbacher@itarex.com:
Hi,
I have tried to upgrade my 1.5p22 to 1.6p2 but now I don’t have any hosts. I can see them in WATO, but when I try to edit the services, I get the error “Failed to lookup IPv4 address of via DNS: [Errno -2] Name
or service not known”. This seems clear to me, because the hosts are not resolvable via DNA. That’s why I have entered the IPs for each host, but Check_mk seems to ignore the IP and tries to resolve the name via DNS anyways.
Has anyone got the same problem and possibly a solution?
Thank you and best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 |
http://www.itarex.com
Mail:
andreas.furtenbacher@itarex.com |Mobil:
+43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
Ok I see the old conversation was not on the list complete 
Inside the main.mk file should be nothing or only “all_host += ”
Can you check this?
If there is nothing inside, do a grep over your complete wato folder for the “all_host” variable there should be no “all_host = …” only the syntax you see in the error message.
best regards
Andreas
···
Am Mi., 30. Okt. 2019 um 13:39 Uhr schrieb Jeremy Larose jeremy.larose@gmail.com:
running the command “cmk --debug -vvR” as suggested produces that error
Server is Ubuntu 18.04
On Wed, Oct 30, 2019 at 5:15 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Jeremy,
do you checked the points I wrote before?
best regards
Andreas
Am Di., 29. Okt. 2019 um 20:46 Uhr schrieb Jeremy Larose jeremy.larose@gmail.com:
I have the same issue, upgrading from 1.5p22 to 1.6p3 and also occurs from 1.5p22 to 1.6p5…
"Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a
Traceback (most recent call last):
File “/omd/sites/monitoring/bin/cmk”, line 90, in
config.load()
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 161, in load
_load_config(with_conf_d, exclude_parents_mk)
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 294, in _load_config
“Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a”
cmk.utils.exceptions.MKGeneralException: Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a"
On Mon, Sep 30, 2019 at 5:43 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Andreas,
what happens on the command line if you do a “cmk --debug -vvR”?
Best regards
Andreas
Am So., 29. Sept. 2019 um 09:23 Uhr schrieb Andreas Furtenbacher Andreas.Furtenbacher@itarex.com:
Hi,
I have tried to upgrade my 1.5p22 to 1.6p2 but now I don’t have any hosts. I can see them in WATO, but when I try to edit the services, I get the error “Failed to lookup IPv4 address of via DNS: [Errno -2] Name
or service not known”. This seems clear to me, because the hosts are not resolvable via DNA. That’s why I have entered the IPs for each host, but Check_mk seems to ignore the IP and tries to resolve the name via DNS anyways.
Has anyone got the same problem and possibly a solution?
Thank you and best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 |
http://www.itarex.com
Mail:
andreas.furtenbacher@itarex.com |Mobil:
+43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
Thanks, that did it, had to change “all_hosts = [ ]” in main.mk to “all_hosts += ”
···
On Wed, Oct 30, 2019 at 8:51 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Ok I see the old conversation was not on the list complete 
Inside the main.mk file should be nothing or only “all_host += ”
Can you check this?
If there is nothing inside, do a grep over your complete wato folder for the “all_host” variable there should be no “all_host = …” only the syntax you see in the error message.
best regards
Andreas
Am Mi., 30. Okt. 2019 um 13:39 Uhr schrieb Jeremy Larose jeremy.larose@gmail.com:
running the command “cmk --debug -vvR” as suggested produces that error
Server is Ubuntu 18.04
On Wed, Oct 30, 2019 at 5:15 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Jeremy,
do you checked the points I wrote before?
best regards
Andreas
Am Di., 29. Okt. 2019 um 20:46 Uhr schrieb Jeremy Larose jeremy.larose@gmail.com:
I have the same issue, upgrading from 1.5p22 to 1.6p3 and also occurs from 1.5p22 to 1.6p5…
"Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a
Traceback (most recent call last):
File “/omd/sites/monitoring/bin/cmk”, line 90, in
config.load()
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 161, in load
_load_config(with_conf_d, exclude_parents_mk)
File “/omd/sites/monitoring/lib/python/cmk_base/config.py”, line 294, in _load_config
“Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a”
cmk.utils.exceptions.MKGeneralException: Load config error: The all_hosts parameter was modified through an other method than: x+=a or x=x+a"
On Mon, Sep 30, 2019 at 5:43 AM Andreas Döhler andreas.doehler@gmail.com wrote:
Hi Andreas,
what happens on the command line if you do a “cmk --debug -vvR”?
Best regards
Andreas
Am So., 29. Sept. 2019 um 09:23 Uhr schrieb Andreas Furtenbacher Andreas.Furtenbacher@itarex.com:
Hi,
I have tried to upgrade my 1.5p22 to 1.6p2 but now I don’t have any hosts. I can see them in WATO, but when I try to edit the services, I get the error “Failed to lookup IPv4 address of via DNS: [Errno -2] Name
or service not known”. This seems clear to me, because the hosts are not resolvable via DNA. That’s why I have entered the IPs for each host, but Check_mk seems to ignore the IP and tries to resolve the name via DNS anyways.
Has anyone got the same problem and possibly a solution?
Thank you and best regards,
Andreas
Andreas Furtenbacher
SENIOR IT EXPERT, CEO
CERTIFIED DATA & IT SECURITY EXPERT
iTAREX GmbH
A-1150 Wien, Schweglerstr. 20 |
http://www.itarex.com
Mail:
andreas.furtenbacher@itarex.com |Mobil:
+43 / 664 / 88 43 02 96
Firmenbuch-Nr.: FN 343607 f | Firmenbuchgericht: Handelsgericht Wien
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en