How to calculate value in SNMP performance rule?

Hi there,
My environment is running SCOM 2007 R2. Now I have a request to develop MP to monitor a network device which support SNMP. I successfully discovered the device. Then I created a performance rule using System.Performance.SNMPPerformanceProvider as data
source to collect the bandwidth usage. However the value returned from SNMP query is bit per second. But we want it to display as MB per second.
My rule is created as following
1. a data source, with ID as "DS", is created using System.Performance.SNMPPerformanceProvider to query performance data via SNMP
2. the data is write into DW
I just need to divide the value returned from "DS" before write it into DW. Can any components under "Condition Detection" can be used to manipulate the data?
Or any other tricks?
Thanks!

I reviewed the thread, and I believe there are 2 questions here:
 - the questions regarding the units in bit per second
out of the box, SCOM will be unable to modify the data. In other words, you get the value, then that value is shown in the console. There may be ways to achieve what you are looking for, but out of the box I dont see that this is doable.
 - the questions regarding the output of the script
I am by no means a scripting person, but the error seems to be an issue with the script itself ("The requested SNMP operation identified an unknown variable" maybe a problem with the variable definition?). if you believe that is unrelated, the
only troubleshooting step that I can think of as a quick test is to run this with psexec as localsystem (as SCOM runs the workflows) and see if you are getting the same result. On an elevated command prompt, type PSEXEC -i -s -d CMD then that would open a
new command prompt window as localsystem.
hth
Jose

