Page 1 of 1

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

Posted: Sun May 22, 2011 8:26 pm
by Guest
--000e0cd144e6c2252e04a3e40210
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I am currently running 3.2.3.

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).

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.
*.... lines ommited ....*
Total Errors: 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 {
hostgroup_name consumer Electronics
alias Consumer Electronics
}

*##### config check runs perfectly!!!*

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.

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.

Any suggestions would be great!

--000e0cd144e6c2252e04a3e40210
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I am currently running 3.2.3. I have quite a few machines run=
ning=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 (ident=
ical on all machines)define hostgroup {=A0=A0=A0 hostgroup_name=
Consumer Electronics
=A0=A0=A0 alias Consumer Electronics}#### running nagios -v =
../nagios.cfg get this (please note, the corrupt characters change every ti=
me I run the verify process).... lines ommited ....=A0=
=A0=A0=A0=A0=A0=A0 Checked 15 hosts.
Checking host groups...Error: Host '=E8=F0' specified in host g=
roup 'Consumer Electronics' is not defined anywhere!=A0=A0=A0=
=A0=A0=A0=A0 Checked 11 host groups..... lines ommited ....T=
otal Errors:=A0=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 snipitdefine host=
group {
=A0=A0=A0 hostgroup_name consumer Electronics=A0=A0=A0 alias Consumer E=
lectronics}##### config check runs perfectly!!!N=
ote: It so happens that this hostgroup is not even in use on this particula=
r machine.=A0 I 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=
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 cha=
racters.
Any suggestions would be great!

--000e0cd144e6c2252e04a3e40210--





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