misccommands.cfg variable

Marc Powell marc at ena.com
Tue Mar 8 16:39:25 CET 2005


The documentation should always be your first resource. 

http://nagios.sourceforge.net/docs/1_0/macros.html

--
Marc

> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Fred Blaise
> Sent: Tuesday, March 08, 2005 9:21 AM
> To: Bill Akins
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] misccommands.cfg variable
> 
> Yea I knew for those 2. But I am trying to get the alias value.
> 
> Thanks
> 
> On Tue, 2005-03-08 at 09:37 -0500, Bill Akins wrote:
> > There is $CONTACTEMAIL$ and $CONTACTPAGER$ which is pulled from
> > contacts.cfg definition of email and pager:
> >
> > # 'nagios' contact definition
> > define contact{
> >         contact_name                    nagios
> >         alias                           Nagios Admin
> >         service_notification_period     24x7
> >         host_notification_period        24x7
> >         service_notification_options    w,u,c,r
> >         host_notification_options       d,u,r
> >         service_notification_commands   notify-by-email
> >         host_notification_commands      host-notify-by-email
> >         email                           someone at somewhere.com
> >         pager                           12345 at somepager.com
> >         }
> >
> > HTH!
> >
> > >>> Fred Blaise <fred.blaise at excilan.com> 3/8/2005 8:21 AM >>>
> >
> > Hello
> >
> > What would be the variable that represents the contact name?
> > $CONTACTNAME$ ?
> >
> > Thanks
> >
> > Regards
> >
> > fred
> >


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list