misccommands.cfg variable

Andreas Ericsson ae at op5.se
Tue Mar 8 16:24:47 CET 2005


Fred Blaise wrote:
> Yea I knew for those 2. But I am trying to get the alias value.
> 

Read the docs. You want the section dealing with macros, naturally.

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

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
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_id=6595&alloc_id=14396&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