Campaign: Shinken

Create multiple instance of deamon on same server

I suggest you provide a script that helps creating and configuring new instance of deamon on same server.

 

The script should :

- create ini file

- rc.d script

- duplicate deamon lauch script ...

 

the script should take as argument (non exhaustive) :

- Deamon to duplicate

- Port of new daemon

- Name to be happen to daemon name (ie poller-second ...)

 

This script should work on any OS already supported.

Submitted by

Voting

0 votes

Campaign: Shinken

Calculation or processing string in MACRO

I would like to add a processing string to my macro: - basic mathematic operation ( +,- ....) - substring - etc .... Example: define service { service_description SUPERSERVICE.................. check_command check_super_service!($_HOSTVAR1$-$_VAR2$) } **** other example with _HOSTWEBSITE=myapps.dev.enterprise.org: define service { service_description WEBSITE substr($_HOSTWEBSITE$,.) ; i just want hostname ...more »

Submitted by

Voting

0 votes

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 {www.toto.com,/page1.html},{www.pouet.com,/login.php} } define service{ service_description WebSite $KEY[0]$ use generic-service register 0 host_name ...more »

Submitted by

Voting

-1 votes