This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
SteveBeauchemin
Posts: 524 Joined: Mon Oct 14, 2013 7:19 pm
Post
by SteveBeauchemin » Mon Jan 14, 2019 10:56 am
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
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Mon Jan 14, 2019 12:04 pm
This has been replaced with
Code: Select all
./ccm_delete_object.php --type host --name aws-ec2-gov-prod-pdm-appserver-3dspace-6
SteveBeauchemin
Posts: 524 Joined: Mon Oct 14, 2013 7:19 pm
Post
by SteveBeauchemin » Mon Jan 14, 2019 12:27 pm
Modified my AWS automation scripts to use the syntax you provided.
Thanks for the solution Scott.
Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
scottwilkerson
DevOps Engineer
Posts: 19396 Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:
Post
by scottwilkerson » Mon Jan 14, 2019 12:29 pm
SteveBeauchemin wrote: Modified my AWS automation scripts to use the syntax you provided.
Thanks for the solution Scott.
Steve B
great! Locking thread