Page 1 of 1

Admin Backup REST API

Posted: Wed Aug 06, 2025 2:17 pm
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

Re: Admin Backup REST API

Posted: Thu Aug 14, 2025 1:10 pm
by lgute
Hi @smalone,

Thanks for reaching out. I'll have to do some checking for this one.

Re: Admin Backup REST API

Posted: Fri Aug 15, 2025 2:53 pm
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/