Re: [Nagios-devel] Nagios config verify failing with "garbage"

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.
Locked
Guest

Re: [Nagios-devel] Nagios config verify failing with "garbage"

Post by Guest »

That seems to have fixed it. We are running testing now on our
systems, but so far everything went fine.

One note, however, is that Valgrind still shows 2 issues even after the pat=
ch.

On Mon, May 23, 2011 at 11:58 AM, Sven-G=F6ran Bergh w=
rote:
>
>>
>>Fr=E5n: Jim Smythe
>>Till: [email protected]
>>Skickat: s=F6n 22 maj 2011 11:26:40
>>=C4mne: [Nagios-devel] Nagios config verify failing with "garbage" charac=
ters in
>>output
>>
>>I am currently running 3.2.3.
>>
>>I have quite a few machines running =A0nagios and all but one are running=
happily
>
>>with very similar configs =A0(hosts/services differ from machine to machi=
ne, but
>>all other files are =A0identical).
>>
>>I get a config check error on one that is very strange.
>>
>>#### Snipit of hostgroup config file that doesn't work (identical on all
>>machines)
>>define hostgroup {
>> =A0 =A0hostgroup_name Consumer Electronics
>> =A0 =A0alias Consumer Electronics
>>}
>>
>>#### running nagios -v ../nagios.cfg get this (please note, the corrupt
>>characters change every time I run the verify process)
>>.... lines ommited ....
>> =A0 =A0 =A0 =A0Checked 15 hosts.
>>Checking host groups...
>>Error: Host '=E8=F0' specified in host group 'Consumer Electronics' is no=
t defined
>>anywhere!
>> =A0 =A0 =A0 =A0Checked 11 host groups.
>>.... lines ommited ....
>>Total Errors: =A0 1
>>
>>#### changing the "C" in consumer electronics to a "c" fixes it (or, from=
a
>>cursory check, any letters except "A", "B", or "C") - see modified snipit
>>define hostgroup {
>> =A0 =A0hostgroup_name consumer Electronics
>> =A0 =A0alias Consumer Electronics
>>}
>>
>>##### config check runs perfectly!!!
>>
>>Note: It so happens that this hostgroup is not even in use on this partic=
ular
>>machine. =A0I just have a standard hostgroup config file that gets distri=
buted to
>
>>all machines.
>>
>>
>>I think this is a bug, but I cannot find any information that shows one a=
lready
>
>>logged, and I don't really know how to confirm exactly what is causing th=
e
>>verify process to believe there is a host with the garbage characters.
>>
>>Any suggestions would be great!
>
> Hi,
>
> I recognize the behaviour and it could be the same problem I had.
> Try the latest GIT/SVN (whatever) or look at the patch below and
> apply it to the clean 3.2.3 version.
>
> http://sourceforge.net/mailarchive/mess ... 3D26565601
>
> Unfortnately, I do not have commit ID for it.
> Hope this will solve your problem.
>
> Brgds
> /Sven
> ______________________________________________
>
> Sven-G=F6ran Bergh, Systemasis AB
> ______________________________________________
>
> -------------------------------------------------------------------------=
-----
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked