cli interface to deleting a nagios object

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kendallchenoweth
Posts: 195
Joined: Fri Sep 13, 2013 10:43 am

cli interface to deleting a nagios object

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: cli interface to deleting a nagios object

Post 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.
Former Nagios employee
Locked