Question
Can I add an override to the NinjaRMM agent that allows for manually specifying antivirus (AV) information?
Environment
- NinjaOne RMM agent
- Linux
- Windows
- macOS
Answer
Yes. To populate the AV information, use an optional av_override.json file or the "Ninja - Set Antivirus Override" template in the NinjaOne Automation Library (Administration → Library → Automation → Template Library).

Figure 1: Select the set antivirus override template script in NinjaOne
The three fields or script variables you must update are:
- AV name or
av_name(required) - AV state or
av_statemust be one of the following:up-to-date,out-of-date, orunknown - AV status or
av_statusmust be one of the following:on,off,expired,snoozed,unknown.
The file path is:
ProgramdataNinjaRMMAgentCustomizationav_override.json
If you import the script from NinjaOne's template library, you can mark the fields as "mandatory." To do so:
- Click the template in NinjaOne to open it.
- On the "Create Script" page, move your cursor over the variable and click the edit icon.

Figure 2: Edit a template script variable in NinjaOne (click to enlarge)
- Activate the Mandatory checkbox.

Figure 3: Make the script variable a required field
- Click Save.
Example
{
"av_override": [
{
"av_name": "Exmaple Antivirus",
"av_version": "1.2.6",
"av_status": "Out-of-Date"
"av_state": "OFF"
}
]
}Additional Resources
The following learning content will help you fully utilize the NinjaRMM agent.