admin/component configuration via script/API?
Posted: Mon Nov 03, 2014 3:22 pm
Hello,
I would like to know if its possible, and if so how, to configure each of the below items via script/command line/API:
And if any user is missing, we should be able to quickly added them via script, (same goes for when a user is remove from the group we would like to be able to remove user) so that all our instances match....kind of an AD user import.
Also we are planing on having backup servers ready in case the prod one fails...so we are backing and restoring configuration...but would like to be able to reconfigure the 'Schedule Backup' once it has been restore, so that it doesn't backup to same location as prod instance.
Thanks in Advance!
I would like to know if its possible, and if so how, to configure each of the below items via script/command line/API:
- Scheduled Backups (FTP/SSH/LOCAL) - /nagiosxi/includes/components/scheduledbackups/managebackups.php
- Manage Users - /nagiosxi/admin/users.php
- Manage Components / Active Directory Integration - /nagiosxi/admin/components.php?config=active_directory
And if any user is missing, we should be able to quickly added them via script, (same goes for when a user is remove from the group we would like to be able to remove user) so that all our instances match....kind of an AD user import.
Also we are planing on having backup servers ready in case the prod one fails...so we are backing and restoring configuration...but would like to be able to reconfigure the 'Schedule Backup' once it has been restore, so that it doesn't backup to same location as prod instance.
Thanks in Advance!