Console and Agent tasks together

I am creating this task so that a technician can see an alert, click on the task in the right pane, the task will perform tier 1 troubleshooting and then the technician can proceed from there.
I cannot figure out where to start research on accomplishing my task.  The logic I want to accomplish is:
Ping a computer from the SCOM server
If the computer is down, output <whatever>
Else, try to run a script via the local agent
If the agent connection cannot be established, restart agent
Else, run script locally
Can this be done?  Should this not be a task?  
If you can point me to any good documentation that would help or if you have a better idea I would love to hear it.  Thanks for the help.

Hi!
Sure, just trigger a (PowerShell) script with the task that is doing your magic stuff. Just restarting the agent could be tricky if you don't have remote options.
You should have a look at Stefan's blog post:
http://www.code4ward.net/main/Blog/tabid/70/EntryId/83/Invoke-External-Programs-and-Scripts-in-SCOM-Tasks.aspx
Cheers,
Patrick
Please remember to click “Mark as Answer” on the post that helped you.
Patrick Seidl (System Center and Private Cloud)
Website: http://www.syliance.com
Blog: http://www.systemcenterrocks.com

Similar Messages

  • How can I create a client console and work together with the Cache Server?

    How can I edit the following Cache-Server.cmd file to create a client console and work together with the Cache Server?
    The following is the cache server file: contacts-cache-server.cmd
    @echo off
    setlocal
    if (%COHERENCE_HOME%)==() (
    set COHERENCE_HOME=c:\coherence
    set CONFIG=C:\home\oracle\coherence\Contacts
    set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\
    coherence\Contacts;C:\home\oracle\coherence\Contacts\classes;
    set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
    java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
    :exitEdited by: junez on 23-Oct-2009 09:20

    Hi
    To run the console, change DefaultCacheServer to CacheFactory
    Paul

  • How to distinguish between enabled and disabled tasks in SSDT-BI 2012

    Hi,
    I've got SSDT-BI 2012 together with VS2012 installed. Simple questions: What is the difference between enabled and disabled tasks in control flow from the design/color point of view? I do see that the disabled tasks changes to grey (omg are you really kidding
    me????) from black. This could be a bad joke or dream however is not.
    So I'm kindly asking you to help me solve this problem. How can I change the color difference between these two options (enabled task vs disabled task)? I do not care whether the one will be yellow or pink, simply just need to be recognizable at first
    look and not under long and painful examination.
    Thanks for your reply. Hopefully it will be useful.
    Karol.

    Hi Karol,
    It’s true that it only changes the font color of the task name text to grey after disabling a task in SSDT 2012. In SSDT 2010, the whole task control including icon will turn grey after it is disabled; in BIDS, the background color of the task control will
    turn grey after it is disabled. These behaviors are by design. Personally, I agree with you that this behavior in SSDT 2012 is not very readable.
    If you have concerns, I would suggest you submitting a wish at
    https://connect.microsoft.com/sql.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Services in SAP management console and related window services and process

    hai
    can u please any one of you can send me the services in SAP management console and related window services(in adminstrator/services) and process in task manager.
    thanks in advance.
    Naga Laxmi

    Hi Naga,
    Please refer to this article for the processes relevant to the Java Instance:
    http://help.sap.com/saphelp_nw04/helpdata/en/62/1bf03eae11e16be10000000a114084/frameset.htm
    Except the processes of the Java instance you can find several processes of the IGS server and the ABAP disp+work processes.
    You can easily find the relevant services by their SAP prefix.
    Hope this helps.
    Best Regards
    Vyara

  • Original and current budget together with PTD,ITD,MTD and YTD labor...

    Hi experts:
    I need a Project Accounting Report that shows Original and Current budget together with PTD,ITD,MTD and YTD labor amount, labor cost, non-labor cost, and revenue on the same line for all the task_id for a project. I know these are coming from these ,PA_BUDGET_VERSIONS V, PA_RESOURCE_ASSIGNMENTS A,PA_BUDGET_LINES L, main tables. But I am unable to break down the amounts according to PA and GL periods. Can anyone help please?
    Thanks a million , in advance.

    Help you with what?
    No database version number.
    No application name or version number.
    No DDL.
    Do you, for some reason, think we have any idea what PTD and ITD are? If so why?
    Do you think we all have your version of a table named PA_RESOURCE_ASSIGNMENTS on our hard disks?
    Perhaps you have some version of e-Business Suite. Perhaps you have SAP. Perhaps you have something we've never even heard of.
    Your task is as follows:
    1. If this question relates to an Oracle product change the subject of the post to "Please Ignore" and post your question in the correct forum.
    or
    2. Provide us with sufficient information that we can duplicate those portions of your environment required to understand what you are asking.

  • SAP Management Console and Services

    Good morning everyone,
    I am trying to understand more about the services used by the SAP System, the order in which they are / need to be started.
    First I have a precise question regarding what appears to be, to me, as a discrepancy between the SAP Management Console and The Services Console.
    At the moment I have a Server with the SAP System stopped. It shows the correct information in the SAP Management Console but when I look at the Services Console the following services show as started:
    SAPOsCol, SAPPRD_00 & SAPPRD_01
    SAPCCMSR.01 & SAPCCMSR.11 are set to manual
    Has anyone got an explanation on why different info are displayed in both console?
    Also, is there a way of checking if the SAP Services are running without going through any interface (Management Console)?
    Finally,
    In the Services Console the SAPOsCol, SAPPRD_00 & SAPPRD_01 services are set to automatic but when we restart the Server the services do not restart automatically even so they show as starter. Can anyone give me direction on what I need to check or change for these to start properly?
    Thank you
    Corinne

    Corinne,
    The Services SAPOsCol, SAPPRD_00 & SAPPRD_01 started doesnot mean that SAP is up. So even if you stop SAP through MMC it will show these services as started. These Services denote whether the Instance PRD_00 and PRD_01 are enabled in MMC. So if you stop these services, you wont be able to start SAP through MMC.
    SAPCCMSR.01 & SAPCCMSR.11 are set to manual --  These are optional CCMS Agents , so they are set to manual. If you need them you can change them to Automatic
    SAPOsCol, SAPPRD_00 & SAPPRD_01 are set to automatic. This should mean that they get strated with the start of OS during a reboot. If they are not getting started there is some issue.
    Hope this helps!
    Reward points if useful!!!
    Cheers!
    Bidwan

  • Service Manager Portal not displaying VM console and related details

    Hi All,
    We have deployed private cloud with system center products using Cloud Services Process Pack and we have deployed Service Manger portal for VM provisioning in Cloud
    The Service Manger portal does not display VM console and VM details
    I have following queries
    How to take remote console of VM deployed by end user through service manager portal
    How will user come to know quota limit utilized in cloud under his account
    The VM are deployed through SCSM portal are in shutdown state how to auto start the VM after provisioning
    Please help since we are not able to find any solution for the above
    Appreciate if any workaround is available for the same
    Thanks
    Manzoor Ahmed

    The component of System Center that is capable to give console access to your VMs, is App Controller.
    Once the user are logged in here, they should see their quota, limits and resources available.
    Yes, the VMs are powered off by default when using the CSPP. You can edit the runbooks and add a task that will start them after provisioning.
    For your information:
    Many things has changed since the release of Cloud Service Process Pack. A new set of tools are provided with Windows Azure Pack to have a streamlined Infrastructure as a Service offering within the enterprise. Windows Azure Pack will leverage VMM (in the
    same way as SCSM does) but in conjunction with SPF (component within Orchestrator) to give you a framework that is identical to Windows Azure (Microsoft's own cloud) running on-premise.
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • ODI console and compatibility

    Hi,
    I have installed SOA and ODI on same server.I created domain for both SOA and ODI.I'm able to see SOA severs
    in fusion middleware console but ODI console is not coming.Can SOA and ODI will run or work using same weblogic server?
    Best regards,
    Rafi.

    Hi,
    ODI console is web Java application. You can launch in the web browser and connect to master and work repositories without using ODI client.
    ODI console you cannot do development activity like creating interfaces...reverse engineering...
    You can configure and modify ODI topology details in ODI console.
    You can execute scenarios only and you can view error records details in the ODI console.
    When you create a weblogic domain for ODI, you can select ODI console and EM components.
    EM:Enterprise manager for ODI, where in you view agents status up/down,session status of executed scenarios.
    CPU usage.
    Lot of performance and monitoring information of ODI session and agents details you can see in the EM.
    Hope this helps u.
    Thanks & regards,
    Manjunath

  • Error HTTP Status 500 after installing DS Management Console and IPS Services on BI Enterprise Server

    The following error
    HTTP Status 500 - while trying to invoke the method java.util.Properties.entrySet() of an object loaded from local variable 'globalProperties'
    occurred after installing DS Management Console and IPS Services on BI Enterprise Server
    BI Enterprise Edition 4.1 SP1 and BODS 4.1 SP1

    Hi,
    If you can't see the login screen of the CMC then it's a problem of webapps and not EIM services.
    Try cleaning the Tomcat cache for the BOE webapps and let Tomcat re cache it.  Often it does the job.
    - Stop Tomcat
    - Rename the BOE folder to BOE-OLD in C:\Program Files (x86)\SAP BusinessObjects\tomcat\work\Catalina\localhost\
    - Start Tomcat
    When the Tomcat process in task manager is done working (it can take 10-20 min+) then try again.
    When you're done, you can delete the BOE-OLD folder.
    Let me know!

  • What is a WF_Initiator and Agent (USER)..?

    Hi All,
    I am very new to workflow and getting cofused over the Agent and Workflow Initiator determination in the task and activities and all the scenarios.........
    Can anyone please explain me these differences between.
    I have gone thru the help files but cant get any idea...may b i m missing somthing...
    Please let me know if there are any help files available to understand this.
    Thanks,
    Sagar@MM

    WF Initiator is the one who starts the workflow, and Agent is the one who recevies the workitem and have the authorization to execute the workitem.
    Suppose let us consider a case like we have 2 users USRA and USRB
    USRA -
    Starts the workflowor triggers the workflow then WFInitiator will have the user name USUSRA and let us assume that whem ever a leave is applied so your leave request should go to your manager for approvale let the manager be USRB, Now USRB will be the agent
    [Explore this area for more information|http://help.sap.com/saphelp_nw70/helpdata/en/c5/e4b653453d11d189430000e829fbbd/frameset.htm]

  • McAfee - combining both VSE and Agent?

    Hi everyone,
    We are planning to deploy McAfee (agent 4.6& vse 8.7) to some of user machines by using sccm2012. In our case, we don't want to use ePO or updater to push 
    the vse automatically. 
    Is there any ways to combining both VSE and Agent into one package? Or any scripts that can perform installing vse after agent install completed?
    Appreciated if someone here can help on this.
    Thank you.
    Best.

    Use task sequence.
    Refer to the below for the procedure
    http://griffo.hubpages.com/hub/Deploy-Packages-in-an-Order-Using-SCCM-2012
    Blog: http://theinfraguys.com
    Follow me at Facebook
    The Infra Guys Facebook Page
    Join the Singapore System Center Admin Group
    SG System Center Admin Group
    Please remember to click Mark as Answer on the answer if it helps you in anyway

  • Whisper and Agent Greeting

    Hi ,
    I had a query  on whisper and Personalised Agent Greeting supported in UCCE 8.5.
    Can't we configure both the above features and make them work simultaneously for call which is landing to agent?
    regds,
    aman

    Yes you can ...
    You can use Agent Greeting along with the Whisper Announcement feature. Here are some things to consider when using them together:
    - On the call, the Whisper Announcement always plays first, before the Agent Greeting.
    - To shorten your call-handling time, you may want to use shorter Whisper Announcements and Agent Greetings than you might if you were using either feature by itself. A long Whisper Announcement followed by a long Agent Greeting equals a long wait before an agent is actively handling a call.
    - If you use a Whisper Announcement, your agents probably handle different types of calls: for example, “English-Gold Member-Activate Card,” “English-Gold Member-Report Lost Card,” “English-Platinum Member-Account Inquiry.” Therefore, you may want to ensure the greetings your agents record are generic enough to cover the range of call types.
    source: http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/ipcc_enterprise/ipccenterprise8_5_1/configuration/guide/agwa85fg.pdf
    (page 18)
    Brian
    Please rate helpful posts.

  • How to set speaker and headphone volume together T540p

    My new Thinkpoad sets the headphone and speaker volume separately. I am always adjusting as I use headphones and speakers at different times frequently.
    I would lke the volumes to be synchronized and change both together using the volume key.
    Can this be set?
    thanks all

    Only if you?switch to?Audio Creation, open the mode console, set the speakers as 4.0 and in the 'Multi-Channel Wave' tab enable the bus routing for Fronts and Rears in the 'Wave' column. The downside is that this will disable EAX 4/5. BTW it's better to plug the headphones in the line-out (especially if the hp are low-impedance), the opamp driving the line-out has more output current headroom.

  • "verify disk permissions" and "Underlying task reported failure on exit"

    This is more of a "How I fixed this problem, so others can benefit" posting than a current problem.
    I put my MBP to sleep yesterday, and then when I tried to come out, it just sat there. After about 15 minutes, I figured I'd just force it quit and then restart.
    After hitting the power button, it came up with the gray screen and apple logo with spinning gear and basically sat there for 20 minutes. Several reboot attempts were failures; sometimes I got a blue screen with spinning gears, but basically not much else.
    I tried rebooting with the install disk, holding down the C key, but it gave me nothing, tried rebooting in verbose mode, tried doing CommandOption+PR, nothing, etc. So, I tried rebooting while holding down the option key, and I could see the Disk Utility.
    I ran the Disk Utility to verify the disk, and that all came back fine. So, I ran Verify Disk Permissions, and i spit out "Underlying Task Reported Failure on Exit". The phone support people suggested I try reinstall with archive.
    So, I tried running install with Archiving, and that failed as soon as it verified the DVD was ok - basically it couldn't access the HD.
    So, I rooted around and did the following. From the Install disk, I selected "Terminal". Then, I did:
    cd /Volumes
    ls -lt
    There I noticed that for some odd reason, Macintosh HD was listed as the following permissions:
    rwxrwx---
    So, admin and group had read-write-exec access to the Mac HD, but others had nothing, which I thought odd. It seems like you should at least be able to boot the computer to the login screen, and if a user is not admin or admin group, you cannot login, but I guess that's not the way it's set up.
    So, I tried:
    chmod o+r Macintosh HD
    Then, I reran verify disk permissions. Again, I got the same "Underlying..." error. So I tried
    chmod o+x Macintish HD
    I then reran verify disk permissions, and it ran fine and the suggested that the Macintosh HD volume permissions should be set to:
    rwxrwxr-t
    So, I had the Disk Utility repair it to the way it should be, and now it all seems fine.
    This suggestion basically did not come from any Apple Support people or any forums, and it seemed like such an easy fix that I'm surprised nobody (at least nobody I've found) has had the same problem or needed the same fix.
    Further, I think figured out what happened. I took my computer to my local tech support guys because I wanted to turn off sharing for this MBP. So, under Macintosh HD, somebody changed the permissions under "Everyone" from "Read Only" to "No Access".
    It turns out that doing this basically creates the whole problem above by making the Macintosh HD unmountable or inaccessible.
    I find it truly odd that it would be so easy to remove access to the computer for mounting purposes, but this is the only thing I can think of. The tech guy realized his error and apologized and was also surprised it was so easy to hose the computer.
    Anyway, this is partially a warning to everyone as well as a possible fix for the blue screen problem, especially since it was a solution I could not find anywhere.
    Maybe Apple Support will see this and for its next update at least make a warning box when people try to remove "Read Only" access for "Everyone".
    Good luck.

    If your Mac still boots and runs most applications correctly, but applying Software Update packages fails and you decide to run Disk Utility to Verify Permissions and it fails almost immediately with the "underlying task reported failure on exit" explore this posting. If you see other errors, have slow/varied disk performance, or hear nasty grinding/clicking sounds you have a much more serious problem this solution isn't for you.
    Use Applications, Utility, Console and check the messages appearing there each time you try Disk Utility. If you see:
    Failed to open database on '/'. Error 14, 13, Permission denied.
    You may have had your permissions reset on the receipts db. Which is found in
    /Library/Receipts/db/a.receiptdb
    At this point you have to enter the dark world of the Terminal and use a unix shell (command line).
    If you are not comfortable doing find a Unix/Linux power user.
    The simple fix for me was to open Applications, Utilities, Terminal and do
    sudo chmod 755 /Library/Receipts/db/a.receiptdb
    This allowed Disk Utility to read the file and move on to repairing permissions.
    When things generate error messages in the GUI part of Mac OS X ...always go check the messages in the logs via the Console in Utilities. These messages are 'down a level' and get you much closer to the real problem.
    Note that I did follow the instructions in Apple kb TS1901
    http://support.apple.com/kb/TS1901
    which did not help at all. Same problem each time:
    xxxx-imac:Volumes user$ diskutil verifyPermissions /
    Started verify/repair permissions on disk disk0s2 Macintosh HD
    $<3>Error -9972: The underlying task reported failure on exit
    $<3>[ + 0%..10%..20%..30%..40%..50%..60%..70%..80%..90%..100% ]
    Finished verify/repair permissions on disk disk0s2 Macintosh HD
    Error detected while verifying/repairing permissions on disk0s2 Macintosh HD: The underlying task reported failure on exit (-9972)
    Now I wonder what changed the permissions on the receipts database file? I am off to use find and date fields to see what changed the permissions file last (my is dated sometime in November!).
    flatiswhereitsat

  • OEM 10g DBControl: no information in Database Instance. Listener and  Agent

    Hi,
    we hat a Database Crash, after recovering the Database the OEM is not working completely.
    There are no informations about Database Instance, Listener and Agent.
    The emoms.trc :
    2006-01-23 17:40:29,409 [EMUI_17_40_29_/console/database/instance/sitemap] ERROR rt.DbMetricCollectorTarget _getListenerTarget.366 - oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused
    oracle.sysman.emSDK.emd.comm.CommException: IOException in sending Request :: Connection refused
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1308)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1212)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getTarget(EMDClient.java:826)
    at oracle.sysman.emSDK.emd.comm.EMDClient.getTarget(EMDClient.java:834)
    at oracle.sysman.emo.perf.metric.rt.DbTargetDown._getListenerTarget(DbTargetDown.java:346)
    at oracle.sysman.emo.perf.metric.rt.DbTargetDown.getData(DbTargetDown.java:159)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.getMetricResult(MetricCollectorThread.java:993)
    at oracle.sysman.emo.perf.metric.eng.MetricCollectorTarget.getMetricResult(MetricCollectorTarget.java:564)
    at oracle.sysman.db.uix.DBUtil.getMetricResult(DBUtil.java:249)
    at oracle.sysman.emo.smap.TargetDownBean.initialize(TargetDownBean.java:89)
    at oracle.sysman.db.adm.inst.SitemapController.setRequestAttributes(SitemapController.java:1043)
    at oracle.sysman.db.adm.BaseController.handleEvent(BaseController.java:848)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
    at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:169)
    at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
    at oracle.sysman.eml.app.Console.doGet(Console.java:285)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:138)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:269)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    any ideas?
    thanks Wolfgang

    If you recovered only the database ensure that
    Database Name and Instance Name remains unchanged.
    Listener name and ports is the same
    Ensure they all services can start successfully. If not, recreate the services.
    If you recovered any other thing other than the database, ensure that you followed the correct recovery procedure for both the database and directory structures
    e.g
    Directory names and structures are recreated as before Crash
    Oracle and Agent Homes remain the same as before crash
    IP Address and Ports remain unchanged
    Then restart both the database and db control
    In short, the important thing is to keep all all before crash especially for DB Control to work immeiodiately.

Maybe you are looking for

  • Can't run multiple instances on same page!

    Hi, Since I got no response on the shadowbox forums after 2 weeks, I thought it's worth to post it here and hope someone can help me out. Note: This is also related on non-joomla pages. I've tested it on plain html as well (by Dreamweaver) and get th

  • Crystal Reports and Sharepoint Access Services Connectivity

    How do I establish a connection between Crystal Reports and an access database hosted on a Sharepoint Access Services site? I've searched the forums but can't find any guidance. Thanks in advance, Angela

  • CS6 Offline Downloader

    How to download cs6 master collection offline, coz downloading it through the download would take a longer time and that is not possible in my system. So any would be appricated to tell me how to download offline cs 6 master collection.

  • Enclosing Instances When Subclassing Inner Classes

    Hi, I need to subclass an inner class but when I write code for its constructor I get the error "an enclosing instance that contains at.MainHandler.innerClass is required". at.MainHandler is my outer class and my new class looks something like this:

  • Photoshop CS help needed

    Hello,I am an absolute beginner,I try to use Photoshop but I am not able to do it properly..I mean,I need (big)help....where can I get it?Thanks alot!