NetworkService.Status brings false Values
-
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 -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login