Questions on: 1) Last Update; 2) Max String Length; 3) dynamic table keys

Hi:
- I am currently prototyping a plug-in but I have some questions:
- 1) At the 'All Metrics' table, what is the intent of the 'Last Upload' field,
and how is this field updated?
- I have created some metrics but for some metrics the 'Last Upload' field
has a timestamp but for other metrics there is no data.
As far as I know, the metrics are similar but I do not know why the behaviour is different.
- 2) Is there a maximum string length that the Oracle agent can accept?
- I have a script which just returns all the environment variables into one cell.
In emagent.trc, the Oracle agent issues the following warning:
2009-08-27 12:38:47 Thread-76336 WARN upload: Truncating value of "STRING_VALUE" from "AGENT_HOME=
- Is the truncation an issue?
- 3) I have created some dynamic tables from performing an snmp walk, but the key that I use
is the index of the SNMP table. The data is collected correctly, but I am not sure that using
the table index as the key for OEM is a good idea because the metrics are stored according to the SNMP table index.
Should the OEM key be the something like 'object name' instead of the index number from performing an SNMP walk ?
For example, when I click a metric, the metric name is: Sensor Index 1.
But should it not be something like 'Fan #1' ?
Thanks John

Metrics are collected at certain intervals, the Last Upload field indicates the date and time of the last time a metric collection was uploaded. The quicker the interval, the more recent that date should be. If you don't specify a CollectionItem in your default collection file for your metrics, they won't be collected or uploaded.
If your metric column is a STRING type, it is stored in a VARCHAR2(4000)
I'm not sure I understand your last problem... You have a table metric with a set of columns. The column you use as the key is just some tracking index which doesn't really mean anything. As long as your key column(s) make the row unique, the agent will be satisfied. If you want something more meaningful as your key, then it's something you will have to inject into your dataset if it isn't already there.

