Ad Widget

Collapse

Problem with Agents when I use DNS name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BFGoodrich
    Junior Member
    • Nov 2005
    • 9

    #1

    Problem with Agents when I use DNS name

    I am able to resolve DNS names all day long, the names resolve to IP address and reverse lookups are working as well. I have had zero problems with DNS. But for some reason, in the agent configuration I have to specify the server by IP Address. If I use the hostname I get the following:

    25027:20080717:091607 get_active_checks('hostname',10051)
    25027:20080717:091607 Get active checks error: Cannot resolve [hostname]
    25027:20080717:091607 Getting list of active checks failed. Will retry after 60 seconds

    hostname being the hostname I am using for the monitoring server. I can resolve this name, both forward and reverse. Is this by design, or is there something I am missing?

    Changing the agent server address to an IP address in the config file works flawlessly (the same IP address that DNS resolves to)

    I would rather not have to change 200 agent configurations if I decide to change the server address for monitoring. I looked through the forums and I saw similar topics, but nothing that addressed this specific problem. I really don't think I have a problem with my DNS as every other application works flawlessly with it.

    I hope that I am not wasting your time with something trivial, but I can't seem to figure this out. Thanks!
  • utropicmedia-karl
    Junior Member
    • Aug 2007
    • 9

    #2
    we have the same issue. it appears the agent is not resolving the server DNS name. (cent OS 5.1)

    Comment

    Working...