CONFIG GLOBAL OBJECT RENAME

Level

globalobject+modify

History

Appears in 9.0.0

Description

Rename global objects

Usage

type=<host|range|network|service|time|group|servicegroup> oldname=<old_objname> newname=<new_objname>

Remark

rename all the occurences of old_objname to new_objname in the configuration files
this command returns an error code if :
old objname is not found.
new objname already exists.

Example

config global object rename type=host oldname=foo newname=bar CACHE_CATEGORY objects+filter CACHE_CATEGORY_CLONE objects+filter