Similar Messages

  • Spell bound no longer works with nightly build.It did up ontill last update with max version altered.

    I have been using spell bound add on for years and have been updating the max version.After the last update for nightly yesterdday it no longer working.I'm getting error.
    Any ideas how to get it to work.

    Here's the error I'm getting.
    [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIEditorSpellCheck.GetNextMisspelledWord]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://spellbound/content/spellbound.js :: <TOP_LEVEL> :: line 633" data: no]

  • Recording a last updated time for each record in a table

    hi
    i have a table with 5 columns. and the table has 100 rows of data.
    i need to add a sixth column and this column should contain the last updated time of that particular row.
    i am allowed to use triggers.
    for example, if the 55th row undergoes a change, the 6th column's value for the 55th row should update itself with that particular time.
    can any one of you come up with an optimized solution for this please ???
    thanx a million in advance and best regards,
    novice DBA
    :)

    Hi,
    Here's an example:
    CREATE OR REPLACE TRIGGER table_x_biu
    BEFORE INSERT OR UPDATE ON table_x
    FOR EACH ROW
    BEGIN
         :NEW.modified_dt := SYSDATE;
    END     table_x_biu
    SHOW ERRORSwhere table_x is your table name, and modified_dt is the DATE column to be populated.
    You won't have to specify modified_dt in any INSERT or UPDATE statements. In fact, if you do, the value you give will be ignored, and the trigger will always substitute SYSDATE.
    WARNING: if you do get an error message, the line number reported will usually be relative to the first DECLARE or BEGIN statement in the trigger. For example, if I had mis-spelled SYSDATE in the example above, the error message would say there was a problem in line 2, not line 5.

  • Max string length

    I'm trying to load an extremely large text file into a URLLoader, (41000 lines).
    It's not working. Is there a limit to the size of the string I can load?

    I'm not getting an error. It hangs for about two minutes and
    then does nothing. If I reduce the text file to fifty lines it loads fine.

  • Max string length to OutputStream...

    Hello!
    I have noticed that I can not send grater strings than 16380 characters to SSLSocket.GetOutputStream. Is there any possibility to send greater strings at once. I'm using following code:
    SSLSocketFactory factory = (SSLSocketFactory)SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket)factory.createSocket("www.myweb.com", 443);
    socket.startHandshake();
    PrintWriter out = new PrintWriter( new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())));
    String merkkijono = <greater than 16380 characters>
    String jono = "GET https://www.myweb.com/getstring.asp?" + merkkijono;
    I'm getting java.io.PrintWriter error javax.net.ssl.SSLException: Connection has been shut down...

    I'd search the forums.
    Here's just quick sample from my search of HTTP POST
    http://forum.java.sun.com/thread.jsp?forum=31&thread=412972

  • Problem to get max string value

    Hi
    my problem is i don't get correct result when i get max string value from my table. for example, it returns '9' as max value while i have some bigger string values like 73, 80,65, ...
    i found
    some solutions to handle this problem (like converting to char or adding some zero in the begining of my value) but it does not appropriate for my situation because my string value maybe everything (some of my customers can use numbers while some other
    else can use alphabetical+numbers)!.
    can anybody help me ?
    thanks in advance
    http://www.codeproject.com/KB/codegen/DatabaseHelper.aspx

    When I see NVARCHAR(50)(50) I am pretty sure the data was declared by an ACCESS programmer who has no idea what he is doing. Do you really have first
    and last names that need fifty UNICODE characters ?  You will get them!  If you invite garbage data, it will come. The USPS uses VARCHAR(20) for names; this has to do with the size of mailing labels and the fact
    that Latin-1 is required by ISO in ALL languages. 
    lease read the  "Stairway to Data" series and pay attention to last sections on the design of encoding schemes. What you have is useless and dangerous because it has no data integrity.  Tag
    numbers (learn what that means, please) need a regular expression and I like to have a check digit. My first guess, without an specs is that you need something like this:  
    patient _case_nbr CHAR() NOT NULL PRIMARY KEY
     CHECK (patient _case_nbr 
      LIKE '[ ABC][0-9][0-9][0-9][0-9][0-9]')
    Fixed length for the forms and display, characters limtied to the Latin-1 Unicode set, and easy to sort. 
     http://www.sqlservercentral.com/articles/Database+Design/72612/)
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to find out last update date for business partner's marketing attribute

    How to find out last update date for business partner's marketing attribute??
    Im freshie for SAP Application and im assigned to find out last update date for marketing attribute changed
    which table is involved??
    Yours kindness will be appreciated
    thanks

    You can take a look at table AUSP as well as CRMD_AUSP_HIST.
    The "changed by" and "changed at" are logged on attribute level, not on attribute value level. When you change one specific value, the system does a "re-insert" of all existing values of this attribute.
    Take a look at the SAP notes 938426 and 966670  these may assit you in resolving the issue.
    Regards,
    William Laverde

  • Max Row Length

    I have a 9.2 instance and I was wondering if there was a max row length in my tables.

    Do you happen to have a small-ish test case the reproduces the problem? I can pretty much guarantee you that the database itself doesn't limit the size of the row, but I'm hard-pressed to imagine a cause for this sort of problem in the application stack.
    For sanity, you might try applying the latest patchsets to your client and server to see whether that magically fixes something.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place. Tks

    Hi All, I have question about the iMac operating system. I have the last updated. The problem when I manage the place of the folder windows they are all mixing up. I mean they not on the place where I left them. how to set they stay on the same place? I know there are different possibilities to set.
    I tried but it not helped for me. What I can do? How and where can set this they stay on their place?
    Thanks.
    laci

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In Library Manager it's the FIle -> Rebuild command)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. 
    Regards
    TD 

  • T510 ThinkVanta​ge button and updates software broken after last update 12/1/2010

    After last updates I ran on Dec 1, 2010, the ThinkVantage button does nothing.  Running the updates and drivers from the control panel flashes the GUI splash screen then closes.
    Lenovo really screwed this one up!  Now you can't even get the updates to work to fix other issues.
    In the event logs I show PC-Doctor errors
    The description for Event ID 1 from source PC-Doctor cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    (1972) Asapi: (13:00:09:5300)(1972) DEFECT.LOCALIZATION - Error -- Missing String: scriptlets : button1 locale: PCDLocale: language = en, customer = lenovo, variant = ltt
    Log Name:      Application
    Source:        ThinkVantage Registry Monitor Service
    Date:          12/1/2010 12:29:40 PM
    Event ID:      0
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      jmw-77
    Description:
    The description for Event ID 0 from source ThinkVantage Registry Monitor Service cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Service started
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/ev​ent">
      <System>
        <Provider Name="ThinkVantage Registry Monitor Service" />
        <EventID Qualifiers="0">0</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2010-12-01T17:29:40.000000000Z" />
        <EventRecordID>42737</EventRecordID>
        <Channel>Application</Channel>
        <Computer>jmw-77</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Service started</Data>
      </EventData>
    </Event>

    Hi and welcome to the forum!
    Try uninstalling the PC-Doctor / Lenovo ThinkVantage Toolbox and System Update from Add/Remove programs, do a mandatory restart, thereafter download and run CCleaner, scan for registry issues with it and fix them. Subsequently, manually install both Toolbox and System Update.
    Keep us posted with the results.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Vendor ID, Last Update Date, Invoice Details - Query

    For each Supplier, we would like to know the vendor ID, vendor number, vendor name, vendor site code, Created Date, Last Update Date, last invoice date, last payment date, total number of invoices and total $ amount of invoices for each supplier.
    1) How do i find the last payment date and supplier catagory?
    2) As i have to use sum(invoice_amount), count(invoice_amount), max(payment_date) which point to 3 different tables, i am not sure how to use "group by" based on the Vendor_id alone while i select lot of fields from different table. Could you please help me with this?
    3) Please help me to get this query fixed.

    1) You can get last_payment_date by joining vendor_id to ap_invoices_all and the joining invoice_id with ap_invoice_payments_all to get the max accounting_date (i.e. last payment date)
    2) You are partially right. Invoice_amount and invoice_count are from the same table so you have to join 2 tables. Best way is to do a select in the select.
    e.g SELECT   pv.vendor_name, COUNT (1), SUM (invoice_amount), pv.vendor_id,
             (SELECT MAX (aipa.accounting_date)
                FROM ap_invoice_payments_all aipa, ap_invoices_all aia2
               WHERE aia2.vendor_id = pv.vendor_id
                 AND aia2.invoice_id = aipa.invoice_id) latest_payment
        FROM ap_invoices_all aia, po_vendors pv
       WHERE aia.vendor_id = pv.vendor_id
    GROUP BY pv.vendor_name, pv.vendor_idSandeep Gandhi

  • I have install last update for i pod(ios5) but during installation there was one problem....i have restore my ipod and now i have lost all my buyed music!!Is not possible download it....?What are the details, including any error messages, related to your

    I have install last update for i pod(ios5) but during installation there was one problem....i have restore my ipod and now i have lost all my buyed music!!Is not possible download it....?What are the details, including any error messages, related to your question?

    Have you not got the music on your computer and/or on backups on, for example, external drives or CDs/DVDs ?

  • Hi I've purchased music but itunes won't let me transfer it to my iphone. This has happened since the last update and is happening to my brothers iphone also on his laptop. any suggestions?

    HI there,
    my laptop recenty went kaput and needed a new hardrive which was installed. When I got it back I downloaded itunes again and then bought some music. I connected my iphone and it would not allow me to transfer the music over to the iphone at all. It allowed me to pull all the music on my phone over to the itunes list which I realised at that point did have my usual music list on it. I can't seem to transfer any music purchased over to my iphone for love or money. This is happening to my brother on his itunes account also and he said it's happened since the last update on his. Any suggestions - I'm quite desperate as this is driving me nuts.
    Many thanks,
    Sarah

    Plug in phone to computer.
    in iTunes click on your device and then Music Tab.
    Deselect the playlist in question, and click sync
    Try your sync again

  • My apple tv is not streaming from my itunes since my last update but streams movie previews so i know it is communicating to the internet any advice. P.S. i have already unplugged everythign and reset everything already so i need better advice.

    It steams movie previews so i know it is connected to the internet and it sees my movies but when i click on them to play they take unusually long and then if they start they just dont load. I have had this unit for a year and have not had any problems till now. The last update changed the look and then it wont stream it is very frustrating. any advice will be appreciated. I have already unplugged everything and reset everything and still nothing.

    Just look through the list of posts - you will see many people asking the same question.  My father and i (different households) have the same issue.  Apple techs want to blame it on interference or firewalls, BUT everything was working before the update so that is just a blow off answer.  Apple needs to fix this.

  • Last update does not work with Ford Sync with Applink

    Spotify has been working all right with the Ford Sync with applink in my car (C-MAX, late 2014). However, with the last update of the Spotify app from Play Store, just a few days ago, it has stopped working, because it is not detected by the car. Even when manually searching for applink enabled applications, it can't be found. It' really a pity, because it had worked perfectly until now, and it is a really impressive feature which I would definitely like to use again.
    My phone is a Samsung Galaxy S3 mini, with Android 4.3 and the latest version of the Spotify app (2.2.0.636). I am a premium user from Spain.
     

    Our current situation is that my wife's phone connects via the AppLink to Spotify and shows track listings but doesn't allow shuffling or playlists to be displayed, she controls it via the phone if she wants to change playlists. My phone has connected once since I first posted to Spotify which came up with "Spotify powered by Ford" on my phone screen and allowed me to do absolutely everything you desired via the Spotify AppLink and "froze" all interactions directly with the phone, absolutely everything!!! Now it is back to not even detecting Spotify so have to connect via BT Audio. It has been like this for several months now however the most recent update (last week?) means that I now get track info up on the display! Twice however the display showed the first track only and once that finished and the next began, the display still showed the original track. Ironically at the same time, our 2010 Focus also began showing the correct track info on the display, this is the first time in the whole 5 years we've owned the car that my phone has displayed track info on the Focus, my wife's phone has always done it! I have found out that although we both have Samsung S3s that we got via carphone warehouse on the same day, hers is always one software update behind mine so never has the most recent OS. Strangely though, when I last updated my OS she also had notification to upgrade, she did, and she still is one behind me! I think there is something far more sinister in all of this but at least I get my tunes in the car, if not in the most desired way.
    My overall opinion is that it is a great system if you have the right OS/phone it works great (I know someone with a 2015 model having the same issue with their i-Phone) however the continuing upgrading of OS and App means that the system isn't always compatible and never will be until they allow auto-upgrading via the Bluetooth connection and therefore phone internet connection in the UK. Apparently the US models all allow you to download the most recent software for the radio onto a USB stick and just plug it in to upgrade. Annoying.

