Search found 9 matches

by neshelman
Thu Dec 12, 2019 10:39 am
Forum: Open Source Nagios Projects
Topic: Error: Service has no hosts and/or service_description
Replies: 0
Views: 1282

Error: Service has no hosts and/or service_description

Hi, We moved from nagios 3 to 4. The upgrade was done by the zypper package manager. Now we get this error on starting the service: Error: Service has no hosts and/or service_description (config file '/etc/nagios/objects/templates.cfg', starting on line 379) (379) define service{ name local-service ...
by neshelman
Thu Mar 28, 2019 12:25 pm
Forum: Nagios XI
Topic: Imported cfg files but only host name shows in CCM
Replies: 1
Views: 289

Imported cfg files but only host name shows in CCM

Hi, I used the nagiosxi import tool to import cfg files from our Nagios core server. The converted files in /usr/local/nagios/etc/cfgprep seem OK. All of the hosts appear in the CCM but all of the fields except for Host Name are blank. Did I miss a step? Thanks --Nicholas
by neshelman
Fri Mar 22, 2019 1:33 pm
Forum: Nagios XI
Topic: The script that failed was: './A-subcomponents'
Replies: 9
Views: 2816

Re: The script that failed was: './A-subcomponents'

I uninstalled MariaDB and ran the script from /tmp. I didn't get any mysql errors, but it still failed: 2019-03-22 14:30:24 (8.95 MB/s) - ‘phantomjs-1.9.8-linux-x86_64.tar’ saved [4961] tar: This does not look like a tar archive tar: Skipping to next header tar: Exiting with failure status due to pr...
by neshelman
Fri Mar 22, 2019 1:01 pm
Forum: Nagios XI
Topic: The script that failed was: './A-subcomponents'
Replies: 9
Views: 2816

Re: The script that failed was: './A-subcomponents'

I don't know if mariadb was part of my base installation. I'm not using a proxy. apt-get update works. I'm running is from a custom location.
by neshelman
Fri Mar 22, 2019 12:55 pm
Forum: Nagios XI
Topic: The script that failed was: './A-subcomponents'
Replies: 9
Views: 2816

Re: The script that failed was: './A-subcomponents'

Hi, I found that there were errors in these sql files: nagiosxi/subcomponents/ccm/db/create_db.sql nagiosxi/subcomponents/ndoutils/mods/create_db.sql nagiosxi/nagiosxi/nagiosxi-db/ nagiosxi_db.sql I had to change them from this: CREATE DATABASE `nagios` DEFAULT CHARACTER SET utf8 COLLATE utf8_genera...
by neshelman
Wed Mar 20, 2019 3:44 pm
Forum: Nagios XI
Topic: The script that failed was: './A-subcomponents'
Replies: 9
Views: 2816

Re: The script that failed was: './A-subcomponents'

Hi, This time it failed with: NOTE: If prompted, enter the MySQL root password ERROR 1396 (HY000) at line 3: Operation CREATE USER failed for 'ndoutils'@'localhost' ERROR: Subcomponent 'ndoutils' installation failed - exiting. Subcomponents installation failed - exiting RESULT=1 =================== ...
by neshelman
Wed Mar 20, 2019 3:36 pm
Forum: Nagios XI
Topic: The script that failed was: './A-subcomponents'
Replies: 9
Views: 2816

Re: The script that failed was: './A-subcomponents'

Hi, This time it failed like thisa: NOTE: If prompted, enter the MySQL root password ERROR 1396 (HY000) at line 3: Operation CREATE USER failed for 'ndoutils'@'localhost' ERROR: Subcomponent 'ndoutils' installation failed - exiting. Subcomponents installation failed - exiting RESULT=1 ==============...
by neshelman
Wed Mar 20, 2019 2:11 pm
Forum: Nagios XI
Topic: The script that failed was: './A-subcomponents'
Replies: 9
Views: 2816

The script that failed was: './A-subcomponents'

Hi, I'm trying to install nagios xi on a clean Debian 9 server. The installation fails with: Result: FAIL Failed 16/16 test programs. 32/33 subtests failed. Makefile:870: recipe for target 'test_dynamic' failed make: *** [test_dynamic] Error 255 ERROR: Subcomponent 'extraplugins' installation failed...