ServiceCheck.Custom, DNS-names not resolved
-
Hi!
I'm trying to monitor some external websites/-services by using the ServiceCheck.Custom-parameter on the NetXMS server.
But if I use DNS-names I get response code 2 "Cannot connect to target", using IP-address works fine.
DNS-names works from the server (web browser, ping etc).Any suggestions on what maybe wrong much appreciated?
Cheers
Opie -
Hi!
Yes, there is a bug in portcheck subagent - you can only use IP address. I already fix that. If you need it before next release, I can provide updated subagent binary. If you are building NetXMS from source, you can replace inet_addr with ResolveHostNameA in file src/agent/subagents/portcheck/net.cpp line 40 and rebuild.
Best regards,
Victor -
-
No problem, I'll build intermediate binary. Are you using 32 or 64 bit version?
Best regards,
Victor -
-
-
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