4 עדכון במרוכז

סקירה כללית

לפעמים ייתכן שתרצה לשנות תכונה כלשהי עבור מספר תבניות בבת אחת. במקום לפתוח כל תבנית בודדת עבור עריכה, אתה יכול להשתמש בפונקציית העדכון ההמוני לשם כך.

שימוש בעדכון המוני

כדי לעדכן באופן המוני כמה תבניות, בצע את הפעולות הבאות:

  • סמן את תיבות הסימון לפני התבניות שברצונך לעדכן ב- תבנית list
  • לחץ על עדכון המוני מתחת לרשימה
  • נווט לכרטיסייה עם התכונות הנדרשות (תבנית, תגים, פקודות מאקרו או מיפוי ערכים)
  • סמן את תיבות הסימון של כל תכונה לעדכון והזן ערך חדש בשבילם

האפשרויות הבאות זמינות בעת בחירת הלחצן המתאים לעדכון קישור תבנית:

  • קישור - ציין אילו תבניות נוספות לקשר
  • החלף - ציין אילו תבניות לקשר בזמן ביטול הקישור של כל אחת מהן תבנית שהייתה מקושרת לתבניות לפני כן
  • בטל קישור - ציין אילו תבניות לבטל את הקישור

כדי לציין את התבניות לקישור/ביטול קישור התחל להקליד את שם התבנית בשדה ההשלמה האוטומטית עד להופעת תפריט נפתח המציעה את תבניות תואמות. פשוט גלול למטה כדי לבחור את התבנית הנדרשת.

