If the hostgroup.cfg is included by nagios.cfg even indirectly, "nagios -v nagios.cfg" will include it in verification. It's not just verifying syntax or something else that can be done file-by-file, it checks to make sure that all references in the entire config to hosts and groups are defined and so on.
--Rick On Thu, Mar 11, 2010 at 9:01 AM, Gezina Dekker <[email protected]> wrote: > Assaf, > > Thank you fro the reply, but the command does not give me any reply-back. I > suppose it is because the problem is not in nagios .cfg, but in > hostgroup.cfg. I have tried to nverivy hostgroup.cfg this way, but it days > that the name looks suspicious... > > Regards > > Gezina > >> > Running configuration check. CONFIG ERROR! Restart aborted. Check >> > your Nagios configuration >> > >> > >> > I have server a definition for it. if I comment the lines out, the >> > resatrt is successful. >> > >> > I am just missing something??? >> > >> > Regards and thanks for all the help so far, learned a lot, >> > >> > Gezina >> try running this command >> >> /path/to/nagios -v /path/to/nagios.cfg >> >> this will give you some indication as to your problem. >> >> >> Assaf >> >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Nagios-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Nagios-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
