How to capture the data of type string with agent script and then compared to an alarm

Hello...

How to capture the string with agent of script data and then create a rule to compare the string data to generate alarm?

Thank you!...

Start here:

http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/w/Admins-wiki/6155.custom-script-agent-1-leverage-an-existing-monitoring-script-to-push-data-into-Foglight

Tags: Dell Tech

Similar Questions

  • How to capture the value of type column report

    It would be a great help that you might suggest the following

    (i) Java script that I wrote on the standard status column (in a tabular report) fails.
    This happens because of the standard status column, if I use the text field then called Javascript function and showing correct results.

    Now, here, I want to know how to capture the value of the column standard report, since javascript fails due to
    the column values of standard report unrecognized.

    Example:

    Columns of the report as a table:
    ```````````````````
    Standard report column: salary
    TextField report column: new treatment
    Report column standards: difference

    I've written the javascript on column New_salary function which returns the value of the salary column to calculate the difference.

    For this column of report types, the javascript function does not work, that is to say, it does not show the difference., since it is not read
    the value of the column Salary (which is the Standard type of report column)
    Once I have change the Salary column to text (display as saved state) javascript field works fine.

    All entries on how to capture the standard value of the column, so that I can access the value of the javascript function.

    Thanks in advance
    Vijay

    Hi Vijay - I had problems with the forum as well (and my workspace OTN so)!

    You have two questions, I think.

    First of all, that the old wage is not an input element, you can not get to it by referring to an ENTRY tag. you will need to change that to something like:

    var s1 = d[k-1].firstChild.nodeValue;
    

    This means that there is nothing else in the cell apart from the text - as in < td > < table > 123. If there is something else there that stops you getting the value using the above, you can go through these nested tags referring to objects further firstChild-

    var s1 = d[k-1].firstChild.firstChild.nodeValue;
    

    As I don't see your page, you need to check yourself to see firstChild how much you need. This example assumes that you had something like: < td > < b > 123 < /b > < table >

    Second, the values of s and s1 are strings. You must convert these numbers to be able to perform calculations. You have two javascript functions to do this: ('string') parseFloat and parseInt ('string'). One contains decimals, the other is not - but know that one is not very accurate (it can change "123.456' in ' 123.455999999995' or something similar - not very good! '").

    So, your calculation should be:

    var diff = parseInt(s) - parseInt(s1);
    

    Andy

  • How to choose the value of a string are numeric together and words of letters (for example, TEST)

    Hi all

    How to choose the value of a string are letters (for example, TEST) and all numeric...

    for example
    TEST 123456
    TEST 34567
    123456 ABCD
    1234 TEST
    TESTING 12345
    TEST 1@234$
    YOUR T 123456

    I want the results of the query as below.
    TEST 123456
    TEST 34567

    And I tried to use regexp_like in this case but without success. See the code below.
    SELECT * FROM TABLE WHERE regexp_like (Description, ' [TEST] % & [[: digit:]] + $');

    How can I do this, please answer.

    Thank you

    WF

    If you want to return only the rows that contain the string 'TEST', followed by zero or more space characters, followed by one or more digits?

    How about this:

    SELECT *.

    FROM my_table

    WHERE REGEXP_LIKE(description,'^TEST\s*\d+$')

  • the analysis of the data of type string mid

    I'm pretty new to LV and I'm trying to find a way to analyze the data in the middle of a set of string. an example of the data : 854560@67042850@600,000@151168390748@1000477480@00000000000000000

    Here I am trying to extract the first 6 digits (854560) and the 10 digits (1000477480). The length of the other numbers go from DataSet to the dataset that I work with but the '@' symbols are always involved. So, I wonder if there is a method to extract the left 6 and between the 4th and the 5th symbol @.

    Thank you.

    If you still have @ symbols as a delimiter and it will always be the same number of elements, you can convert only one table using '@' as separator and shoot the first and the 5th element.

  • How to extract the time to a string with lots of information?

    Well guys,.

    I have a question here...

    I need to extract only the TIME to a string. But that chain has a lot of information

    as a 'Identification' text data and time...

    This "Identification" may be only letters or numbers or words of 2 or 3...

    Anyone know a good way to do that?

    I tried:

    But only works if 'Identification' is only 1 Word...

    I'm using LabVIEW 7.1

    and the format is: ID - 14/04/2010 - 13:32:25

    Thank you

    Regular expression matching is available in 7.1?

    Match pattern works, too.

  • How to capture the ORA-01850 hour must be between 0 and 23

    Hello

    The date picker to manually enter any value in the TextField.  Well, if a user between 24:00 for the time, the application will fail. I want to handle the error.  I have an entry of validation, but of course the to_date conversion fails with the above, EXTRACT function also fails... ideas?

    Thank you

    Efren

    Well, can't do you this validation instead of making to_date?

    substr (Trim(:P1_HOURS), 1, 2) > = 0 AND substr (TRIM(:P1_HOURS), 1, 2)<>

  • How to identify the data that is associated with any book in crm on demand?

    We are experimenting with books, but I have yet to find an easy way to identify the data that are not associated with any book.

    Do you have a suggestion?

    I discussed this with Oracle in recent years CAB, but we have no indication if it will be included, but it could be part of their 'User' hotel subject they are studying.

  • Help recover the data of Zire 21 with dead touchscreen and no connectivity or requests

    My old Zire 21 was suddenly no longer meets the stylus on the touch screen, so I can raise no longer any application to do a HotSync to save my data (and my old hotsynched data has been saved on another computer and doesn't have a lot of added information about the Zire).  I can still put the on and turned off and I can get to the calendar and address book using the buttons, but I can't be sure that the machine is always in charge when connected by a USB cable and I can't get the Zire to use HotSync to perform a HotSync operation.  Also, when I try to connect the Zire via the USB cable, it is not recognized as connected (it does not appear in the list of connected devices).  I tried the two running a business card inside the screen to dislodge dirt and do a soft restart, both without effect.  Anyone have an idea how I can get my data out the Zire21 and on the Palm desktop, I downloaded on my current computer, so that I won't lose data (especially if the Zire is discharged soon)?  And if I do, do anyone know how I can then download the information to my new Gmail account?  Thanks in advance.

    As if by magic, it just started working again.  Prayer seems to be an effective remedy for this problem...  And backup solves the problem, if it happens again.

  • I want to write data of type string in the 2D table outside. How can I do?

    I want to write data of type string in the table outside. How can I do? Help me please!

    Could you explain your question more clearly, including a photo showing what you're trying to do?  I don't understand what you want.

  • Does anyone know how to change the date of the capture of several images with LR CC?

    Does anyone know how to change the date of the capture of several images in LR CC

    Hi Jguy,

    Please see this thread time changing capture several Images on

    Let us know if this helps

    Kind regards

    Assani

  • How to analyze the data of the series?

    Hi, really new to LV and I just can't get my head around how to solve this problem.

    I've got about a continuous stream of serial @57600 data transmission speed

    It is composed of 9 signed 16 - bit ints sent big-endian and then stopped with 2 bytes to 0xAA.

    The data are only heard so when LV opens port it can start at any point in the workflow.

    I can open the port, to read, to convert the entire bytes, BUT that I can't run is to know how to "synchronize" my loop to a limit of 0xAAAA

    My simple idea was to throw the stream somehow until 2 consequutive 0xAA bytes and then enter the main loop

    My complex idea was a FIFO with a sort of string or byte array Analyzer in the rematch of the head of the queue model the 0xAA, 0xAA if there is no 18 bytes between the model & the head then throw else remove the 18 & process

    This seems too complicated, especially since the situation is expected to occur only once (I got my loop running for hours without dropping one byte, so I'm happy with it).

    It is, I can't implement either I think I just need a little in the right direction please...

    You don't need a producer consumer architecture. That is right. But it is not so complicated and if you are new to LabVIEW you should familiarize yourself with her rather sooner than later.

    The analysis of the state machine workflow must be in its own loop to do his own thing. As the packets are detected and controlled, they must be communicated to the loop that will do something with it. In this way, no matter what you do with the data now, if it's just the display, save to a file, or whether it is, you can change it later without touching the code of treatment of the series. The code in the loop of the series is just sitting there doing its thing and don't know or care what happens to packages.

    Attached is the code saved to 8.5

  • Data of type string passed to DDC_SetDataValues

    Using the library of DIAdem connectivity, you can call DDC_SetDataValues to store data in a channel. If the string contains data of type string, what is the format for the parameter values? My guess would be a sequence of strings of character no back to back, but the API documentation does not say.

    I figured this out. When the string data is stored, DDC_SetDataValues takes a pointer to an array of pointers to strings C, as DDC_GetDataValues.

    It is documented for DDC_GetDataValues. It should also be documented for DDC_SetDataValues.

  • all my data is all save on the local disk c, how to share the data with the other drive, local drive d.

    all my data records on the local disk c, how to share the data with the other drive, local drive d.

    Hi Jasonbichard,

    1. what type of drive is D? Is - this another partition on the same disk?

    2 Windows operating system you are using?

    You can change the location of the disk to save the data in the d: instead of C: and check if it helps.

    a. navigate to the location (username) C:\Users\.
    b. right click on the folder that you want to change the location, and then select Properties.
    c. click on the location tab and change the location to D: drive.

    d. click on apply and Ok.

  • Multiple column trees: how to access the data in columns? There is a bug?

    Hello

    I have a strange problem. I use tree column multi like this:

    In this case, I have the tree column and two other custom columns.

    Now, how to access the data in the SECOND column?

    We can write all the data in a row thanks the EditElementTree:AddElement:ChildText, because it is an array of strings.

    However, when I want to read the data, I use ActiveCelltring, meaning that a SINGLE string and not a string table oO (so I only have the value of the first column and never others.

    So, I can do what I want? Is this a bug?

    Thank you very much

    R0b1n

    OK, I have the solution.

    We play with the ActiveColumnNumber attribute, to read the values of different...

    I left the message, it may be useful for later someboby

    R0b1n

  • How to get the Date, month, year of the DateTimePicker

    Hi, I am using the DateTimePicker.

    There are several question about this command:

    1. how to get the Date, month and year?

    -With the help of myDateTime.value, I get this string ' Wed May 08 14:45 ICT 2013 '-> I have to manually analyze this? Because I need in format yyyy/mm/dd. Or can set the format of dateTimePicker.value?

    2 format on dateTimePicker self (on the user interface) is d/m/YY, I can't change to another format?

    Thank you

    dateTimePicker.value return a QDateTime not a string.

    https://developer.BlackBerry.com/Cascades/reference/bb__cascades__datetimepicker.html#property-value

    See more:

    https://developer.BlackBerry.com/Cascades/reference/QDateTime.html#date

    https://developer.BlackBerry.com/Cascades/reference/QDate.html

    You can get

    day = dateTimePicker.value.date().day()
    month = dateTimePicker.value.date().month()
    year= dateTimePicker.value.date().year()
    dateYYYYMMDD = dateTimePicker.value.date().toString(Qt::ISODate)
    dateYYYYMMDD2 = dateTimePicker.value.date().toString("YYYY/MM/DD")
    dateYYYYMMDD3 = dateTimePicker.value.toString("YYYY/MM/DD")
    

Maybe you are looking for

  • Encryption

    Why Pure X edition does not support aes hardware encryption? The SD 808 chip it based on the 5 x nexus, then why did he not support on the Pure X? I used the Aida64 app for its determination. I tried to attach a screenshot, but I can't understand it

  • Read integer values to worksheet and display the values in a table

    Hi all I have integer values to read from a worksheet and display them in a table. I uses 'Reading of the spreadsheet file' mode 'integer '. I want to display these values in a table. The problem is the table takes only 2d-array of string as input bu

  • HP ENVY 15-j184sa TS: brightness keys don't work

    Hello. Unfortunately, the brightness on my laptop keys are does more (f2 and f3). When I press the buttons, the usual cursor appears on the screen but can not slip, even if I use the mouse. I can't change the brightness if I go in the settings or the

  • How to give administrative rights for the domain users (user is outside organization).

    Hello How to give administrative rights for the domain users (user is outside organization). If the employee works in the company of xxxx but it supports the client project and is located on the place of the customer, but it does not use the client c

  • Ethernet Controller for Windows 7professional

    I have somehow lost the drivers for my Ethernet controller. I use a Toshiba Satellit enotebook with windows 7 Professional. Can anyone help