Custom Object Variables

Marcel mitsuto at gmail.com
Tue Nov 17 22:14:21 CET 2009


Hi there,

On Tue, Nov 17, 2009 at 5:33 PM, Eric Emerson <eemerson at safecore.com> wrote:

> //I am trying to set up some custom Object Variables based on the following
> docs but I must be misunderstanding something:
> define service{
>         use                             someStandardServiceTemplate
>         host_name                   someSpecificHostName
>         service_description        SSH
>         check_command           check_ssh!-p $_HOSTsshPort$
>         }
>

Capitalize the varname: $_HOSTSSHPORT$

Instead of the documentation saying that it is case insensitive, it only
works on TOUPPER variable name representation.

Cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20091117/f7c9dce8/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
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