I am currently running nagiosxi 5.6.14. on CentOS7.4. I have done many of silent installs before using NCPA 2.2 and 2.1.8.
I did an NCPA 2.2.0 silent install on Windows 10 21H1 following the current instructions listed on the website. When I went to go add these devices to Nagios, I got "Bad Token".
I checked that the token is correct during the install process and it was. I then went to the box and installed it through the GUI and typed the token and it worked. no error message
Is the something different for the silent installs when working with Windows 10 21H1?
Bad Token NCPA Windows 10 21H1
Re: Bad Token NCPA Windows 10 21H1
After further investigating. NCPA does install on the target host. It is the NCPA configuration file that has the community string line empty where you would expect the token to be at.
The big difference is when you do the silent install you need to remove the ' that surrounds the token.
If you do the below for a silent install it works.
ncpa-<version>.exe /S /TOKEN=mytoken
Issue fixed.
The big difference is when you do the silent install you need to remove the ' that surrounds the token.
If you do the below for a silent install it works.
ncpa-<version>.exe /S /TOKEN=mytoken
Issue fixed.
Re: Bad Token NCPA Windows 10 21H1
Hi LM-PP1,
Glad you were able to resolve the issue and thank you for the observation. I looked through the changelog for NCPA up to 2.4.0 and did not see anything that directly appeared to address this so I will mention it to our dev team.
Thanks and Best Regards,
Keith
Glad you were able to resolve the issue and thank you for the observation. I looked through the changelog for NCPA up to 2.4.0 and did not see anything that directly appeared to address this so I will mention it to our dev team.
Thanks and Best Regards,
Keith