Re: [Nagios-devel] Nagios config verify failing with "garbage"
-
Guest
Re: [Nagios-devel] Nagios config verify failing with "garbage"
--Apple-Mail-51--726742885
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=iso-8859-1
Can you provide a minimal configuration that displays this symptom? We =
can then reproduce and fix and add to test cases for checking in future =
too.
Ton
On 22 May 2011, at 22:26, Jim Smythe wrote:
> I am currently running 3.2.3.=20
>=20
> I have quite a few machines running nagios and all but one are running =
happily with very similar configs (hosts/services differ from machine to =
machine, but all other files are identical).
>=20
> I get a config check error on one that is very strange.
>=20
> #### Snipit of hostgroup config file that doesn't work (identical on =
all machines)
> define hostgroup {
> hostgroup_name Consumer Electronics
> alias Consumer Electronics
> }
>=20
> #### running nagios -v ../nagios.cfg get this (please note, the =
corrupt characters change every time I run the verify process)
> .... lines ommited ....
> Checked 15 hosts.
> Checking host groups...
> Error: Host '=E8=F0' specified in host group 'Consumer Electronics' is =
not defined anywhere!
> Checked 11 host groups.
> .... lines ommited ....
> Total Errors: 1
>=20
> #### 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 {
> hostgroup_name consumer Electronics
> alias Consumer Electronics
> }
>=20
> ##### config check runs perfectly!!!
>=20
> Note: It so happens that this hostgroup is not even in use on this =
particular machine. I just have a standard hostgroup config file that =
gets distributed to all machines.=20
>=20
> I think this is a bug, but I cannot find any information that shows =
one already logged, and I don't really know how to confirm exactly what =
is causing the verify process to believe there is a host with the =
garbage characters.
>=20
> Any suggestions would be great!
> =
--------------------------------------------------------------------------=
----
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its=20
> next-generation tools to help Windows* and Linux* C/C++ and Fortran=20
> developers boost performance applications - including clusters.=20
> =
http://p.sf.net/sfu/intel-dev2devmay___ ... _________=
_________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
--Apple-Mail-51--726742885
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=iso-8859-1
Can =
you provide a minimal configuration that displays this symptom? We can =
then reproduce and fix and add to test cases for checking in future =
too.TonOn 22 May 2011, at =
22:26, Jim Smythe wrote:I am =
currently running 3.2.3. I have quite a few machines running=20
nagios and all but one are running happily with very similar configs=20
(hosts/services differ from machine to machine, but all other files are=20=
identical).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 =
{ hostgroup_name Consumer Electronics
alias Consumer Electronics}#### =
running nagios -v ../nagios.cfg get this (please note, the corrupt =
characters change every time I run the verify process).... =
lines ommited .... =
Checked 15 hosts.
Checking host groups...Error: Host '=E8=F0' specified in host group =
'Consumer Electronics' is not defined =
anywhere! Checked 11 host =
groups
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]