Maybe you are looking for

  • Which 1TB (or bigger) SATA drive is the coolest/quietest/least power-hungry

    I have a Power Mac G4 Dual 1.25 GHz MDD (it's this model here) which (as it's unmodified) runs very hot & noisy much of the time. What doesn't help is that I have 3 hard drives installed. 2 of these (including the boot drive) are IDE (80 GB & 120 GB)

  • HT204370 Unknown error -50

    Tried to download a movie but the download stopped with an unknown error -50.  Tried resuming the download but it's not happening but we've been charged for the downoad.  Any ideas or advice would be much appreciated Thanks Si

  • Apple devices drop wireless connection

    Hello, I've had Infinity for a few weeks now and every time I use any Apple device, such as an iPod Touch, iPhone or iPad, after a few minutes of loading web pages, updating an app or watching a video it'll disconnect and I'll have to reconnect it ag

  • Illustrator CS6 help thinks it's not connected to the internet

    This problem just cropped up for me today after using illustrator online and offline for the last year. The app suddenly thinks it's not connected to the internet when we are. I get the error message: "To access online help or to download help conten

  • Enable profile based on location

    I currently have a entreprise profile for accessing emails and enforcing password. But I don't want to receive business emails or enter passwords when I'm at home. Is there a way to have this location triggered? For instance, as soon as I approach th