::: info This page is now dedicated to the new N-Central integration, utilizing the new N-Central REST API & ImmyBot Dynamic Integrations.
This new integration should provide improved stability over our classic (and soon to be deprecated) integration.
Looking for the classic N-Central integration guide? We recommend against it, but here is the classic setup guide. :::
Setting up this integration allows you to:
- Import customers from N-Central
- Import computers from N-Central
- Manage all computers in N-Central without deploying the ImmyBot Agent
ImmyBot currently requires the following role permissions to operate correctly:
- Devices View
- All Devices -> Read Only
- Scheduled Tasks
- Scheduled Tasks -> Manage
Create an "ImmyBot" role in your N-Central instance using above roles.
N-Able themselves have an offical short guide for doing this we recommend following for this part, but here is a recap:
- Create a new "ImmyBot" user in the instance with the "ImmyBot" role applied.
- Set a password (it is required for now but the api team is working on removing this)
- Under "API Access", ensure "Api-Only User" is checked. 2FA MUST be disabled for the API User!
- Save the new ImmyBot user, and press the "Generate JSON Web Token" button. Copy this value somewhere for later.
IMPORTANT - Right now, the password for the api user needs to be reset every 90 days. Your integration will stop working if you do not reset the password. The api team has also mentioned they are looking to remove this functionality for api users.
After completing the new API-Only user setup, it's time time add an Automation Policy to N-Central so Immybot can run scripts on the machines.
First, navigate to the "Script/Software Repository" under "Schedules Tasks" beneath the "Configuration" tab in N-Central. Once at the Script Repository page, select "Add" -> "Automation Policy".
Second, download the ImmyBot RunScript Automation Policy and upload it to your instance. Fill out the Name and Description how you see fit if required.
Last step is to ensure this new automation policy we have uploaded is able to be invoked by the Immybot API User.
Find the automation by searching for "Immybot", then flipping the Enable API
switch. Accept the confirmation modal, then copy the Repository ID
for later use.
::: warning Make sure you copy YOUR Repository ID
, as this identifier for the automation policy will be unique across every N-Central instance!
:::
After completing setup in N-Central, it's time to add the integration to ImmyBot.
Navigate to the "Integrations" page in ImmyBot, and create a new N-Central v2
integration.
Input a name you'd like for the integration, followed by your N-Central server URL, and the JWT
you copied in the steps to make an "ImmyBot" API user.
Then, input the RepositoryId
gathered from the step before.
Lastly, flip the Enable Integration
switch.
::: warning If the Health Check
reports an error after enabling the integration, ensure you have completed the above steps correctly. If you continue to have issues, reachout to the community or support for assistance.
:::
If your error message contains "Unable to validate UI session: javax.validation.ValidationException: Unable to validate UI session.", then reset the password on your api user and generate a new JWT. This is a limitation imposed by N-Central
Alternatively, you can create/map only certain customers.
When you map a customer from an RMM, the computers will undergo Identification
Login to N-Central as the ImmyBot User and accept the EULA
If your error message contains "Unable to validate UI session: javax.validation.ValidationException: Unable to validate UI session.", then reset the password on your api user and generate a new JWT. Passwords are required to be reset every 90 days, even for api users - ToschAutomatisering/PS-NCentral#5. This is a limitation imposed by N-Central that will hopefully be addressed in a future release.