Hello @all,
since Update NetXMS to V4.4.3 all Checks with the Function NetworkService.Status (with verify-peer=false) failed with error 5
Example:
NetworkService.Status(https://10.99.45.44,verify-peer=false)
Up to V4.4.2 this one works without problems. If URL is reached it throws a Result "0". Since V4.4.3 it always throws Code "5".
NetworkService.Status checks without the "verify-peer=false" option works without any problems.
Has anyone else seen this behavior?
Greetings
Marco
I don't remember exactly, but there probably was a bug with default values of these named parameter of NetworkService.Status. Your URL contains IP address, but certificate was probably issued for a domain name, so host verification fails. To skip host verification, add the following:
NetworkService.Status(https://212.70.163.157,verify-peer=false,verify-host=false)
Documentation on all available parameters should be up to date:
https://www.netxms.org/documentation/adminguide/service-monitoring.html#network-service-monitoring-using-dci
Hi Filipp,
thanks for your answer. I added the verify-host=false to my configs and voila: it worked again... :-)
Many thanks for that hint...
Greetings
Marco