Help on setting level Variable of severity Foglight V5

Hello

I created a custom Foglight rule that fires when the memory of hash reached a record variable that is defined.  The Condition is:

condition = (avg (#memory_sort_hash_mb) for 5 minutes # > = registry ("Memory_SortHash_Critical"));

The rule works very well, however I am having a problem displaying the value of memory.  I tried different ways of determining the scope to get the value, but I think that because it is an average value, it gives me problems.  Here's how I'm defining it as a Variable of severity level:

Scope.get ("memory_sort_hash_mb")

I can't get a return value of "null" However, no matter what I try.

Any help would be appreciated!

Thank you

Paul

Hi Paul,.

In your Variable to the severity level, you can use the same form as a condition.

You can get the current value of the metric of "memory_sort_hash_mb" with:

#memory_sort_hash_mb #.

Kind regards

Brian Wheeldon

Tags: Dell Tech

Similar Questions

  • Help with setting/get variables in app

    Hello

    I have an application that behaves as follows:

    1. the user connects.
    2. the user is presented with a list of projects; user clicks a project to drill down for this project.
    3. the user is presented with project information that includes 4 separate lists tasks grouped by week. So there are tasks for the current week in what is more task for 3 weeks on.
    4. the user can change the talks or create new ones for each of the 4 weekly groups.

    Given that, on the home page for a project I have set up a report and the form for each weekly group. I also have an element for the project as well as each weekly group id id. Here, the goal is that when a user clicks on the 'create' button, they can create a new task for a group of the weekly. However, this does not work.

    For the first group of weekly when I click on 'create' I am presented with the form to fill out for the task. All the information is there, including the correct id for this weekly group so that the task is assigned to this property. However, when I save I get an error that says that this identifying particular is set to null.

    For the next three groups when I click on 'create' I give myself the same thing as above, but without the weekly group id. Even if I put it and record things, I get the same error.

    So, I wonder what I did wrong in the flow of the app. I put these variables too early, too late? Am I really not pick up their despite what I see on my screen? I missed some foundations of the Apex here?

    Thanks in advance for your time and help.

    Jon

    It should be

    : ASK = "CREATE";

    'CREATE' is the name of the create"" button.

    CITY

  • Help with setting level and hard drive space allocation

    I use a Macbook Pro, aged 1 year, 200 GB of HD.  When I first installed the merger about a year ago, I think I have too much space allocated for the merger.  I allocated 100 GB (basically split the Mac HD).  I use many more apps in XP Pro as on the Mac side.  Now, I met two problems:

    1. I'm running out of space on the side Mac (went to update the Mac OS software recently and I was told I couldn't because of the lack of space; need to 9 GB and had only 4 GB of available). Then, I went to Fusion update (am currently uses version 1.1.3) and following the instructions of PDF of VMWare, went to duplicate virtual machine and could not do. Windows XP virtual machine uses 110 GB according to Get Info, so it's too big to duplicate.

    When I check the size of the virtual C drive on side Windows that indicates that I use GB 49 of the 100 assigned and a bit more 50 GB is unused space.  I know that I do not understand the virtual machines and, apparently, I thought it was just too much space on the windows 'side' is actually space on the Mac 'side' so. Don't know if it is correct or not.  Anyway, it seems to me that I was able to allocate less space to the virtual machine, and then have the space to reproduce?  Is this correct?  If so, how do I?

    2. assuming that the above problem can be straightened out, can I just install the latest version of the merger by the instructions by VMWare PDF file?

    Any help much appreciated and thanks in advance,

    Win

    Yes you can upgrade now if you want and you can download the latest (including 2.0.4 at present) version of the Web Site from VMware and is a free update for users of Fusion 1.x and it uses Fusion 1.x serial number.

    I'll get back to you later today on what else can be done to limit the growth, however, preventing you from upgrading.

  • Definition of Variables of severity of the code in the State

    HI -.

    Maybe it's somewhere in the docs, but I have not found.

    I have two Linux boxes that run a set overlapping process. One is the master, the other is a failover. What is currently the captain should be run all three processes, the other should be run only two. Because I'm not sure at any time which machine is going to be the master, I don't want to have two separate rules for watching these machines. I have the updated AppMonitor in place on the two processes at all three to the search. I can now determine the processes that are running on each machine:

    AppMonitor #InstancesFound = procA_on_machine1 where monitoredHost.name like machine1% and Application like '% procedure % '.

    AppMonitor #InstancesFound = procA_on_machine2 where monitoredHost.name like computer2% and Application like '% procedure % '.

    etc.

    Let's say that machine1 is the failover box and it runs only a process that is supposed to work. I want to set a Variable of severity level to Computer1 and another for the name of the process that is not running so that I can build an e-mail message that makes sense given the current state machines.

    So, how do I do (can I?) set a Variable of severity of the Groovy in the state code?

    Thank you

    -Craig

    You can define groovy expressions separated by a severity level, independent of the code of the state variables.

    for example

    the name of the expression: currentActiveNode

    expression:

    AppMonitor #InstancesFound = procA_on_machine1 where monitoredHost.name like machine1% and Application like '% procedure % ' #.

    If (procA_on_machine1 > 0) {return "Computer1"} else {return "Computer2"}

    the name of the expression: currentPassiveNode

    expression:

    AppMonitor #InstancesFound = procA_on_machine1 where monitoredHost.name like machine1% and Application like '% procedure % ' #.

    If (procA_on_machine1 > 0) {return "Computer2"} else {return "Computer1"}

    (Not really sure that the exact data you need, just an example)

  • Vs level Variable of Variable severity rule.

    Hello

    I am trying to understand in what situations a Variable of severity level would be used rather than a State Variable. Can someone explain this, as far as I can tell from the documentation that the only practical difference is variable severity of level are only available in the condition as they are defined in.

    See you soon.

    Matt.

    Your interpretation is correct, as seen in the documentation , these variables have different fields of application.

    Rule variables can be referenced in any level of gravity but the level of variable gravity can only be referenced in the expression associated with the level of severity in which are defined variables.

    Keep in mind that we have the variable of register global and available to all objects and types of topology.

    Golan

  • SQL Loader: Is it possible to set a variable?

    Hello all,.

    I'm loading of data with SQL Loader and find that I can put specific fields of the particular values using 'CONSTANT '. That's great. However, I am load several files in the same format and would like to 'label' each load. This would be by setting a variable before each load and then this to help write the month of the load (e.g. '200901') in the "SOURCE_FILE" column in the destination table.

    I imagine that the syntax would look something like this...

    DOWNLOAD THE DATA

    strSource = '200809'
    INFILE 'source_data_200809.csv '.
    strSource = '200810'
    INFILE 'source_data_200810.csv '.
    strSource = '200811'
    INFILE 'source_data_200811.csv '.

    ADD

    IN THE TABLE DESTINATION_TABLE
    FIELDS TERMINATED BY '; '. SURROUNDED OF POSSIBLY "" "
    TRAILING NULLCOLS
    (Char CUSTNO,
    Barcode tank,
    NAME char,
    Char SOURCE_FILE: strSource)

    Then, for each load I refer to the strSource variable and write the month appropriate in a column/field in the table.

    I've been googling and trawling through the documentation, but I can't seem to find a way to do it. Is this possible? Or maybe there's another method/path/tip for that? Or maybe it's just a matter of syntax?

    Any ideas?

    Kind regards
    Alan Searle

    Hello

    What will be the size of the file...?
    Instead, you can fill the data column in the .csv if possible in the worst case
    apply the ' TO_DATE (: fichier_source, 'YYYYMMDD').

    -Pavan Kumar N

  • Set a variable in an expression of post

    I have a test loop and if one or several tests fail, I want to set a variable 'fail', that I can use at the end of the loop to a sheet of summary data.

    In pseudocode, I want:

    If step.result.status == 'failure '.

    then failure = 1

    There is no further action so the? : operator does not seem appropriate, but I don't see any option IF. So should I write something like:

    (step.result.status is "Failed")? (locals.failure = 1): (locals.failure = locals.failure)

    ?

    Thank you

    JVH


  • [ADF, JDev12.1.3] How to set a variable to bind a VO (where clause) in a managed bean?

    Hallo,

    I have a request based on VO.

    The query contains a where clause clause and a bindi variable.

    In a managed bean I would like to access the iterator of VO setting the value of the bind variable and read the result.

    I found this code it is good start, but I do not know how to set the variable binding.

    BindingContext bctx = BindingContext.getCurrent();
    BindingContainer bindings = bctx.getCurrentBindingsEntry();
    DCIteratorBinding iter = (DCIteratorBinding ) bindings.get("MyVO1Iterator");
    iter.execute();
    
    
    

    You kindly help me?

    Also, I would like to know if it is generally advisable to use VO directly in controlled beans or whether it would be best to create in the AppModuleImpl methods that do this and return the result.

    In my case for example of the VO will return max 1 plug so I'm in doubt, if the creation of a method in the AM that returns a custom class, which attributes contain values of the line of VO.

    Sorry if these questions may seem artificial, but I am a beginner, I have many doubts and so I would be happy to receive some tips regarding best practices.

    Thank you

    Federico

    You can use:

    iter.getViewObject().setNamedWhereClauseParam("yourBindVar", value);
    

    Note that this approach is used if you have bind variable in the where clause.

    To set variables bind to ViewCriteria, you must use VarableValueManager.

    This post may be useful for you: binary: how to set the Bind variable values at run time?

    Also, I would like to know if it is generally advisable to use VO directly in controlled beans or whether it would be best to create in the AppModuleImpl methods that do this and return the result.

    You must set "use VO directly.

    For example, from the point of architecture, is probably best to use the method in the model project which will set the bind variable and execute the query.

    Or you can use the ExecuteWithParams operation in your the view layer.

    In my case for example of the VO will return max 1 plug so I'm in doubt, if the creation of a method in the AM that returns a custom class, which attributes contain values of the line of VO.

    Not to complicate your life

    All VO lines are represented as ViewRowImpl class if you already have "custom class".

    Finally, you can generate your own ViewRowImpl class if it is necessary for this.

    Dario

  • need help to set the access rights of a vmware server 2.0.1 on vmware image

    Hello!

    I have a vmware (running ubuntu server 9.04) image that was created with a vmware server installation varsion 1.0.9. now I decided to upgrade to the host, which means that the host totally changed: new equipment, new OS, new vmware-server-version: 2.0.1

    My problem atm is, I may not know, what would be the appropriate access rights (chown/chmod) for this vmware image. during the installation of vmware server 2.0.1 I was asked to specify some 'administrative user' where I took the an im working with Linux itself (lets call it "user").

    so, when I copied the old vmware image in the data store (/ var/lib/vmware/VirtualMachines for me), chown-ed the folder including all files init by A, setting chmod to something like 600, the console vmware (web surface) told me that there were several problems with the image and couln can't be started etc. etc. etc...

    I played with several rights to the image and the only thing that seemed to help was setting the folder and all files included in 'root' with the command chmod chown '777'... not what I would call 'secured '.

    so: how to set the access rights for the virtual machines? I want that they have only minimal rights as possible and especially nothing like root: 777...

    My static VM files, as in those who are not dynamically created when the virtual machine starts, are the property of root, root of group with permissions of 711. Root is the user that I have chosen as the admin user when you run vmware - config.pl. My users do not have direct access to this server, so I'm not too worried about the permissions. You can give different rights for different users to different virtual machines, creating roles and their allocation to users/groups. On that, the details are in Chapter 10 of the user guide - http://www.vmware.com/pdf/vmserver2.pdf.

    Guy Leech

    VMware vExpert 2009

    ---

    If you have found this device or any other answer useful please consider the use of buttons useful or Correct to award points.

  • Setting a variable that I can call it from any symbol value.

    Hey everybody!

    I'm working on a lively game of edge and I'm learning I'll you can tell

    The way I put it in place is that I have a container that contains different symbols depending on the button you clicked on. They symbols open up to a deep part of the game.

    However, I want to be able to define a variable on the stage that I can handle later when different symbols are open.

    What I have so far is my limited understaning of jquery, in the scene that I'm leaving by setting a variable

    var variable1 =     5,
        variable2
    =     10;

    Then in my symbol I want to be able to do something like this


    if(variable1 > variable2) {

    Then do something


    }
    else {

    Then do something else
    }

    }

    Variable1 = 10

    variable2 = 5

    However the problem I'm having is that when I put the value of the variable in time the name of the variable value and whole isn't rememembered in the symbols.

    So is there any code I could write in symbols that can call the variables defined in the scene in the symbols.

    I thank very you much for any help. It is greatly appreciated.

    Hi, I have solved literally just this problem for me! I was unable to include variables in the symbols to remember too. It will be familiar if you have access to the care of in a symbol, like this (this kind - of takes a step backward and takes you to the main stage of symbol):

    sym.getComposition () .getStage ().$("anElement").hide ();

    How I updated the score (shown on the stage) to in a symbol, it's to GET the variable from the scene:

    var score = sym.getComposition () .getStage () .getVariable ("score");

    score += 100;

    sym.getComposition () .getStage ().$("valueDisplay").html (score);

    sym.getComposition () .getStage () .setVariable ("score", notes);

    So for you I recommend you:

    var variable1 = sym.getComposition () .getStage () .getVariable ("variable1");

    var variable2 = sym.getComposition () .getStage () .getVariable ("variable");

    if(Variable1 > variable2) {this}

    Else {who}

    If you want to update the variables and store them on the scene, then you'd in the same way:

    Variable1 ++;

    sym.getComposition () .getStage () .setVariable ("variable1", variable1")

    I hope this helps, I am not 100% and it can be better explained as I learn I will myself!

    Ray

  • Forms 11 - setting a variable in formsweb.cfg can get its value

    Hello

    I need to read .pdf documents stored on a web server using WEB forms. SHOW_DOCUMENT();
    It is web server for dev environment and another for production.
    They do not have the same URL.
    So I need to set a variable in a configuration file in both environments.
    Unfortunately it seems that forms such as getenv functions do not provide much information.
    Right now I use something else, I get the name of the database of database v$, but the DBA is not enthusiastic about the subject to give read permissions to users in production.

    Thanks a lot for your help.

    Hello

    The value of the variable in the /forms/server/default.env file

     ...
     my_var=...
    ...
    

    Then, get the value at run time with the Tool_env.getvar () procedure.

    declare
      v varchar2(512);
    begin
      tool_env.getvar('my_var', v);
    end;
    

    François

  • Help with the session variable PHP CS5.5 - Please

    Hi all

    I am needing a little help with the help of a session variable, and I hope someone can point me in the right direction.

    I created a PHP page that uses the Dreamweaver 'User authentication' feature and the basics of this works very well, to direct a user to the correct page depending on whether they are or are not a valid user. I want to customize the page 'user valid' with people, user name entered in the authentication of the user table... a seemingly simple task using a session variable, but I just seem not to be able to make it work!

    The generated code for the AU on page 1 is the following:

    <? PHP

    Validate request to connect to this site.

    If (! isset {})

    session_start();

    }

    $loginFormAction = $_SERVER ['PHP_SELF'];

    If (isset($_GET['accesscheck'])) {}

    $_SESSION ['PrevUrl'] = $_GET ['accesscheck"];

    }

    If (isset($_POST['txtfirst_name'])) {}

    $loginUsername = $_POST ['txtfirst_name'];

    $password = $_POST ['txtsurname'];

    $MM_fldUserAuthorization = "";

    $MM_redirectLoginSuccess = "member_update.php";

    $MM_redirectLoginFailed = 'login.php ';

    $MM_redirecttoReferrer = false;

    @mysql_select_db ($database_panto, $panto);

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username'] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    If (isset($_SESSION['PrevUrl']) & & false) {}

    $MM_redirectLoginSuccess = $_SESSION ["PrevUrl"];

    }

    Header ("Location:".) $MM_redirectLoginSuccess);

    }

    else {}

    Header ("Location:".) $MM_redirectLoginFailed);

    }

    }

    ? >

    First of all, the text highlighted in red above seems to be setting the session variable that I need. Is this correct?

    If so, what is the code that I need to put on page 2 to use this session variable? or

    I have to do something else on the page 1 to correctly assign the session variable?

    Would be very grateful for your expertise

    Mark

    It seems that you put the columns incorrectly in the user authentication server behavior. This is the SQL query that checks the credentials of the user:

    $LoginRS__query = sprintf ("SELECT firstname, name OF web_access WHERE firstname = %s AND family name = %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    You are looking for first name and last name, while you should look for the user name and password of the user.

    $_SESSION ['MM_Username"] is a session variable that stores the login name of the user. To use it in a page, all that is needed is the page start with session_start(). You can then echo the value to display.

    If you want to display the person's true name, you must create a recordset in the second page, use of $_SESSION ['MM_Username'] to search for the first name and the patronymic. Alternatively, you can change the code like this (I copied only part of it):

    $LoginRS__query = sprintf ("SELECT firstname, surname OF web_access WHERE firstname = %s AND password is %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "text"));

    $LoginRS = mysql_query ($LoginRS__query, $panto) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    $loginStrGroup = "";

    $row = mysql_fetch_assoc ($LoginRS);

    $_SESSION ['full_name'] = $row ["FirstName"]. ' ' . $row ['name'];

    If (via PHP_VERSION > = 5.1) {session_regenerate_id (true) ;} else {session_regenerate_id() ;}

    Declare two session variables and assign them

    $_SESSION ['MM_Username"] = $loginUsername;

    $_SESSION ["MM_UserGroup"] = $loginStrGroup;

    You can then use $_SESSION ['full_name'] in a page which begins with session_start().

  • need to set env variables

    OS: Linux5
    DB: oracle10g

    I connect to my server with PuTTY.
    $export DISPLAY = MYIP:0.0
    Doesn't not help me, tried many things by google
    any suggestoin...

    Kind regards

    1. you must install a X-Windows Server on the computer that you connect from.

    for example MobaXterm (free and standalone application) http://mobaxterm.mobatek.net

    2. configure your firewall to allow to communicate over port TCP 22 (ssh)

    3 connect using SSH with X-transfer to the remote computer.

    for example ssh x oracle@remote_computer.

    When you use ssh with X-Forwarding you do not set the variables of any VIEW manually -'s done it by ssh. You do not have use xhost to configure server access control. The remote server connects to the X-Windows Server on your client computer to display the application-X window. To test the xclock type.

  • Use the button to set a variable

    Hi, can someone help me.

    I would use a couple of buttons I made to set a variable. I would use the name of the instance of the keys as the value stored in the variable. How can I code this?

    Thank you.

    You can use the currentTarget of the event to target the button and acquire its name...

    var btnName:String;

    btn.addEventListener (MouseEvent.CLICK, storeName);

    function storeName(evt:MouseEvent):void {}
    btnName = evt.currentTarget.name;

    trace (btnName); will trace "btn".
    }

  • SET the VARIABLE problem

    Hello world!

    I added a line to my report of responses on the tab advanced, prefix section as follows:
    SET VARIABLE DISABLE_CACHE_HIT = 1 DISABLE_CACHE_SEED = 1;

    I also put a session variable by using the dashboard line. Then when I start my report, you receive the following error message:

    A general error occurred. [nQSError: 27002] About < GAME >: Syntax error [nQSError: 26012]. (HY000)

    Publ. SQL: SET VARIABLE sv_test = "Test"; SET VARIABLE DISABLE_CACHE_HIT = 1 DISABLE_CACHE_SEED = 1; SELECT...

    So, the first SET statement is generated from Dashboard prompt and the second section of a throug prefix. I also tried to exclude 'SET the VARIABLE' section of my report prefix, but it still does not work. What is the correct syntax?

    Help me, please!

    TNX!

    user10203008 the error is in a semi instead of the comma
    SET the VARIABLE sv_test = "Test"<; !comma="" have="" to="" be="" here!="">SET VARIABLE DISABLE_CACHE_HIT = 1 DISABLE_CACHE_SEED = 1;

    So you can do this quickly with variable pvVar presentation. And a prefix write
    * SET VARIABLE sv_test='@{pvVar}',SET VARIABLE DISABLE_CACHE_HIT is 1 DISABLE_CACHE_SEED = 1;. *

    It must works.

    Published by: AnTonic January 26, 2011 12:23

Maybe you are looking for

  • Content Web Safari unresponsive

    Hi all I have mid 2014 macbook pro retina. Since yesterday, my safari has acted with weird error. The browser just eats my battery and covers also almost 20 GB of Flash storage. Usually, I had like 15 GB of free storage. However, since the problem be

  • Pavilion dv6-3126er: ACPI\НРQ0004\3 &amp; 11583659 &amp; 0 for Windows 10

    HelloHelp, pleaseOperating system cannot determine the device ACPI\НРQ0004\3 & 11583659 & 0Please find a driver for my laptop model and operating systemsI know that this Protection ProtectSmart hard drive, but I can't find it for my model

  • Re: AC adapter used by portable computers diverge

    HelloI have an A660-12 q and L670D-146.Laptops have diverge Adpater AC/DC (PA3714U-1ACA = L670D / PA3716E-1AC3). Technical data and plug are almost the same. Can it have problem to swap cards in the other? Best regards for your answers

  • How do I open a Zip file (such as a templete) so I could see it?

    I have downloaded file open zip open so I could use them as a templete store. Please help me I'm lost.

  • Blue screen of death now very slow internet

    I get a screen blue of death for a few months now, but never really sorted due to other commitiments, and also, it would be just blue screen flash and then restart automatically. I have not configured until recently to disable automatic reboot, but m