Similar Messages

  • How to calculate values on Hierarchy node level in WEBI

    Hi Experts
    I have a BI Query ,which have GL account Hierarchy(FSV) Drill down like
    Revenue                            213.15
    Operating Expense       28.49
    Revenue and Operating Expense are two node of the hierarchy ,similarly under these sub node and GL grouping is done in FSV(Hierarchy).
    I need to calculate Operating Expenses % and report look like
    Revenue                             213.15
    Operating Expense       28.49
    Operating Expenses %       13%
    i.e Operating Expences % = Operating Expences /  Revenue *100
    how It will done in Webi rich Client.
    Regards
    Abhi

    Hi,
    You need to work with your Business to understand how these calculations are formulated in their definition, and how they are qualified and quantified.  Next, you have to abstract that logic, and recreate it using the reporting interface of webintelligence.  context is everything.
    This is not something that can easily be explained over a text chat forum!!
    I'd encourage you to work with a colleague who can deliver such reports in BObj,  or,  give it a go yourself using trial and error.
    Regards,
    H

  • How to calculate value from perticular column and row in pivot table

    Hi all,
    I am having following pivot table.
    Country
    A
    B
    C
    D
    F
    G
    H
    J
    K
    L
    M
    Grand Total
    Canada
    1
    1
    3
    3
    12
    14
    13
    97
    China
    8
    4
    3
    19
    India
    2
    47
    448
    176
    395
    3656
    1964
    1360
    8077
    USA
    1545
    352
    380
    26
    10
    4
    8
    32
    2054
    1023
    758
    4624
    UK
    12
    19
    13
    23
    33
    298
    Grand Total
    1545
    352
    381
    29
    72
    474
    184
    427
    5743
    3028
    2167
    13114
    Now I want sum of Columns A, B, C, K, M where Country = India in one field.
    and sum of D, F, g in another field. and sum of remainig columns in another field.
    How can i get sum of values with some where condition in pivot table.
    Thanks,

    Hi Michael,
    Following is the representation which i want
    CouRntry
    ROW LABLES
    A
    B
    C
    Total of
    ABC
    F
    G
    Total
    Of FG
    J
    K
    L
    TOTAL
    of JL
    Grand
    Total
    Canada
    1
    1
    3
    3
    12
    14
    13
    97
    China
    8
    4
    3
    19
    India
    2
    47
    448
    176
    395
    3656
    1964
    1360
    8077
    USA
    1545
    352
    380
    26
    10
    4
    8
    32
    2054
    1023
    758
    4624
    UK
    12
    19
    13
    23
    33
    298
    Grand Total
    1545
    352
    381
    29
    72
    474
    184
    427
    5743
    3028
    2167
    1
    Also if i get sum how can i add a column in between of the fields.
    Thanks

  • How to calculate value based on two fields & set that 3rd on (KFFfields)

    Hello Gurus,
    I have a requirement customization in which, in an OAF page, tableLayout: (HrSitKeyFlex) having 3 fields 1)Days of Trainging 2)No of days Trainging hours 3)Total Duration when user enter the values for two fields say 'Days of Trainging' and "No of days Trainging hours "and immediately on tab out, the 3rd field should be popluated as rate*Toatal'.
    tableLayout: (HrSitKeyFlex)
    1)Days of Trainging ( 1DAY)
    2)No of days Trainging hours (4Hours)
    3)Total Duration (calculate 1*4=8)
    Is there a way, we could capture the tab out event? Or any way we could achieve this?
    This is really urgent.
    If anyone can help.
    Regards,
    Srini

    Hello,
    1. Firstly set the fire partial event of 2nd column field.
    2. Capture the event in PFR method.
    3. After Capturing event, make a row reference object.
    4 Now store the value of 1st column field and 2nd column field in variable.
    eg. String str= row.getAttribute("Ist Column Name")+"" and String str1= row.getAttribute("2nd Column Name")+""
    5.Convert these string value into integer
    eg. int x=Integer.parseInt(str); and int y=Integer.parseInt(str1)
    6. calculate the value in the integer variable on the basic of these two value
    eg. int z = x*y
    7 Assign the value to 3rd column after converting it into string
    eg. row.setAttribute("3rd Column Name", string variable);
    when u tab out from 2nd column, the calculating value will be assign to 3rd column.
    Regards,
    Manish Chawla
    Edited by: ManishC on Dec 17, 2012 10:36 AM

  • How to calculate value based on two fields & set that on the 3rd (in table)

    Hi OAF Gururs
    I have a requirement in which, in an OAF page, the user can add a row in an advanced table and they enter
    the values for two fields say 'rate' and 'entered amt' and immediately on tab out, the 3rd field should be popluated as rate*entered amt.
    Is there a way, we could capture the tab out event? Or any way we could achieve this?
    This is really urgent.
    If anyone can help.
    Thanks!
    AJ

    OAF gurus hang out over in {forum:id=210}

  • How to calculate Pattern matrix for shading

    Fill Rectangle using linearGradient how to calculate correct format of Pattern Matrix .

    Fill rectangle using Shading Dictionary,Before that Shading Dictionary object Called from Pattern Dictionary.In this Pattern Dictionary has matrix ,i need how to calculate value of Matrix here.
    10 0 obj
    << /Type /Pattern
    /PatternType 2
    /Shading 11 0 R
    /Matrix [1.00 .00 .00 1.00 54.00 53.00]  // the matrix value how to calculate
    >>
    11 0 obj
    <<
    /ColorSpace /DeviceRGB
    /Function 12 0 R
    /ShadingType 2
    /Coords [109.2726 69.00 109.2726 .00]
    /Extend [true true]
    >>
    12 0 obj
    <<
    /FunctionType 0
    /Domain [.00 1.00]
    /Range [.00 1.00 .00 1.00 .00 1.00]
    /Size [1002]
    /BitsPerSample 8
    /Length 3006
    >>
    stream
    here is an stream of colors
    endstream
    endobj
    Can anybody help me please.
    Regards, Sasi kumar sekar.

  • How to calculate milestone percentage for final milestone (billing rule 3)

    Hi,
    Client is using percentage based milestone billing. For final milestone, billing rule is set to "3 Closing invoice in milestone billing" and milestone percentage, field FPROZ, is empty without any value.
    My aim is to calculate final milestone percentage, so it would be printed on invoice layout.
    I have suggested below logic to developer:
    "If RV60F-SFPRO field is not equal to  0,00 (zero), pass billing plan VBRP-FPLNR and item numbers VBRP-FPLTR into FPLT table to get FPLT-FPROZ"
    But developer can't find RV60F-SFPRO value anyway...
    Therefore, I have a problem - how to calculate final milestone percentage in this case?
    Could anyone provide any other logic how to calculate it?

    Percentage can't be added into final milestone in SO billing plan, field FPROZ is not editable....
    Moreover, this milestone just have billing value in SO billing plan.
    I am going to use this logic that hopefully would fix the issue:
    If invoice billing type VBRP-FKART value is XXX and billing plan rule FAREG value is 1, or 3, or 4, or 5, then milestone percentage should be calculated by following formula: milestone billing value x 100 and then divided by order net value from VBAP-NETWR.
    If invoice billing type XXX, but billing plan rule is different then, no milestone percentage is not printed. This logic is valid for header and item level billing.

  • How to calculate acquisition value for specified day

    Hi,
    in my z program I have a problem how to calculate acquisition value for my asset for specified day.
    Example:
    I have asset created 8.7.2008 with TTYPE 104 (External asset acquisition) with value 5950.
    30.11.2008 there is another TTYPE 272 (Retirement of current-yr acquis., w/o revenue) with value 950.
    So BEFORE 30.11.2008 acquisition value is 5950. After is 5000. Is there any function module (or something else) in SAP system where I can send asset number and date a it return to me acquisition value for that day?
    Many thanks for any answer!

    Hi,
    your suggestion means that I have to compute acquisition value by myself (sum all TTYPE 1** - sum all TTYPE 2**). So SAP does't provide such functionality (LDB ADA have it, because it can compute acquisitiob value for specific day)?
    Mant thanks for answer

  • How to calculate percentage and difference of two values in matrix report in ssrs 2008

    Hi everyone,
    DB--SQL server
    SSRS-2008
    I am creating matrix report with grouping on WEEK and Fiscalyearweek,
    I need to calculate of difference between FY14W01,FY15W01 ande  percentage of those..
    how to calculate in ssrs level.
    Thank You, Manasa.V

    Hi veerapaneni,
    According to your description, you want to calculated the increment percentage and difference between two fiscal year week within each week. Right?
    In this scenario, since we need to do calculation based on values between dynamically generated cells, we can't simply use expression to achieve this goal. In this scenario, we need to use custom code to record the value for fiscal 14 and fiscal 15, then
    we can calculate the difference and percentage within the column group. We have tested your case in our local environment, please refer to the steps and screenshots below:
    1. Add the custom code below into the report (you may need to modify the data type based on your scenario:
    Public Shared Value1 as Integer
    Public Shared Value2 as Integer
    Public Shared previous as string
    Public Shared previousweek as string
      Public Shared Function GetValue(Value as Integer,product as String,Week as String) as Integer
    If product =previous and Week =previousweek  Then
         Value2=Value
    Else
    previous=product
    previousweek=Week
    Value1=Value
    End If
         return Value
      End Function
      Public Shared Function GetPct()
         return (Value2-Value1)/Value1
      End Function
    Public Shared Function GetDiff()
         return Value2-Value1
      End Function
    2. Design the matrix like below:
    3. The result look like below:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • In Sales enquiary stage how system calculate EK02 condition value as cacula

    Hi
    In Sales enquiary stage how system calculate EK02 condition value as caculated cost
    Is there any cofig to get the value of EK02 condition for calculated cost at Enquairy stage only for forcasting
    Regards
    Santosh

    Hi,
    In our company we get the calculated cost into our sales document with the following configuration:
    IMG: Plant maintenance and customer service / Maintenance and service processing / Basic settings / Quotation creation and billing / ODP4 - Assign conditions to sales document types
    With this configuration, we assign the calculated cost condition (EK02) to the corresponding sales document. The system sends the calculated costs from the order to the corresponding sales order created.
    Regards,
    Óscar
    http://blogdesap.blogspot.com

  • How to calculate the ratio between the maximum and minimum peaks of the two waves using two looping to find the value of SPO2?

    hello everyone,
    i'm rai from indonesia
    I have a final project about pulse oximetriy, I have some problems,
    how to calculate the ratio between the maximum and minimum peaks of the two waves using two while loops to calculate SpO2 ?
    My program image can be seen below predicament ?
    Attachments:
    spo2 akusisi data with filter lpf hpf smoot nilai max min ir merah.vi ‏249 KB
    spo2 akusisi data with filter lpf hpf smoot nilai max min ir merah.vi ‏249 KB

    Hi rai,
    I would appreciate it as kind of respect for forum participants if you would clean up your VI before uploading it (or images of its block diagram)…
    That being said:
    - Your inner while loops each run exactly twice. Replace them with FOR loops!
    - Lots of unneeded operations, mainly induced by ExpressVI usage. Is there a reason to convert to DDT and immediately convert back to 1D array?
    - You already calculate some Min/Max values. Ratio is just a division of two values…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How Revenue Recognition value calculate in VF45 for an item

    Hello Experts,
    I want to know how system calculates Revenue Recognition for any item in VF45. I know the configuration part of Revenue Recognition but want to know the calculation part, how calculation going to find out the vale of the Revenue recognition.
    Item net price is 3139255.45 and system calculate Revenue recognition for this item is  3139020.94.
    I want to know how calculation going for Revenue recognition.
    Can any body help me out ? any link /document related to Revenue Recognition Calculation (not configuration)  please share with me.
    Thanks,

    Hello Prasanth,
    For example :- Maintaining an annual Price  ZPRC - 1200  and Billing plan is Annual
    So, while recognising SAP takes 1200 / 365(Number of days) =  3.287 per day
    For jan - 31 days - 31*3.287 =101.91
    For feb - 28 days - 28*3.287 = 92.05
    Thank you for your time.

  • HOW TO CHANGE VALUE OF PERFORMER

    dear all,
    i would like to change the existing value for performer which is
    set to sysadmin for item type=oeol and line flow return with
    receipts and approvals for approval activity.pls help!

    I recommend you look in the Oracle Workflow Guide on defining
    nodes in process, especially step
    11:
    http://download-west.oracle.com/otndoc/oracle9i/901_doc/workflow.
    901/a90181/dfproc08.htm#defnode
    When you drag a notification activity onto a process, if you look
    under the Node tab, you will see a Performer region, it is here
    you can enter the value of the performer.
    dear all,
    i would like to change the existing value for performer which is
    set to sysadmin for item type=oeol and line flow return with
    receipts and approvals for approval activity.pls help!

  • Hi frinds ,how to calculate the  totals in smartforms

    1)how to calculate the  totals in smartforms .

    Hi,
        To calculate totals and sub totals in sap scripts you can use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
    outt_cond structure itcsy. data : value type kbert.
    statics value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    regards..

  • ABAP-HR MODULE(HOW TO CALCULATE AGE & YEARS OF SERVICE)

    HI,
    HOW TO CALCULATE AGE & YEARS OF SERVICE means for example
    I AM USING PNPCE LDB.
    (1) whose age is greater than 52.833 years with 7.833 years of service, with annual rate of pay $170,000 or more, or
    (2) age plus employment service is 65 or more, with annual rate of pay of $ 170,000 or more.
    Note that the $ 170,000 parameter would be a variable that could change annually when this report would be generated. In the past, age and service value were determined as of the run date. The determination date would also be a variable that would change when the report would be generated.
    Thanks&Regards
    Rahul.

    Hi Rahul,
    This is the 2nd warning !!! Please... use the correct or most appropriate forum.
    The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
    This thread will be moved from to .
    You're asking this question in two thread, so the duplicated thread will be deleted.
    Please have a look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

Maybe you are looking for

  • Meteo application by default with too poor informations

    Hi, Before using iPhne 4S, I had replaced Meteo application installaed by default with another one (WeatherPro) wich delivers far more informations on the weather. But now, with the 4S and Siri and the new notification center, we are supposed to use

  • Oracle 10g AS on Linux

    Hi Configuration Assistant " OPMN Configuration Assistant- start HTTP Server" failed. This is the error i am getting when i am installing 10g AS on Linux 64bit [10gas@bb03 bin]$ ./opmnctl status Processes in Instance: orasso.bb03.lntinfotech.com ----

  • WS-Demo Login problem

    I have deployed the OTN sample online store, but when I try to login, it always gives me the following error message: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4)))) No matte

  • Update iPhone to version 4.3.3 from 4.1 version.

    I try to update my iPhone to version 4.3.3 from the current 4.1 version. I click UPDATE, and I get an answer that says my iTunes version 9.2.1 is the current version.My iPhone is stuck at version 4.1. Thanks Eyad Khalil

  • Users automatically remount my shared playlist when I launch iTunes?

    I share my music here at work and I think it's fun to see how many people are listening, because I share a different playlist every day. Lately however, I've been noticing that as soon as I launch iTunes, even if I check immediately, there are always