האפשרות נקה בעת ביטול קישור תאפשר לא רק לבטל קישור תבניות מקושרות בעבר, אך גם להסיר את כל הרכיבים שעברו בירושה אותם (פריטים, טריגרים וכו').

האפשרויות הבאות זמינות בעת בחירת הלחצן המתאים לעדכון קבוצה מארחת:

  • הוסף - מאפשר לציין קבוצות מארחות נוספות מהקיימות או הזן קבוצות מארחות חדשות לגמרי עבור התבניות
  • החלף - יסיר את התבנית מכל קבוצות מארחות קיימות ולהחליף אותם באחד/ים המצוינים בשדה זה (קיים או קבוצות מארחות חדשות)
  • הסר - יסיר קבוצות מארחות ספציפיות מתבניות

השדות הללו הם השלמה אוטומטית - מתחילים להקליד בהם מציע א תפריט נפתח של קבוצות מארחות תואמות. אם הקבוצה המארחת חדשה, גם היא מופיע בתפריט הנפתח והוא מסומן על ידי (חדש) אחרי המחרוזת. פשוט גלול למטה כדי לבחור.

פקודות מאקרו של משתמשים, {INVENTORY.*} פקודות מאקרו, {HOST.HOST}, {HOST.NAME}, פקודות המאקרו {HOST.CONN}, {HOST.DNS}, {HOST.IP}, {HOST.PORT} ו-{HOST.ID} הן נתמך בתגים. שימו לב, שתגים עם אותו שם, אבל שונים ערכים אינם נחשבים 'כפולים' וניתן להוסיף אותם תבנית.

האפשרויות הבאות זמינות בעת בחירת הלחצן המתאים לעדכון פקודות מאקרו:

  • הוסף - מאפשר לציין פקודות מאקרו נוספות של משתמש עבור התבניות. אם תיבת הסימון עדכן קיים מסומנת, ערך, הקלד ו התיאור עבור שם המאקרו שצוין יעודכן. אם לא מסומן, אם מאקרו בשם זה כבר קיים ב- תבניות, זה לא יעודכן.
  • עדכון - יחליף ערכים, סוגים ותיאורים של פקודות מאקרו המצוין ברשימה זו. אם תיבת הסימון הוסף חסרים מסומנת, מאקרו שלא היה קיים בעבר בתבנית יתווסף כחדשה מאקרו. אם לא מסומן, רק פקודות מאקרו שכבר קיימות בתבנית יעודכן.
  • הסר - יסיר פקודות מאקרו שצוינו מתבניות. אם למעט התיבה שנבחרה מסומנת, כל פקודות המאקרו למעט שצוינו ברשימה יוסר. אם לא מסומן, רק פקודות מאקרו שצוינו ברשימה יוסר.
  • הסר הכל - יסיר את כל פקודות המאקרו של המשתמש מהתבניות. אם אני אשר להסרת כל פקודות המאקרו* תיבת הסימון אינה מסומנת, חלון קופץ חדש ייפתח חלון המבקש לאשר הסרה של כל פקודות המאקרו.

לחצנים עם האפשרויות הבאות זמינים לעדכון מפת ערך:

  • הוסף - הוספת מפות ערך לתבניות. אם תסמן עדכון קיים, כל המאפיינים של מפת הערכים בשם זה יהיו מְעוּדכָּן. אחרת, אם כבר קיימת מפת ערכים בשם זה, היא לא יעודכן.
  • עדכון - עדכון מפות ערך קיימות. אם תסמן הוסף חסר, א מפת ערכים שלא הייתה קיימת בעבר בתבנית תתווסף כמפת ערכים חדשה. אחרת רק מפות הערך שכבר קיימות על תבנית יעודכן.
  • שנה שם - תן שם חדש למפת ערכים קיימת
  • הסר - הסר את מפות הערכים שצוינו מהתבניות. אם תסמן מלבד נבחר, כל מפות הערכים יוסרו למעט אלו שצוינו.
  • הסר הכל - הסר את כל מפות הערכים מהתבניות. אם ה-I אשר להסיר את כל מפות הערך תיבת הסימון אינה מסומנת, חדשה ייפתח חלון קופץ המבקש לאשר את ההסרה.

כשתסיים עם כל השינויים הנדרשים, לחץ על עדכן. התכונות יעודכן בהתאם לכל התבניות שנבחרו.

The Template tab contains general template mass update options.

The following options are available when selecting the respective button for the Link templates update:

  • Link - specify which additional templates to link;
  • Replace - specify which templates to link while at the same time unlinking any previously linked templates;
  • Unlink - specify which templates to unlink.

To specify the templates to link/unlink, start typing the template name in the auto-complete field until a dropdown appears offering the matching templates. Just scroll down to select the required templates.

The Clear when unlinking option will allow to unlink any previously linked templates, as well as to remove all elements inherited from them (items, triggers, graphs, etc.).

The following options are available when selecting the respective button for the Template groups update:

  • Add - allows to specify additional template groups from the existing ones or enter completely new template groups for the templates;
  • Replace - will remove the template from any existing template groups and replace them with the one(s) specified in this field (existing or new template groups);
  • Remove - will remove specific template groups from templates.

These fields are auto-complete - starting to type in them offers a dropdown of matching template groups. If the template group is new, it also appears in the dropdown and it is indicated by (new) after the string. Just scroll down to select.

The Tags tab allows you to mass update template-level tags.

User macros, {INVENTORY.*} macros, {HOST.HOST}, {HOST.NAME}, {HOST.CONN}, {HOST.DNS}, {HOST.IP}, {HOST.PORT} and {HOST.ID} macros are supported in tags. Note that tags with the same name, but different values are not considered 'duplicates' and can be added to the same template.

The Macros tab allows you to mass update template-level macros.

The following options are available when selecting the respective button for macros update:

  • Add - allows to specify additional user macros for the templates. If Update existing checkbox is checked, value, type and description for the specified macro name will be updated. If unchecked, if a macro with that name already exist on the template(s), it will not be updated.
  • Update - will replace values, types and descriptions of macros specified in this list. If Add missing checkbox is checked, macro that didn't previously exist on a template will be added as new macro. If unchecked, only macros that already exist on a template will be updated.
  • Remove - will remove specified macros from templates. If Except selected box is checked, all macros except specified in the list will be removed. If unchecked, only macros specified in the list will be removed.
  • Remove all - will remove all user macros from templates. If I confirm to remove all macros checkbox is not checked, a new popup window will open asking to confirm removal of all macros.

The Value mapping tab allows you to mass update value mappings.

Buttons with the following options are available for value map update:

  • Add - add value maps to the templates. If you mark Update existing, all properties of the value map with this name will be updated. Otherwise, if a value map with that name already exists, it will not be updated.
  • Update - update existing value maps. If you mark Add missing, a value map that didn't previously exist on a template will be added as a new value map. Otherwise only the value maps that already exist on a template will be updated.
  • Rename - give new name to an existing value map.
  • Remove - remove the specified value maps from the templates. If you mark Except selected, all value maps will be removed except the ones that are specified.
  • Remove all - remove all value maps from the templates. If the I confirm to remove all value maps checkbox is not marked, a new popup window will open asking to confirm the removal.

Add from template and Add from host options are available for value mapping add/update operations. They allow to select value mappings from a template or a host respectively.

When done with all required changes, click on Update. The attributes will be updated accordingly for all the selected templates.