Page 1 of 1

cli interface to deleting a nagios object

Posted: Fri Apr 24, 2015 1:15 pm
by kendallchenoweth
Is there some way from the command line to delete an existing nagios object (service, host, hostgroup,...)? I can add and change objects by putting them in the import directory and running reconfigure_nagios.sh.

Thanks

Re: cli interface to deleting a nagios object

Posted: Fri Apr 24, 2015 1:32 pm
by tmcdonald
You could look into the /usr/local/nagiosxi/scripts directory at the nagiosql_delete_* scripts, but this is not a recommended way of doing it and we can't guarantee it will work if used in this way.