RMA Agent IP Error

Remote Monitoring Agent for Linux, FreeBSD, and other UNIX-like platforms.
Post Reply
mos-eisley
Posts: 76
Joined: Wed Mar 21, 2007 5:51 am
Location: Klarup (AAlborg), Demark

RMA Agent IP Error

Post by mos-eisley »

Hi,

I have an agent on a RedHat Server, with works fine in the RMA Manager.

I get this connection error when trying to use the "Text Log" test with the agent - file browse:

"RMA Error: Cannot resolve hostname to IP address. The requested name is valid and was found in the database, but does not have the correct associated data being resolved for."

Now, If I replace the FQHN in the RMA Manager with the IP address, it works, and after the file is selected, I can replace the IP with the hostname and the test works.

From the HostMonitor server, I can ping and lookup the IP with the hostname.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Looks like some DNS issues. RMA uses gethostbyname function and it seems an MX record is returned but no A record—indicating the host itself exists, but is not directly reachable.

Regards,
Max
mos-eisley
Posts: 76
Joined: Wed Mar 21, 2007 5:51 am
Location: Klarup (AAlborg), Demark

Post by mos-eisley »

Well, the dns should be alright, in the RMA.ini I have set Host=pai13001-1.cwuk.a.p wich is the full (unique) dns name. This is available and resolveable and nslookup and ping from the hostmonitor is ok.

The Host=is set because the Linux machine running the RMA has 2 NICs.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

mos-eisley wrote:Well, the dns should be alright, in the RMA.ini I have set Host=pai13001-1.cwuk.a.p wich is the full (unique) dns name. This is available and resolveable and nslookup and ping from the hostmonitor is ok.
Message "RMA Error: Cannot resolve hostname to IP address..." means that host name cannot be resolved on the machine, where RMA is running, not HostMonitor. Why it can not resolve its own name? Interesting question.
mos-eisley wrote:The Host=is set because the Linux machine running the RMA has 2 NICs.
Probably, it would be better to specify IP-address instead of hostname, like: Host=192.168.xxx.xxx

Regards,
Max
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May be we misunderstood the problem. Could you please send screen shot to support@ks-soft.net?

Regards
Alex
Post Reply