Is it possible to run one ud script to update parms for multiple servers...

Is it possible to run one ud script to update certain parameters in mib for multiple
servers by giving multiple occurrences of the parameter and server id. I tried
a ud script as follows and it seem to update the parameter for only the first
server.
SRVCNM .MIB
TA_CLASS T_SERVER
TA_OPERATION SET
TA_SRVID 101
TA_SRVID 102
TA_SRVID 103
TA_CLOPT -A -r -e srv1.err --
TA_CLOPT -A -r -e srv2.err --
TA_CLOPT -A -r -e srv3.err --

From the ud's output, it looks like it used only one occurrence of the fields that
I provided.
"james mathew" <[email protected]> wrote:
>
Is it possible to run one ud script to update certain parameters in mib
for multiple
servers by giving multiple occurrences of the parameter and server id.
I tried
a ud script as follows and it seem to update the parameter for only the
first
server.
SRVCNM .MIB
TA_CLASS T_SERVER
TA_OPERATION SET
TA_SRVID 101
TA_SRVID 102
TA_SRVID 103
TA_CLOPT -A -r -e srv1.err --
TA_CLOPT -A -r -e srv2.err --
TA_CLOPT -A -r -e srv3.err --

Similar Messages

  • Applescript: How to run a script once upon logon for multiple users

    I'm deploying a NetRestore image to about 150 Macs which will be using Active Directory and I've designed a custom default user for each new user. However, our system requires a specialized certificate that has to be installed on the local login.keychain for each user otherwise network connectivity is impacted.
    I've tried to use the security command through Terminal to install the certificate, but no matter what combination of commands, I cannot seem to get that to work properly even with an already-created user. While it will often say it's installed, the cert will not actually show up in the login keychain in Keychain Access. And the network connectivity is still impacted.
    So instead, I created a brief AppleScript that just gives the user brief instructions to click "Add" on the prompt for which Keychain to add the cert and then "Always Trust" for the "This cert is not verified" prompt. Then it launches Keychain Access. Originally, I was going to have it actually click the buttons for the user, but I realized trying to get the whole Accessibility apps and assitive devices to work on every new user would be a nightmare.
    I created the script on another 10.9 Mac using Automator to make it an actual application. I've used the instructions in OS X: Using AppleScript with Accessibility and Security features in Mavericks to sign it and I'm using root to move it from its network location into the Applications folder. I've adjusted the permissions to allow all Admin users to r/w (along with everyone else). To the root user, it shows as a usable application, but every other user on the Mac sees it as damaged/incomplete.
    What I want to do is add it to the default Login Items, so I can run the final AppleScript command to simply remove the login items listing. That way I don't need to worry about it running again, but it's still available for the next user to sign onto the deployed Mac.
    I know it's a little convoluted, but this is the final piece to the NetRestore deployment I've been working on for months. Any suggestions on how to make this work (or even a completely different solution) would be greatly appreciated.
    Here was the original shell script in case you're curious.
    #!/bin/bash
    ## Prompt for current user admin for use in Certificate Install
    while :; do # Loop until valid input is entered or Cancel is pressed.
        localpass=$(osascript -e 'Tell application "System Events" to display dialog "Enter your password for Lync Setup:" default answer "" with hidden answer' -e 'text returned of result' 2>/dev/null)
        if (( $? )); then exit 1; fi  # Abort, if user pressed Cancel.
        localpass=$(echo -n "$localpass" | sed 's/^ *//' | sed 's/ *$//')  # Trim leading and trailing whitespace.
        if [[ -z "$localpass" ]]; then
            # The user left the password field blank.
            osascript -e 'Tell application "System Events" to display alert "You must enter the local user password; please try again." as warning' >/dev/null
            # Continue loop to prompt again.
        else
            # Valid input: exit loop and continue.
            break
        fi
    done
    echo $localpass | sudo security import /'StartupFiles'/bn-virtual.crt ~/Library/Keychain/login.keychain
    osascript -e 'tell Application "System Events" to delete every login item whose name is "LyncCert"
    And this is the AppleScript itself. (I used the \ to make it easier to read. The first line is actually one complete command)
    display dialog "Click OK to start installing Mac Network Certificate." & return & return & \
    "In the following prompts, click the 'Add' then 'Always Trust'." & return & return & \
    After you have clicked 'Always Trust', quit Keychain Access." default button 1 with title \
    "Mac Network Certificate Install"
    activate application "Keychain Access"
    tell application "Finder" to open POSIX file "/StartupFiles/bn-virtualcar.crt"
    tell application "System Events" to delete login item "Lync-AppleScript"
    end
    Thank you for your help!

    I have run into this same issue. Are you trying to run the script one time as a new  user logs in or everytime a user logs in?

  • How to run the the impersonation permission grant command for multiple users

    I have run below command earlier to grant the impersonation for a user called user1
    get-mailbox -identity user1 | add-adpermission -user domainname\service application user -ExtendedRights ms-Exch-EPI-May-Impersonate
    Now I want to run this command for multiple users like user2, user3, user 4 together. How should I run the command.
    This is for Exchange Server 2007 SP2
    Abhijeet M. Mohite

    Hi Abhijeet
    get-mailbox -identity user1 | add-adpermission -user domainname\service application user -ExtendedRights ms-Exch-EPI-May-Impersonate
    I am little bit confused with this command so can you please help me what to right inplace of User1 and domainname\service application user
    Example: I wanted to give Impersonate rights to
    [email protected] then can you please complete command for me.      Thanks in advance.
    Warm Regards, Pramod Kumar Singh Manager-IT

  • Possible to run a photoshop script by selecting files in Bridge?

    Hi,
    I have a good script I've written that I always used to run from Photoshop. The script has a dialog box which asks where to get the files from. Is it possible to select files in bridge and run the script from there? Without rewriting it for Bridge?
    Thanks,
    Stan

    > I have a good script I've written that I always used to run from Photoshop. The script has a dialog box which asks where to get the files from. Is it possible to select files in bridge and run the script from there? Without rewriting it for Bridge?
    Yes, this is possible. However, a much easier solution is to select the files in
    Bridge then switch to PS manually to run your script. It avoids having to having
    to write any code to run in Bridge at the cost of not having seamless integration.
    In xtools/xlib/XBridgeTalk.jsx I have a set of functions that simplify working
    with Bridge from within PS. For instance:
    var files = XBridgeTalk.getBridgeSelection();
    will return an array of Files that are currently selected in Bridge. If Bridge
    isn't running or if no files are selected it returns an empty array.
    -X
    for photoshop scripting solutions of all sorts
    contact: [email protected]

  • Is it possible to run a shell script from AIR?

    I can not scan a local directory unless on of my installed files is chmod
    755. i want to run a script on init() that will chmod 755 a file in the bin-debug directory.
    Thanks in advance for your assistance.

    Problem: I have a Perl script in my AIR App's install directory that needs executable permissions on a Mac.
    Solution: Chmod the file in my AIR App.
    My code looks something like the following:
    if (Capabilities.os.indexOf("Mac OS") > -1) {       
                        var dlFile:File = File.userDirectory;
                        var _chmod:File = new File("/bin/bash");
                        dlFile = new File(file);
                        var nativeProcess:NativeProcess = new NativeProcess();
                        var chmodStartupInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo();
                        chmodStartupInfo.executable = _chmod;           
                        var args:Vector.<String> = new Vector.<String>();
                        args.push("-c"); 
                         // Trace so I can make sure the command and path are correct in the debugger              
                        trace ("\"chmod ugo+x '"+dlFile.nativePath+"'\"");
                        args.push("chmod ugo+x '"+dlFile.nativePath+"'");
                        chmodStartupInfo.arguments = args;
                        nativeProcess.addEventListener(NativeProcessExitEvent.EXIT, onExitError );
                        chmodStartupInfo.executable = new File(file);                       
                        var process:NativeProcess = new NativeProcess();
                        process.start(chmodStartupInfo);  
    I really hope this helps someone else.

  • Is it possible to run Portal 9.2 application on non-weblogic app. servers?

    Hi! I am new in WLP 9.2. We starting migration of 8.1 portal application to wlp 9.2 engine. Is it possible later to run our Portal 9.2 application on non-weblogic app. servers?

    Absolutely not. Weblogic Portal is tightly coupled with Weblogic app server. You can not run it on any other App server.

  • Is it possible to have one central user defined exchange rate for a project

    When i create deliverables for a project. It asks for an exchange rate type. On entering user i am prompted to enter an exchange rate.
    Is it possible to use the exchange rate setup at the workplan level for all deliverables rather than entering the rate at each deliverable.?

    Hello
    The exchange rate value you set in the workplan is only used for converting planed amounts entered in foreign currency. There is no standard functionality to configure a default value for USER conversion type.
    Could you further elaborate on the business requirement? Why do you use conversion type as USER for events, and not a centralized conversion type managed on the GL daily rates?
    Dina

  • How to set one default "reply-to" email address for multiple accounts

    I have an iPhone 3GS. I have my own domain name which I want to use as my primary "public" email address. It is forwarded from the hosting ISP to my ATT/Yahoo email address. I also have a Gmail account. I would like recipients to see that it comes from my domain ([email protected]), but since it is actually going through ATT/Yahoo, I can only see how to set the "From" field to either my ATT/Yahoo account or my Gmail account addresses. Is this even possible?
    Essentially, I don't directly access "[email protected]", but that's where I want it to appear to come from, regardless of where it actually originated.
    Any ideas?
    Thanks,
    Mark

    You get e-mails just fine, but do you have rights to log into the e-mail server at myfirstandlastname.com? If you can do that (check with your hosting ISP to find out if they will let you), then you can just set up the iPhone to use that e-mail server to send your mail. It's possible to set up an iPhone IMAP account to get mail from gmail, but use a separate non-gmail SMTP server to send outgoing mail, all within the same iPhone e-mail account.
    If you can get this working, then you won't need to mess with reply-to headers. Your e-mail will not only look like it got sent from myfirstandlastname.com -- it actually WILL be sent from there and all replies will automatically go there and then be forwarded as usual to your ATT/Yahoo address. No one will know that ATT/Yahoo is involved, and both your sent and received e-mail will show up in the same single e-mail account on the iPhone.
    I do this all the time with my e-mail. My account is really at gmail, but the e-mail address says it came from mycollege.edu. My old college offers me an alumni forwarding-for-life account. They only forward mail, though; they don't hold it. They do also run an SMTP server, though, and that's what I use to make my outgoing e-mail look as if it came from mycollege.edu.

  • Need ONE Button That Controls Audio/Caption for Multiple Movies

    Captiate Version: 3
    Flash Version: 9
    We created an online course using Captivate 3. The shell is HTML and the captivate (.swf) is embeded to show the content. Because the content inside the captivate movies were too large we had to break up the course into separate pages for loading purposes.
    For example:
    HTML Page            Captivate File
    page001.html         page001.swf
    page003.html         page003.swf
    page004.html         page004.swf
    Now we need a way to use ONE Button to control the Audio/Caption for ALL the movies. The button would be included seperately in the HTML shell along with Captivate movie.
    Is this possible? If so please let us know in detail how?
    We're open to other ideas. We are somewhat familar with using Captivate variables ect is required.

    You can control Captivate SWFs via JavaScript using the CaptivateController. It allows you to control all the standard Captivate variables from HTML.
    http://pipwerks.com/2010/08/23/captivatecontroller-updated-to-support-adobe-captivate-5/

  • Help with script to update shotDate for a video clip

    As hard as it is for me to believe, Adobe Premiere Pro doesn't take the date code when capturing video clips from a DV camera and put it into the "shotDate" video metadata field. Instead, it (stupidly in my view) sets the shotDate to the date when the video clip is being captured, not when it was shot. I want to write a script to correct this.
    So far I've been able to get access to the existing, bad shotDate property, but I can't seem to set it successfully. The relevant portion of my code is as follows. Can anyone point me in the right direction as to why my setting the property isn't working? Thanks in advance!
    var md = thumb.synchronousMetadata;
    md.namespace = "http://ns.adobe.com/xmp/1.0/DynamicMedia/";
    var BadShotDate = md.shotDate;
    $.writeln("Bad Shot Date: ", BadShotDate);
    // Get the XMP packet as a string and create the XMPMeta object
    var xmp = new XMPMeta(md.serialize());
    var d = new XMPDateTime(new Date()); // Dummy value for testing
    xmp.setProperty(XMPConst.NS_XMP, "shotDate", d, XMPConst.XMPDATE);
    var updatedPacket = xmp.serialize(XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
    thumb.metadata = new Metadata(updatedPacket);

    I figured it out, so I thought I would post a follow-up for anybody else running into the same issue. The following function will set the shot date metadata to whatever string is supplied for the given thumbnail:
    function SetShotDate(thumb, newshotdate)
    if(thumb.hasMetadata)
    // Get the metadata object - wait for valid values
    var md = thumb.synchronousMetadata;
    md.namespace = XMPConst.NS_DM;
    var xmp = new XMPMeta(md.serialize());
    xmp.setProperty(XMPConst.NS_DM, "shotDate", newshotdate);
    var updatedPacket = xmp.serialize(XMPConst.SERIALIZE_OMIT_PACKET_WRAPPER | XMPConst.SERIALIZE_USE_COMPACT_FORMAT);
    thumb.metadata = new Metadata(updatedPacket);

  • HT1206 can you have multiple itunes accounts one computer with seperate music library for multiple iphones?

    is it possible to seperate multiple itunes store accounts and music libraries on 1 computer for 2 iphones ?

    Welcome to Apple Support Communities
    You just need to create a second iTunes account on your PC or Mac.
    To do it, open iTunes while holding down the Option (Alt) key (on a Mac) or the Shift key, and press the option to create an iTunes option. You will have to open iTunes with that key when you want to switch libraries

  • Block with more than one table type agurment -  Update Procedure for Block

    Hi,
    I have one form with 3 Block. First Block is single row block, and other 2 are details block . The details balocks are based on the Procedure datasource, because of the complex query conditions. Now my requirement is When Inserting / Updating the Master Block (Single Row Block), I need to get the values in the two details block , because I need to update some other tables also based on these values. I created a procedure with two Table Type parameters (for each details block) , but when I using this procedure as the Update Procedure Name in the block, I am getting the error Only One table type arguement is allowed. Is there any other method to implement this.
    Thanks in advance.

    Rizly,
    A quick summary to make sure I understand your requirements. You have a single row base table master block with two detail blocks that are based on Procedures. When you update the single row base table master block, you need all of the data in the two procedure based detail blocks as there are updates that you have to perform to other tables that use this data. You have created a stored procedure that take two PL/SQL tables as parameters, but you are getting the error that only 1 table parameter is allowed.
    I need to ask you a few questions first. What is your Forms version? The stored procedure you created; are you using this procedure in the "On-Insert, On-Update, On-Delete" triggers or do you call the procedure in one of the Base Table block ("Key-Commit, When-Button-Pressed" or other trigger)? When you modify or add a new Master block record are you adding values to the detail blocks or using values from the previous Master block record?
    If you are using your procedure in the On-Insert, On-Update or On-Delete trigger(s), then based on your description, the error you are receiving is correct. The "On-..." triggers are constrained in that their procedures expect only a single PL/SQL table, Table of Records or Ref Cursor as a parameter. This is a Forms constraint - not a PL/SQL constraint as Forms is expecting you to only perform actions on the block where the "On-..." Trigger is located.
    Perhaps you should consider creating a database Package that has two package specification constructs (Ref Cursor, Table of Records, etc) you can populate from Forms and then simply call the package procedure that will use the Ref Cursors to perform the needed update or inserts.
    Hope this helps.
    Craig...
    If mine or someone elses response was helpful, please mark it accordingly

  • After running Adobe application manager everything updated excpet for the following three errors.

    Adobe Illustaror CS6 Update (version 16.0.3)
    Insatllation failed. Error Code: U44M1P7
    Extension Manager 6.0.4 Update
    Insatllation failed. Error Code: U44M1P7
    Adobe Illustrator CS5 15.0.2 Update
    Installation failed. Error Code: U44M1P7
    Any ideas?

    Hi,
    Please download http://www.adobe.com/exchange/em_download/
    re-install the extensions manager.
    download Adobe - Latest Product Updates http://www.adobe.com/downloads/updates/
    and run it manually.
    Thanks
    Kapil Malik

  • Sharing one library on external NAS drive for multiple users on one ibook

    Hi there,
    We (my wife and I) have only the ibook. We would like to use only 1 iphoto library for all of our family photos. I have a network drive with a bigger capacity to store the library.
    I read the post by CaptSwing. It seem to easier if library is stored on external drive.
    Can anyone provide me with the steps to achieve this.
    Much appreciated,
    Henry
    ibook G4 1.2GHz   Mac OS X (10.3)  

    I now realise that if what I propose will work then "iTunes server" is not required on the NAS. However if the iTunes Media Folder was placed in the "iTunes Server" on the NAS then other media players like the ROKU could access the files?
    Geoff

  • Is it possible to run a command when a monitor goes to a healthy state?

     
    Hi,  I'm using SCOM 2007R2
    Is it possible to run a command/script when a web application Monitor changes to a healthy state?
    I have a web application monitor that checks four different websites from our proxy servers.  on the aggregate rollup of all four sites I have a health rollup policy of 'Best state' meaning
    that the monitor will only go critical if all four sites are unreachable. If that happens I have a Diagnostic task that runs to Stop the w3svc service.
    This stops the proxy server serving ‘Page cannot be displayed’ content to the users within the company.
    What I would like to do is start IIS automatically when the web application monitor goes to a healthy state.
    I’m guessing I’m going to need a script that perhaps pings the sites every few minutes then starts the w3svc service if it gets a result.

    Hi,
    I recommend you touch the Orchestrator, Orchestrator can integrate
    SCOM.
    Use Orchestrator to design a Runbook for your task. When the state of a web application Monitor changes to healthy, then run a command/script.
    System Center 2012 Orchestrator.
    Orchestrator is a workflow management solution for the data center. Orchestrator lets you automate the creation, monitoring, and deployment of resources in your environment.
    For more information, please review the link below:
    System Center Integration Pack for System Center Operations Manager 2007 R2
    http://technet.microsoft.com/en-us/library/hh531770.aspx
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for