Core 3.5 generic pre-flight verification error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
v3-alex
Posts: 9
Joined: Fri Nov 21, 2014 9:58 am

Core 3.5 generic pre-flight verification error

Post by v3-alex »

Hey guys,

Been trying to figure this problem out for a couple days, but to no avail. A few days ago I wanted to add a new host to monitoring, however, prior to adding the config file I decided to run the pre-flight check to ensure everything was good to go. Instead NAGIOS throws a processing config files error without any further details as to the root cause of the problem.

Code: Select all

Nagios Core 3.5.0
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-15-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config file '/usr/local/nagios/etc/objects/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/templates.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/events_hosts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/events_services.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/knox_hosts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/knox_services.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux_hosts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux_ping_only.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux_services.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows_hosts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows_services.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/core_hosts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/core_services.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/data_team_hosts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/data_team_services.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/qa_hosts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/qa_services.cfg'...
Processing object config directory '/usr/local/nagios/etc/objects/linux'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-eqx2-lmm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lutil01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-leng03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lotn02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi-lauto01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-leng07.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur-lcap01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vqa-chi-lqa03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lcmf03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lotn05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lota04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/achi-dev38.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-nje2-ljm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-lmsf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-sle2-lebo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-leng08.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lsys01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vqa-chi-lqa06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-njx2-lhso02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-lauto01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-elk2-lref01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-ger2-lspr01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-njx2-lhso02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-ljm02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-eqx2-lslt01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur-lota01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur-lota01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lnag01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lotn05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-linv.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-fesql01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lnag01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-cer2-lmm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lcof01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi-cvma03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-ger2-lspr01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-cer2-lmm02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vdev-chi-ldat01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-eqx2-lmm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lalg02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-lcto01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-ger2-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sqa-chi-lopr01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-elk-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lcmf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lsys01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lotm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-njx2-lcbf04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-lauto06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-eqx2-lslt01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lotn02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-lmsd01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lfish01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-leng04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lotm02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-ger2-leng01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lvm02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-lebo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-sle-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-sle2-lmm03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-cer2-lico03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi-lsql04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-sle2-lorfh01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lwiki01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lutil01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-kdc2-ljmp01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-cer2-lico03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-elk2-levf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lmm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-njx2-lorfh01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur-lcap01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-cer2-lmm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-lunp01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lotm05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-ljira01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-ljm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-njx2-lcxo02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur2-lauto01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lmm02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur2-lcmf03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi-fesql01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-eqx2-data02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lvm01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-data01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-kdc2-ljmp01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur2-lcmf02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-elk2-lref01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lota03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vqa-chi-lqa05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-nje2-lebo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur2-lrtr02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-njx2-lcxo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-eqx2-leor01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-cvma03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-eqx2-lmm06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-elk2-lreo02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-levf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lauto01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-lauto07.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-eqx2-lmm06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-njx2-llmf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-lsql04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/dchi-rhk40.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-njx2-lcxo02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-lweo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-njx2-lcxo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sqa-chi-lopr01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-elk2-lreo02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-ger2-leng01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-nje2-lcto01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/600w-ntp-01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lotm02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-bcp02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lvm06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-eqx2-lmm04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vqa-chi-lqa04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lrtr02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-lauto05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-elk-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur2-lcmf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-lrel02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/dchi-cent05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-cer2-lmm02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vprd-chi-lcrwd01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-cer2-licf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vqa-chi-lqa02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi-lrel01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-sle2-lebo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi2-lotm05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lota03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lcmf04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-aur2-levf01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-sle-lotn01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lcmf02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur2-lcmo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-aur-lcap02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-chi-bcp02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/vqa-chi-lqa01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-njc2-llmf04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-nje2-llt01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/i-sprd-nje2-lweo01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/linux/sprd-chi2-lotm01.cfg'...
Processing object config directory '/usr/local/nagios/etc/objects/windows'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ICM903.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-WSUS01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-CVLT01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-EQX2-JMP06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-LMSF01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI2-RDA01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VPRD-CHI-WEB02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-PEEP02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-PRC01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-AVT02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-KNX08.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-BLD06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-DGCX03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VQA-CHI-QA03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-ISA04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VPRD-CHI-PEEP01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-BOT-BMB01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-SQL14.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-SQL07.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-DGCX04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-WEB01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-IMA02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-ADC06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-PRC05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-MOS03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/CHI1CPFILE001.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-KNX04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VPRD-CHI-WD01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VCHI-QA03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-CDS01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-DESK05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VCHI-QA04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-KNX03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU08.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VQA-CHI-QA01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-PEEP05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-EQX2-REU01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-TRO01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VCHI-SYS02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VPRD-CHI-DATA01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-RSA03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-CME02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-OCS03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VPRD-CHI-ACS01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-SSRS01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-JOB01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VCHI-QA02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-PEEP01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-DPM01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-MOS01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI2-MDM06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-SQL13.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-LMSA01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VPRD-CHI-CTX01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-PRF01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-SQL16.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-TRF01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-BLD01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ICM205.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-ESX06.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ICM252.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-LMSD01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/CHI1CPSCCMDP001.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/sprd-nje2-adc01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-KNX02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-ADC05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-DESK01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-CTX02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-PRNT02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-ADC07.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHIH-ABLD01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-OCS04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-NPM01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-IMA01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-CTX05.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-GPF01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-SYS01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/VQA-CHI-QA02.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SQA-CHI-MDA01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI2-CWD01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-BLD04.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU07.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-DAT01.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-SQL12.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/ACHI-GPU03.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows/SPRD-CHI-NOC01.cfg'...
   Error processing object config files!


