Admin Backup REST API

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
smalone
Posts: 1
Joined: Fri Feb 19, 2021 1:03 pm

Admin Backup REST API

Post by smalone »

I would like to know if there is a REST API to allow changes to the method of backup used for the nagios system.

This would be under: /nagiosxi/admin/

I need to change the password that is used for backup across multiple instances and would like to script it.

Thanks,
Scott
User avatar
lgute
Posts: 420
Joined: Mon Apr 06, 2020 2:49 pm

Re: Admin Backup REST API

Post by lgute »

Hi @smalone,

Thanks for reaching out. I'll have to do some checking for this one.
Please let us know if you have any other questions or concerns.

-Laura
cdietsch
Posts: 62
Joined: Wed Aug 06, 2025 9:12 am

Re: Admin Backup REST API

Post by cdietsch »

Hi Scott,

There is not currently a way to use the REST API to configure the Admin Backup. However, you might be able to accomplish this by writing a custom endpoint for the REST API or using a tool like Ansible.

The documentation for writing custom API endpoints is not publicly available, but can be found in your Nagios XI web interface along the following path: http://<XI.Server.IP>/nagiosxi/help/ under Developer Docs -> Custom API Endpoints.

I will also include a link to a guide that shows some examples of what the REST API can do.
https://library.nagios.com/techtips/har ... -rest-api/
Last edited by cdietsch on Fri Aug 15, 2025 2:57 pm, edited 1 time in total.
Cheers,
- Cole
Post Reply