Results 1 to 2 of 2

Thread: how to to configure an aggregation from a variable

  1. #1

    how to to configure an aggregation from a variable

    Hello,
    I would like to configure a service template using a variable to build automatic aggregation and check

    Here is my template :

    Code:
    define service{
            name                            Website_Availability
            use                               generic-service,5min_short
            aggregation                   Website
            register                         0
            service_dependencies     ,Apache avaibility
            check_command            check_website_availability
            }
    And in my definition :

    Code:
    define service{
           host_name               	server 1
           use			        Website_Availability,5min_short
           service_description     site.com Availability
           _URL                         site.com
           aggregation                Website/site.com
           business_impact         	5
           check_command         check_website_availability
    }
    I would like to remove the line aggregation and check_command from my definition just by adding something like
    Code:
            aggregation                   Website/$_URL$
    in my template definition

    I don't feel like the aggregation is inherit


    Is it possible? How?


    Thanks in advance

  2. #2
    Is this forum still alive?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •