Renaming hosts



  • set the host to nomonitor
  • identify all rules directly assigned to the host from WATO, they might be lost
  • rename the host in WATO not possible, must do manually / using sed
  • re-apply any lost rules
  • move the logwatch directory
  • move the autochecks file
  • remove the (precompiled) hostchecks ( and hostname.pyc)
  • move the rrd folder for the host
  • edit the host's xml definition not needed: File is updated by pnp on next run
  • check cmk -D for the host
  • check cmk -nv hostname
  • run cmk -O


Parenting might also be affected