[Nagios-devel] Contact negation - Nagios3.0b5

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

[Nagios-devel] Contact negation - Nagios3.0b5

Post by Guest »

This is a multi-part message in MIME format.

------_=_NextPart_001_01C81BC2.EF33D775
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I don't see anywhere in the definition of the host object that !user =
would be allowed. I think Nagios is actually trying to find a user =
called user and since it doesn't exist complains about that. Try making =
another group without user included in it and reference that group =
instead.

=20

Regards,

David Fulton

=20

________________________________

From: [email protected] =
[mailto:[email protected]] On Behalf Of Thomas =
Stolle
Sent: Wednesday, October 31, 2007 7:53 AM
To: Nagios Developers List
Subject: [Nagios-devel] Contact negation - Nagios3.0b5

=20


Dear List,=20

I thing this problem has already been reported, but I am not sure if =
there was a solution.=20

Trying to exclude a member of a contactgroup for a specific service or =
host=20

define host{=20
use test_tmpl =20
host_name test=20
alias Server=20
contact_groups admins=20
contacts !user=20
notification_options d=20
address 10.x.x.x=20
}=20

I get the following error message.=20

Error: Contact '!user' specified in host 'test' is not defined anywhere! =

(of course user is defined)=20

As far as I know, such exclusions should be possible with Nagios3.0=20

Best regards=20
Thomas=20

P Please consider the environmental impact of needlessly printing this =
e-mail.=20

________________________________

RSC Commercial Services OHG
Wanheimer Stra=DFe 70, D-40468 D=FCsseldorf
Registergericht: D=FCsseldorf, HRA 12655=20


------_=_NextPart_001_01C81BC2.EF33D775
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable








v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}












I don’t see anywhere in the
definition of the host object that !user would be allowed. I think =
Nagios is
actually trying to find a user called =A0user and since it doesn’t =
exist
complains about that. Try making another group without user included in =
it and
reference that group instead.

 

Regards,

<font

...[email truncated]...


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