Campaign: Shinken

Table in custom MACRO

I suggest creating a sub-table for duplicate_foreach.

Exemple with a list of web virtual host service that need a vitualhost name and uri:


define host {

name webserver


_WEB_SITES {,/page1.html},{,/login.php}



define service{

service_description WebSite $KEY[0]$

use generic-service

register 0

host_name vhost

check_command check_vhost!$KEY[0]$!KEY[1]$

duplicate_foreach _WEB_SITES


Submitted by



-1 votes
Idea No. 124