Feature not bug
define a contact email or pager (/dev/null in template works well), and
assign a null timeperiod for receiving host and service notifications.
-sg
On Wed, 4 Dec 2002, Voon, Ton wrote:
> Hi!
>
> In my contacts.cfg, I want to define a contact without any notification.
> This is so they can view just their listed hostgroups, rather than the
> entire list. However, if I create the following:
>
> define contact{
> contact_name voont
> alias Ton Voon
> }
>
> then running nagios -v gives:
> Error: Contact name, alias, or email address and pager number are NULL
>
> Maybe the check should be:
> if ( (host|service)_notification_options != n or NULL) {
> pager or email must be defined
> }
>
> Ton
>
> Ton Voon
> IT Operations - Environments
> North Wing, Derby
> Telephone: 01384 26 (4406)
> mailto: ton.voon@egg.com
>
>
>
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Visual Studio.NET
> comprehensive development tool, built to increase your
> productivity. Try a free online hosted session at:
> http://ads.sourceforge.net/cgi-bin/redi ... micr0003en
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/lis ... gios-devel
>
--
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: sghosh@sghosh.org