Page 1 of 1

does nagiosql_delete_host.php still work?

Posted: Mon Jan 14, 2019 10:56 am
by SteveBeauchemin
is it just me...

Code: Select all

cd /usr/local/nagiosxi/scripts
./nagiosql_delete_host.php --host aws-ec2-gov-prod-pdm-appserver-3dspace-6
URL: https://localhost/nagiosxi/includes/components/ccm/
PHP Fatal error:  Call to undefined function db_connect_nagiosql() in /usr/local/nagiosxi/scripts/nagiosql_delete_host.php on line 31
Please advise.

Thanks

Steve B

Re: does nagiosql_delete_host.php still work?

Posted: Mon Jan 14, 2019 12:04 pm
by scottwilkerson
This has been replaced with

Code: Select all

./ccm_delete_object.php --type host --name aws-ec2-gov-prod-pdm-appserver-3dspace-6

Re: does nagiosql_delete_host.php still work?

Posted: Mon Jan 14, 2019 12:27 pm
by SteveBeauchemin
Modified my AWS automation scripts to use the syntax you provided.

Thanks for the solution Scott.

Steve B

Re: does nagiosql_delete_host.php still work?

Posted: Mon Jan 14, 2019 12:29 pm
by scottwilkerson
SteveBeauchemin wrote:Modified my AWS automation scripts to use the syntax you provided.

Thanks for the solution Scott.

Steve B
great! Locking thread