[Nagios-users] Custom variable not returning any values

2009-07-09 Thread Ayotunde Itayemi
Hi All, I use a custom variable _primary_contact in my host definitions (below). I then modified the notification commands to include the variable but it's not being set (no values are returned). What am I doing wrong? Thanks. define host { host_name

Re: [Nagios-users] Custom variable not returning any values

2009-07-09 Thread Kevin Keane
I think in your printf line, you need to reference it as $_HOSTPRIMARY_CONTACT$. Ayotunde Itayemi wrote: Hi All, I use a custom variable _primary_contact in my host definitions (below). I then modified the notification commands to include the variable but it’s not being set (no values

Re: [Nagios-users] Custom variable not returning any values

2009-07-09 Thread Ayotunde Itayemi
Hi Kevin, thanks it worked! This mail is from a Gimper -Original Message- From: Kevin Keane [mailto:subscript...@kkeane.com] Sent: Thursday, July 09, 2009 1:56 PM Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Custom variable not returning any values I think in your printf