Page 1 of 1
How do I create an NDRP API token?
Posted: Mon Mar 26, 2018 12:44 pm
by espressobeanies
I'm trying to figure out how to create an NDRP API token for my Nagios Core install and I'm not sure how to generate the token itself. Do I define it myself or does core use a generator and if I define it myself, are there any character limitations or restrictions the token must abide by? Thanks in advance.
Re: How do I create an NDRP API token?
Posted: Mon Mar 26, 2018 3:03 pm
by scottwilkerson
you would set this in
/usr/local/nrdp/server/config.inc.php
Edit the line
Code: Select all
$cfg['authorized_tokens']=array("YOUR_TOKEN_HERE",);
Re: How do I create an NDRP API token?
Posted: Mon Mar 26, 2018 3:39 pm
by espressobeanies
Thanks Scott. Is this something I would set to whatever I want it to be?
Re: How do I create an NDRP API token?
Posted: Mon Mar 26, 2018 3:48 pm
by npolovenko
@espressobeanies, I think tokens can contain either letters(uppercase or lowercase) and numbers, no special characters.