Agent registration -r

Started by sjudy, January 29, 2014, 01:09:22 AM

Previous topic - Next topic

sjudy

So, I have battled this issue a lot.  I have never gotten it working and I really need to figure out how.  When I indicate I want the agent to register manually with NetXMS, I fire up the nxagentd with the -r <server>.  Sounds simple enough... so why for the love of all that is holy can't I get this to work?  I have tried -r with the ip and the dns name.  I have tailed my server log and see no activity whatsoever.

If installed the latest version of the agent (also running latest build of the server) and I did see a moment where the agent tried to download a config file from the server (the -M)... so that seemed to work, though i didn't have a valid file there for it... which I would love to do but haven't read up enough on it yet to know... I digress.

So does anyone know any reason the -r wouldn't work.  Like I said, I see no indications that it is even attempting to do it.  Thanks so much in advance!

Victor Kirhenshtein

Hi!

There are two problems:

1. Enable agent registration on server by setting configuration parameter EnableAgentRegistration to 1.
2. Seems that agent registration is broken - I'll fix it in 1.2.12 release.

Best regards,
Victor

sjudy

Victor,

I had the server reg enabled, but thanks for the help.  It was driving me crazy.  I will look for the next build.

Thanks!