Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This article describes how to adjust the thresholds that are used to determine coloring within the Global Scan performance fields for all elements or for individual elements.

...

Article Contents

...

...

 

Understanding What Each Field Represents

...

 Before you change GlobalScan thresholds, refer to the table below for a description of each field that you can control and the associated setting name that will be used later in this article.

...

\n \n\t
Performance Field
\n\t
Description
\n\t
DataStore setting name
\n\t
uptime.conf setting name
\n \n \n\t
TOT
\n\t
The overall total CPU % busy.
\n\t
gs_cpu_warn
gs_cpu_crit
\n\t
globalscan.cpu.warn
globalscan.cpu.crit
\n \n \n\t
% Used
\n\t
The capacity of the file system that is most full on the element.
\n\t
gs_diskfull_warn
gs_diskfull_crit
\n\t
globalscan.diskfull.warn
globalscan.diskfull.crit
\n \n \n\t
% Busy
\n\t
The work time of the busiest spindle on the element.
\n\t
gs_diskbusy_warn
gs_diskbusy_crit
\n\t
globalscan.diskbusy.warn
globalscan.diskbusy.crit
\n \n \n\t
Swap Used
\n\t
Total swap space used.
\n\t
gs_swap_warn
gs_swap_crit
\n\t
globalscan.swap.warn
globalscan.swap.crit
\n \n

...

Each field has two setting names: one to control the warning (yellow) threshold and another to set the critical (red) threshold. Either or both settings can be modified. The setting to update for warning thresholds includes the word warn in the setting and the critical threshold setting includes the word crit in the setting name.

...

 

Changing Thresholds for all Elements

...

To change the current thresholds for all elements within your up.time Uptime Infrastructure Monitor installation, complete the following steps:

...

    \n\t
    1. Connect to your up.time DataStore using an ODBC or database tool. Assuming that you have installed

    up.time
    1. Uptime Infrastructure Monitor in the default location, you can access the DataStore at the command line using the following commands:

    \n \n\t
    «change to the up.time installation directory»
    cd mysql
    cd bin
    ./mysql -u uptime
    1.  

      Code Block
      languagetext
      «change to the Uptime installation directory»
      cd mysql
      cd bin
      ./mysql -u uptime --password=uptime -P 3308 --protocol=TCP uptime

    \n\t

    \n\t
    1. 
      
    2. After you login to the up.time DataStore, run a command to update the threshold that you want to use with all elements. The command format and an example are detailed below. Replace the «field» text in the example below with a value from the DataStore setting name column in the table above. Replace the «new value» text in the example below with your new threshold setting (decimal values are not permitted for thresholds).

    \n \n\tNote: mysql» update entity set
    1. Note
      titleNote
      All mysql commands assume that you are using a MySQL DataStore. The format of the commands may differ slightly for Oracle or SQL Server databases.
    \n \n\t
    1.  

Code Block
languagesql
mysql» update entity set «field»=«new value»;

...



Example

...


mysql» update entity set gs_swap_warn=50

...


mysql» update entity set gs_swap_crit=75

...


  1. Run the command above for each threshold value that you want to change. When you are finished, use the exit; command to be returned to the command line.
  2. \n

...

Refresh your GlobalScan view to see the new settings.

...

 

Changing Thresholds for a Single Element

...

To change the current thresholds for a single element within your up.time Uptime Infrastructure Monitor installation, complete the following steps:

...

    \n\t
  1. Connect to your up.time DataStore using an ODBC or database tool. See the example above for details on accessing the default up.time DataStore installation. \n\t
  2. \n\t
  3. Run two commands to update the threshold for a specific element. \n

    The first command looks up the ID of the element that you want to update, and the second command applies the change. The command formats and an example are detailed below.

    \n \n

    Replace the «display» text in the example below with the display name of the element for which you want to change the thresholds. Replace the «field» text in the example below with a value from the DataStore setting name column in the table above. Replace the «new value» text in the example below with your new threshold setting. The first command will return a value that you will need to use to replace the «id» text within the second command (decimal values can not be used for the new threshold).

    \n \n\tmysql» select

    Code Block
    languagesql
    mysql» select entity_id from entity where display_name='«display»';


    
    mysql» update entity set «field»=«new value» where entity_id=«id»;


    
    
    Example:


    
    mysql» select entity_id from entity where display_name='my server';


    
    ------


    
    | 23 |


    
    ------


    
    mysql» update entity set gs_swap_warn=50 where entity_id=23;


    
    mysql» update entity set gs_swap_crit=75 where entity_id=23;

    \n\t
  4. \n\t
  5. Run the command above for each threshold value that you want to change. When finished, use the exit; command to be returned to the command line.
  6. \n

...

Refresh your Global Scan view to see the new settings.

...

 

Changing the Default Values for New Elements

...

Configure different default GlobalScan threshold settings for all new elements that you add to up.time Uptime Infrastructure Monitor by completing the following steps:

...

 

    1. On your monitoring station system, open the uptime.conf file in a text editor.
    \n
    1. The uptime.conf file is located in the base

    up.time
    1. Uptime Infrastructure Monitor installation folder.

    \n\t
    1. Locate the following lines in the file:
    \n\t

    1.  

Code Block
globalscan.cpu.warn=70

...


globalscan.cpu.crit=90

...


globalscan.diskbusy.warn=70

...


globalscan.diskbusy.crit=90

...


globalscan.diskfull.warn=70

...


globalscan.diskfull.crit=90

...


globalscan.swap.warn=70

...


globalscan.swap.crit=90

...


  1. Edit the values after the = character to reflect the default GlobalScan thresholds that you want to use for new elements added to up.time. \n\t
  2. \n
  3. Uptime Infrastructure Monitor.
  4. Save the file and exit the text editor.
  5. \n\t
  6. Restart the up.time Uptime Infrastructure Monitor core service. \n

    On Solaris and Linux monitoring stations, restart the uptime_core service. On Windows monitoring stations, restart the up.time Data Collector service.

  7. \n

...

All elements that you add to up.time Uptime Infrastructure Monitor will use the GlobalScan thresholds specified in the uptime.conf file.

...