Project

General

Profile

Task #3333

Generalize mk_* scripts for host name

Added by Dave Vieglais about 12 years ago.

Status:
New
Priority:
Low
Assignee:
Category:
Support Operations
Target version:
-
Start date:
2012-10-11
Due date:
% Done:

0%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

There is currently a dependency of "-1" in the hostname for the various custom check_mk custom plugins.

This should be generalized at some point.

This didn't work:

testhost=$(echo $thishost | sed s/-[a-z]*-([0-9])/-${host}-\1/)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)