***> One or more problems was encountered while processing the config files...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions.  If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section to find out what has changed.

Here are the debug settings from nagios.cfg:

Code: Select all

debug_level=2
debug_verbosity=2
debug_file=/usr/local/nagios/var/nagios.debug
max_debug_file_size=1000000
It feels like I'm overlooking something very simple which is all the more frustrating. Hope you guys can shed some light on this mystery.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Core 3.5 generic pre-flight verification error

Post by sreinhardt »

Did you have a peak at nagios.debug with those settings turned on? Nagios normally(not always for files, always for folders) goes in alphabetical order. So are there any other host or service files in your objects/windows directory post SPRD-CHI-NOC01.cfg? Another thought would be to list all of your files in that windows folder and compare against the list that nagios read. It is one of two files, the last one listed(SPRD-CHI-NOC01.cfg) or the next one that nagios was reading and is not listed.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
v3-alex
Posts: 9
Joined: Fri Nov 21, 2014 9:58 am

Re: Core 3.5 generic pre-flight verification error

Post by v3-alex »

To answer the first question - no. There is no nagios.debug file in /usr/local/nagios/var/nagios.debug even though that's where the configuration points.

There are other host files in the objects/windows directory that follow SPRD-CHI-NOC01.cfg, yes. But this was not the last file in the verification process when the error first appeared. Originally there were a few other config files that NAGIOS read just fine previously, but I had moved them to a different directory before running the verification this time and they were not in the output. This almost makes it seem that NAGIOS can't read whatever file is next in line. How would I go about identifying what this file is? From the output I originally posted it does not appear the files are checked in alphabetic order.

Thanks in advance!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Core 3.5 generic pre-flight verification error

Post by abrist »

I would first reduce the number of files for verification; maybe check the windows file and linux files separately.
Also, the lack of a verbose error leads me to believe that the issue could be with and escalation or dependency as those object lack proper error messages.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
v3-alex
Posts: 9
Joined: Fri Nov 21, 2014 9:58 am

Re: Core 3.5 generic pre-flight verification error

Post by v3-alex »

the lack of a verbose error leads me to believe that the issue could be with and escalation or dependency as those object lack proper error messages.
Could you please give an example of a NAGIOS setup where the issue would be escalation/dependency? This NAGIOS configuration was inherited by us from the previous sys admins, but I have not had any issues running config verification and troubleshooting the errors up until now.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Core 3.5 generic pre-flight verification error

Post by sreinhardt »

Generally this is going to be a host or service escalation with something defined that is not valid. Let's make this easier and get strace to tell us what file nagios last opened. You may need to install the package strace first.

Code: Select all

strace /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg 2>&1 | grep 'open'
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
v3-alex
Posts: 9
Joined: Fri Nov 21, 2014 9:58 am

Re: Core 3.5 generic pre-flight verification error

Post by v3-alex »

Ok, let's see.

When I run strace the last file opened is SPRD-CHI-NOC.cfg which is also the last file in the pre-flight error log. If I move this file to the inactive host directory and run strace again, the last file open is now ACHI-GPU03.cfg which did not throw errors previously. Each time I remove the last file opened the error still occurs just at an earlier point. Is there a command I could run to show the next file in read queue?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Core 3.5 generic pre-flight verification error

Post by sreinhardt »

Let's go ahead and have you send us a full strace output. If you are concerned about the hostnames and such, feel free to pm me. At this point, it seems that it may be an issue post config read-in, but it's hard to tell. Even strace may not tell us if it is an internal function issue as that would not cause a kernel system call. But let's have a look and verify first.

Code: Select all

mkdir /tmp/nagios-strace/
strace -ff -o /tmp/nagios-strace/nagios /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
tar czf nagios-strace.tar.gz /tmp/nagios-strace
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
v3-alex
Posts: 9
Joined: Fri Nov 21, 2014 9:58 am

Re: Core 3.5 generic pre-flight verification error

Post by v3-alex »

Followed your directions and sent a PM with the strace file.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Core 3.5 generic pre-flight verification error

Post by sreinhardt »

Got it! Well now, I see an error relating to ndomod not starting properly due to the ndomod.tmp file not being accessable, which is absolutely mandatory. Let's take a look at that folder and file permissions.

Code: Select all

ls -la /usr/local/nagios/var/ndomod.tmp
ls -lad /usr/local/nagios/var/
Edit: Looking a little higher up shows that ndo.sock is also not showing properly. That should actually be created by ndo2db, so let's take a look there too.

Code: Select all

ps -ef | grep bin/ndo
service ndo2db status
ls -la /usr/local/nagios/var/ndo.sock
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked