Monitor for .err file creation in a specific directory

Does anyone know if it's possible to get SCOM to monitor a certain directory and then alert if a .err extension file is created there?   If so, are there any instructions you might be able to provide or resources to point me to?  I tried
searching but wasn't having too much luck. Any assistance would be appreciated!

Hi,
I would like to suggest you create a monitor based on powershell script which can be used to test existance of .err file in a specific directory. The below command can be used to check .err extension existance under D:\specific directory
Test-Path "D:\specific directory\*.err"
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

Similar Messages

  • File exist to check for any file, not just a specific filename

    How can I implement a check to see if any file exists in a certain directory. I don't know the filename beforehand, only the directory.
    Can I still use the FILE EXISTS activity or do I need to write something different.
    Thanks,
    Guido

    Hi guidonlm
    You can use USER DEFINED activity or FILE EXISTS activity. With file exists you must get file name before (file name can be hard coded or passed as variable). With user defined activity you can make your own shell script and check anything that you need (in this case you must enable property in file $ORACLE_HOME/owb/bin/admin/Runtime.properties property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
    Regards

  • Save file without JFileChooser in specific directory

    hi!
    can you save a file without opening a JFileChooser dialogue to a specific directory??
    the problem I have got is not how to address to the directory but how to save the file....
    could someone help me please?
    thx
    charly

    If u only want to save the file instead of selecting from the filechooser then you should use
    JFileChooser fc = new JFileChooser();
    int retVal = fc.showSaveDialog(frame);
    if(retVal == JFileChooser.APPROVE_OPTION)
    String filename = fc.getSelectedFile().getName();
    getName() will give file name and getAbsolutePath() will give the full path.
    filename -> is the file name that u entered for saving in the field. I am not sure if this what u wanted. Hope this helps otherwise pls be more specific in ur question.
    Selvi.
    I was pondering the same question. if I just open the
    dialog, instead of choosing a file from a directory, I
    want to type in a new file name, and save it.
    help is appreciated.

  • Can use RBAC for grant privilege to user on specific directory or not?

    If I want user "aaa:group1" to have write privilege on specific directory of user "bbb:group2" (such as /export/home/bbb).
    Can I use RBAC Feature for this case? How to?
    Because basic permission of Unix very large scope (user, group, other).
    If I specific folder "/export/home/bbb" to rwxrwxr-x, then change group of user "aaa" to group2. Other user in group2 will have write privilege too.
    Thank you.

    If you want fine grain control over directory permissions than the feature you want are access control lists (acl's).
    Try man setfacl, though I warn you that the documentation for acl's are pretty confusing...

  • SQL Loader tool for control file creation

    We are planning to use SQL*Loader to move a lot of data from mainframe to Oracle 10g database. We will write the data in flat files and use SQL*Loader to load these files into tha database. There are more than 100 tables with lot of columns in each. So, I was just wondering if there is any tool available (visual mappings etc.) that can help create the control files for the SQL*Loader, so that I don't have to manually type all the lengthy control files
    Thanks for any help,
    Sam

    sql*loader is capable to generate the controlfile for external tables which are pretty much the same
    Something like
    sqlldr scott/tiger ulcase1 EXTERNAL_TABLE=GENERATE_ONLYhttp://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch08.htm#1006964

  • APIs for XML file creation

    hi,
    can anyone tell me whether there is any Java APIs for creating XML file( similar to the one used for parsing).
    thx in advance,
    -Soni.

    Hi,
    you can try the org.apache.xml.serialize.XMLSerializer which is included in the Apache Xerces Package (http://xml.apache.org/xerces). This Class allows you to serialize a org.w3c.dom.Document to a OutputStream which can be a FileOutputStream.
    Check out this code:
    OutputFormat format = new OutputFormat();
    format.setDoctype("mapping","mapping.dtd");
    format.setEncoding("ISO-8859-1");
    format.setLineWidth(100);
    XMLSerializer ser = new XMLSerializer(new FileOutputStream(f),format);
    ser.serialize(doc);
    Rgds,
    Sebastian

  • Microphone needed for WAV file creation

    I need a Microphone for my iMac G5 to record a wav file. The source of the sound I want to record is a Verizon cell phone message. I want to record the message and save it as a WAV file, but I don't currently have a device like a Microphone to record sound on my iMac.
    My old G3 Beige Mic doesn't work on the G5. What product do I need?

    Depending on the model you might have a built-in microphone on your iMac.
    If you decide to use it make sure the room is very quiet. I had to turn off TV and chase my wonderful but very loud children into another room.
    Check and see.
    On mine if I go to System Preferences-Sound-Input look and see if it says anything about Internal Microphone. If so you are in luck.

  • Restricted access on ACS for PAC file creation

    I want to create an admin account for our desktop support guys to be able to create PAC files only and thats it. i have tried creating one my self but even when allow all is ticked i still cannot create the pac files as it reports "access denied".
    This is on an ACS applicance V.3.3.

    Hi,
    This is known problem with acs 3.3. It has been fixed in acs 4.0.
    Workaround :To use the default administrator
    account.
    Sorry don't have a better workaround.
    If that answers your question, then please mark this thread as resolved, so that others can benefit from it.
    Regards,
    Jagdeep

  • How to import CSV file which exists in specific directory

    Hi,
    There is one directory and new csv file is put there in daily batch. And the files have to be imported to DB.
    I tried to use DBMS_LOB package, but it doesn't work.. So, if anybody know some good sample code, please tell me.

    If you are on 10g (not sure which exact release I'm afraid) you might look at Chris Poole's XUTL_FINDFILES that lists the files in a directory using PL/SQL and DBMS_BACKUP_RESTORE.SEARCHFILES (all a bit undocumented as it seems to be provided as part of rman).

  • Help to fill parameters in microsoft odbc file creation for Oracle

    When i get a modal window for odbc file creation i must fill this fields:
    user name:?
    server:?
    How i fill this parameters if i want connect to a remote server whit this credentials:
    ip:50.80.1.245
    port:1521
    server name: orcl
    scheme: sh
    pwd:sh
    I need know the correct sintax for connect to this remote server.
    kind regards.
    deniscuba

    What dialog is this? What application?
    First, do you have Oracle Client or Oracle Instant Client with the ODBC drivers installed?
    Second, do you have a TNS entry for this server?

  • Is there a way to open up a directory for static files.

    Is there a way to open a specific directory or set of directories up for browsing with WLS 8.1.5 (such as having static .txt,.html files,etc..) without having to deploy some sort of java app to do this.
    Basically we need a quick and dirty way to access files sitting on a specific directory on our Web Server machine. Example is there a way to open up just the directory /home/user/files/video for access?
    Thanks,
    Cash Chitwood

    Well in order to host something I can't see you doing it without having to have a web application? So if you do not have a web application you will probably need to do that and deploy the war I guess even if its an empty war. In which case you can set that parameter I posted about earlier to access your folder?
    -Jesus

  • Advanced selection for source file

    Hi,
    Requirement: One source directory, multiple file names. File needs to be picked up from source directory and send to target directory with same name as source file name.
    Source file name pattern sample: AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm.
    Target file name should be :AP5_X_yyyyddmm, A35_X_yyyyddmm, AP5_Y_yyyyddmm, AP5_Y_yyyyddmm
    Can we define multiple place holders as :
    Directory    
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt, A35_X.txt, AP5_Y*.txt, AP5_Y*.txt
    When I tried for single place holder, the scenario was working but when I tried adding multiple place holders it was not working.
    How can we achieve the above scenario?
    Thanks,
    Vertika

    Hi Amit,
    Thanks for reply.
    Yes you understood it right.
    I am able to achieve this now. The only change that I did is instead of giving all the placeholders in same line I have given it in different lines and this is working now.
    Sender Adapter Configuration: Checked Advanced selection for source file and used Adapter specific message attributes to keep same file name as source file name.
    File Name Mask
    File Name Mask
    Exclusion Mask
    \\Source
    AP5_X*.txt
    \\Source
    A35_X*.txt
    \\Source
    AP5_Y*.txt
    \\Source
    A35_Y*.txt
    I am closing this thread now.
    Thanks,
    Vertika

  • When we go for Flat File creatin

    Hi gurus,
              When we go for flat file creation.Can any one give me one Scenario with example.
    Thanks in advance

    Hello Srikar,
    How r u ?
    We go for flat file in some scenarios like,
    1. The source system could not be connected to the BW System (here u could generate a FlatFile)
    2. If the Customer asks for a different kind of report (in our case we do FlatFile Creation for a complex time management - Employee Working Time is 1st merged with R/3 data, then we combine both together as 1 FlatFile)
    3. Sometimes the customer will give the FlatFile data generated by them
    4. We also take FlatFile reports from Data Targers, using InfoSpokes
    More scenarios are there,
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • IPhoto file creation date inconsistencies during drag and drop

    I have noticed that if I drag and drop a photo from iPhoto to Finder, the file creation dates in Finder are inconsistent.
    (This question is related to drag and drop only and not File->Export, which always uses the export date and timestamp for the file creation date and thus does not suit my needs).
    TEST A -- If the EXIF DateTimeOriginated is 01/01/2013, and today's date is 03/03/2013, then:
    In some cases when I drag a file to Finder, the EXIF date is used as the file modification/creation date in Finder
    In some cases, today's date is used as the file modification/creation date in Finder
    In some cases, a date in between the EXIF date and today's date is used
    It appears that for case A1, these are files that do not have a modified copy.  That is, if you select the photo in iPhoto and then click "File" -> "Reveal In Finder", the "Modified File" choice will be greyed out.
    For cases A2 & A3, iPhoto has inexplicably decided to create modified versions of these files either today or sometime in the past.
    TEST B -- I have read that unexplained modifications are tied to the auto-rotate function in cameras, and it does seem to be the case when I performed the test below:
    Select a large group of landscape format photos (these would not have been auto-rotated), then drag and drop to Finder.  The file creation dates are set to the EXIF date
    Add some portrait photos to the group in (1).  Now the file creation date of ALL photos including the non auto-rotated photos are set to the current date
    The behaviour in B2 is clearly wrong, since the landscape photos should be the same as in B1.  This is bug #1.
    Furthermore, iPhoto appears to be inconsistent with when these modifications are made.  For example, I dragged & dropped an auto-rotated photo on 02/02/2013, then dragged & dropped it again today, then the file creation date in Finder (and also the date of the modified file in iPhoto, as shown in iPhoto File->Reveal In Finder->Modified File) can either the EXIF date (01/01/2013), the late of the last drag & drop (02/02/2013), or today's date (03/03/2013); there does not appear to be any rhyme or reason to this.  This is bug #2.
    In any case, saying "you should never use drag & drop in iPhoto" (as I have read in some other forum posts) isn't a solution, because Apple should either (a) support this function correctly or (b) remove it altogether.  Furthermore, I regularly burn photos to disk for others so having the file date and timestamps correctly set to the EXIF date helps keeping the photos sorted in the directory listings for multiple OS, so File->Export isn't a solution.

    File data is file data. Exif is photo data. A file is not a photo.  It's a container for a photo.
    When you export you're not exporting a file. You're exporting a Photo. The medium of export is a new file. That file is created at the time of export, so that's its creation date. The Photo within that file is dated by the Exif.
    There are apps that will modify the file date to match the Exif.
    The variation you're seeing is likely due to the changes in how the iPhoto library works over the past few versions. Drag and drop is handy, but is not a substitute for exporting, nor intended to be.

  • Maown - file system monitor for shared group directories

    Maown Info Page
    I needed a way to manage ownership and permissions of files in a shared directory. ACLs and "chmod g+s" alone were not enough so I wrote maown.
    Maown is a file system monitor written in C. It uses inotify to recursively watch a directory tree for file creation and attribute modification. It automatically chowns files to user:group and adjusts group permissions to match user permissions.
    The package includes a daemon with a simple configuration file. Each line in the configuration file specifies a user, a group and a list of directories to monitor:
    <user> <group> <directory> [<directory>...]
    Last edited by Xyne (2012-05-21 02:35:24)

    Maown has been replaced with Autochown.

Maybe you are looking for

  • ERROR WHILE GENERATING ARE-1 doc internal number

    Dear sir while creating  ARE-1 Doc following error getting error while generating ARE 1 DOC internal number message no : 4F238 I MAINTAIN ALL NO RANGE OBJECT ALSO THEN ALSO GETTING ERROR Sl No Object Tocde Module After Closing the Year ; Maintain the

  • WRT100 | Firmware Version: 1.0.02 | UPGRADE FIRMWARE

    I have checked the upgade firmware for my router (WRT100) and found a newer version available. I downloaded the file (which has an extension of ".bin") and attempted the upgrade. First, as far as I know, there is nothing to extract, and secondly, the

  • Transfer file in application server to another file

    Hello guys I have another major hurdle I am encountering for a little task I am doing. I need to send a downloaded file within the SAP application server to another file automatically using ABAP via Background Processing(most preferable a directory i

  • Creating sequences for multimedia w/o black border

    I can export clips taken from firewire to quicktime fine, but when I make them into sequences, they export with black borders. I'm new, please help.

  • Multi-Record (NON-DB) block - duplicate records

    I have a non-db block called 'EDITOR_INFO' that captures all the editor's information. The block has the following fields in it: editor_name,editor_type,address_lines1 thru4, city, state, zip, taxid_ssn_type,taxid_ssn. I need to check to make sure th