Token in nrds.cfg

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
grenley
Posts: 96
Joined: Tue May 13, 2014 6:06 pm

Token in nrds.cfg

Post by grenley »

Hi,

I am trying to build an enterprise nrds installer.
We will likely end up having hundreds of XI servers and I want to build a single nrds (and nrpe) installer.

In the config file used by nrds.pl, there is both the XI URL parameter and the TOKEN.
I can have the user pass the XI hostname so I can build the URL field, but I would never expect them to know the token.

First off, what is this token used for? I imagine it's some kind of handshake between the agent and the XI server?
Is it unique to each XI server?
If so, any ideas how I could get the appropriate token remotely from the agent we are installing nrds on?

I would then be able to update our standard config file with the XI server url and the proper token.

Thanks,
Rick
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Token in nrds.cfg

Post by slansing »

The token it self can both be unique or not depending on what you feel is necessary, you set your token and can change it from Admin > Inbound Transfers. It is a handshake, as NRDS operates over HTTP, it is an extra packet by packet auth method that is used. Let us know if you have any further questions!
grenley
Posts: 96
Joined: Tue May 13, 2014 6:06 pm

Re: Token in nrds.cfg

Post by grenley »

That is exactly what I needed to know. thanks very much
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Token in nrds.cfg

Post by slansing »

No problem, any other questions on nrds? Or are we good to lock this up?
grenley
Posts: 96
Joined: Tue May 13, 2014 6:06 pm

Re: Token in nrds.cfg

Post by grenley »

Sorry. Been out.
Thanks. Please close this down.
Locked