Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. Problem with agent netxms-0.2.27

Problem with agent netxms-0.2.27

Scheduled Pinned Locked Moved Support
6 Posts 4 Posters 67.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    P
    pasupuleti
    wrote on last edited by
    #1

    Hi All,

    I have installed agent in Linux and server console in windows
    created node successfully but while polling its saying
    Checking interface configuration...
    [31-Jul-2009 20:47:49] eUnable to get interface list from node
    [31-Jul-2009 20:47:49] w   Interface "lan0" is no longer exist

    and also showing agent inactive
    verified in Linux that agent process is up

    Thanks,
    pasupuleti

    1 Reply Last reply
    0
    • A
      A
      Alex Kirhenshtein
      wrote on last edited by
      #2

      Looks like agent is rejecting connections.

      Check "Servers", "InstallationServers", "ControlServers", or "MasterServers" section in nxagentd.conf, one of this sections should contain IP address of your netxms server. For more information take a look at nxagentd.conf-dist

      If nxagentd.conf is correct, verify that you can connect from your windows machine to linux server on port 4700 — if you can't, check firewall settings.

      If both are correct, you can stop agent and start it with "-D" argument, this will enable debug output.

      1 Reply Last reply
      0
      • P
        P
        pasupuleti
        wrote on last edited by
        #3

        Thanks a lot ,i fixed it

        1 Reply Last reply
        0
        • J
          J
          Marco Incalcaterra
          wrote on last edited by
          #4

          @alk said in Problem with agent netxms-0.2.27:

          Looks like agent is rejecting connections.

          Check "Servers", "InstallationServers", "ControlServers", or "MasterServers" section in nxagentd.conf, one of this sections should contain IP address of your netxms server. For more information take a look at nxagentd.conf-dist

          If nxagentd.conf is correct, verify that you can connect from your windows machine to linux server on port 4700 — if you can't, check firewall settings.

          If both are correct, you can stop agent and start it with "-D" argument, this will enable debug output.

          I have a similar problem, I'm able to properly connect boxes outside my network but I'm unable to connect those in my network. Firewall is disabled and telnet connects without problem. Tried with either a physical machine with Windows 2008 x64 and with a virtual machine under hyper-v with Windows 2003 x64. Tried also both x86 and x64 agents, no differences.

          Running the -D argument produces this:
          C:\Program Files (x86)\NetXMS\bin>"C:\Program Files (x86)\NetXMS\bin\nxagentd.exe" -D -d -c "C:\Program Files (x86)\NetXMS\etc\nxagentd.conf" -n "NetXMSAgentdW32" -e "NetXMS Win32 Agent" -M "192.168.0.1"
          Downloading configuration from 192.168.0.1...
          Configuration download failed
          StartServiceCtrlDispatcher() failed: The service process could not connect to the service controller.

          This is the content of the configuration file:
          #
          # NetXMS agent configuration file
          # Created by agent installer at Sun Aug 09 15:52:06 2009
          #

          MasterServers = 192.168.0.1
          LogFile = {syslog}
          FileStore = C:\Program Files (x86)\NetXMS\var
          SubAgent = winperf.nsm

          Any hints appreciated,
          thank you

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            When you start agent as standalone program, not as system service, you should not use -d option. So, to debug, you should use command

            "C:\Program Files (x86)\NetXMS\bin\nxagentd.exe" -D -c "C:\Program Files (x86)\NetXMS\etc\nxagentd.conf" -M "192.168.0.1"

            Best regards,
            Victor

            1 Reply Last reply
            0
            • J
              J
              Marco Incalcaterra
              wrote on last edited by
              #6

              @victor said in Problem with agent netxms-0.2.27:

              When you start agent as standalone program, not as system service, you should not use -d option. So, to debug, you should use command

              "C:\Program Files (x86)\NetXMS\bin\nxagentd.exe" -D -c "C:\Program Files (x86)\NetXMS\etc\nxagentd.conf" -M "192.168.0.1"

              Best regards,
              Victor

              Thank you very much Victor!

              The debug helped to solve the problem: since the server is mutihomed (due to Hyper-V) the agent was receiving connection from an address not specified in the config file, I added even the second address to the MasterServers and everything worked fine.

              All the best,
              Marco

              1 Reply Last reply
              0

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups