Monitor for State Change

Hello,
I am running SCOM 2012 R2 UR4.  Is it possible to setup a Windows Server monitor to notify me when the state change goes from Healthy to Critical?  I want to setup one alert to e-mail me regardless of the reason for the state change.

Hi,
Monitor only alert you once when the state changes and no further alerts will be triggered until the monitor normalize either by auto resolve or going back to the healthy state.
If an alert is required every time a state change, you will have to configure a custom alert rule.
Blog: http://theinfraguys.com
Follow me at Facebook
The Infra Guys Facebook Page
Please remember to click Mark as Answer on the answer if it helps you in anyway

Similar Messages

  • ACE Syslog message for State change

    Hi,
    Is there a syslog message for a state-change for rservers, if so how could we enable this?
    e.g. when probe fails state changes to 'probe-failed'
    when all probes are successful state is 'operational'
    Thank you
    Bilal

    Hi,
    There is a syslog message something like below:
    %ACE-3-251006: Health probe failed for server 10.80.10.10 on port 80 internal error: failed to setup a socket.
    First enable logging on ACE.
    ACE/Admin(config)# logging enable
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA1_7_/configuration/system/message/guide/config.html#wp1063750
    read the section:  Specifying Syslog Output Locations
    logging buffered 3 should generate syslog in event of probe failure.
    You can also set snmp to monitor it.
    cesRealServerStateChange
    CISCO-ENHANCED-
    SLB-MIB
    State of a real server configured in a server farm changed to a new  state as a result of something other than a user intervention. This  notification is sent for situations such as ARP failures, probe  failures, and so on.
    Hope that helps.
    regards,
    Ajay Kumar

  • Listening for file changes

    i have a properties file. I need to monitor for the changes to the file and send intimation to all the files using the properties file. How shall i do it with out modifying the files which are executing it. i.e i need to suspend the execution of the threads and reload the values.

    set up a File object that represents the props file.
       File f = new File ("propsFile");   On start up, note the lastModified() time
    In a low priority thread, keep polling the lastModified() method to check if the file has been reloaded.
    Set up an event handler mechanism to notify and call all interested objects that would want to take some action if and when the file's been modified.
    ram.

  • Is it possible to monitor State change of a .CSV file using powershell scripting ?

    Hi All,
    I just would like to know Is it possible to monitor State change of a .CSV file using powershell scripting ? We have SCOM tool which has that capability but there are some drawbacks in that for which we are not able to utilise that. So i would like
    to know is this possible using powershell.
    So if there is any number above 303 in the .CSV file then i need a email alert / notification for the same.
    Gautam.75801

    Hi Jrv,
    Thank you very much. I modified the above and it worked.
    Import-Csv C:\SCOM_Tasks\GCC2010Capacitymanagement\CapacityMgntData.csv | ?{$_.Mailboxes -gt 303} | Export-csv -path C:\SCOM_Tasks\Mbx_Above303.csv;
    Send-MailMessage -Attachments "C:\SCOM_Tasks\Mbx_Above303.csv" -To “[email protected]" -From “abc@xyz" -SMTPServer [email protected] -Subject “Mailboxex are above 303 in Exchange databases” -Body “Mailboxex are above 303 in Exchange databases" 
    Mailboxex - is the line which i want to monitor if the values there are above 303. And it will extract the lines with all above 303 to another CSV file and 2nd is a mail script to email me the same with the attachment of the 2nd extract.
    Gautam.75801

  • Callback for a state change on digital Input 6025E

    Hello All,
    I need to have a callback function invoked when a state change occurs on serveral digital inputs (interlocks, kill button etc.).
    I am using a PCI-6025E and traditional NI-DAQ. For test purposes I have connected the output P3.0 to the input P4.0 using a SCB-68
    terminal block and initialize the ports in the following manner:
    void initfunc()
    long nPattern;
    DIG_Prt_Config(1, 3, 0, 1); /* port 3 output */
    DIG_Prt_Config(1, 4, 0, 0); /* port 4 input */
    DIG_Out_Prt(1, 3, 0xff); /* set all outputs high */
    DIG_In_Prt(1, 4, &nPattern); /* returns 0xff */
    Config_DAQ_Event_Message (1, 1, "DI4", 8, 0xffff, 0xffff, 0, 0, 0, 0, 0, (unsigned long)(&myCallback)); /* callback on state change */
    Now later in my program I perform the following (again as a test) when a button is pushed on a dialog box.
    CDigioDlg:nKillBtn()
    DIG_Out_Line(1, 3, 0, 0);
    DIG_In_Prt(1, 4, &nPattern); /* returns 0xfe */
    My callback funtion never gets called on the state change. Now looking at the documentation for the Config_DAQ_Event_Message it says that
    it notifies traditional NI-DAQ applications when the status of an asynchronous DAQ operation (initiated by a call to DAQ_Start, DIG_Block_Out, WFM_Group_Control, and so on) meets certain criteria you specify.
    Eventually this routines will need to monitor these input lines continuously within a DLL. I want to call an initialization function within
    the DLL to configure the board and callbacks then return. I want the callback functions within the DLL to handle these state changes.
    Any help would be greatly appreciated,
    John

    Hello John. Thank you for contacting National Instruments. It looks like you are using the callback incorrectly. I found an example that uses the callback in Visual C++ with Traditional DAQ. This isn't the same setup as you are using, but it should give you a good idea of how to setup the callback. Please let me know if you have any questions. Have a great day!
    Marni S.
    National Instruments
    Attachments:
    DAQEvent3VC6.zip ‏5 KB

  • WebLogicServer BEA-000365 Server state changed to FORCE_SHUTTING_DOWN at the time of bi services starting for obiee

    Hi Gurus,
    I have integrated Hyperion 11.1.2.3 with obiee 11g. Able to see obiee in workspace and Shared services. But suddenly we restarted the server. After that obiee link not working. It is showing Internet explorer could not open the web page. I have tried to start the bi services but the prompt ends with this error msg.
    <Aug 14, 2013 9:26:44 AM MST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot id
    entity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot id
    entity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are enc
    rypted.>
    <Aug 14, 2013 9:26:44 AM MST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Auth
    entication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have
    been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first
    time the updated boot identity file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (bo
    ot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file wit
    h the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
            at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:959)
            at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
            at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
            at weblogic.security.SecurityService.start(SecurityService.java:141)
            at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
            Truncated. see log file for complete stacktrace
    Caused By: javax.security.auth.login.FailedLoginException: [Security:090303]Authentication Failed: User epm_admin weblogic.security.providers.authentication.LDA
    PAtnDelegateException: [Security:090295]caught unexpected exception
            at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:251)
            at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            Truncated. see log file for complete stacktrace
    >
    <Aug 14, 2013 9:26:44 AM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Aug 14, 2013 9:26:44 AM MST> <Error> <WebLogicServer> <BEA-000383> <A criticalservice failed. The server will shut itself down>
    <Aug 14, 2013 9:26:44 AM MST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    I have deleted password and username in boot.properties of Admin Server and bi_security1 folder but no use. Other option, i have deleted boot.properties then in the bi services prompt entered weblogic server username and password. Now also same issue.
    please help me, to resolve this issue.
    Thanks

    we need to change the Weblogic Username and Password which is saved in boot.properties file
    Thanks,
    Madhu

  • I am trying to do a blank composition widget, but it keeps ignoring my state changes for the trigger. How can I have my state changes still work for things placed in the trigger?

    So below is what I have so far. The menu is working perfectly, thanks to a few Youtube tutorials. And everything is linked correctly. But the only thing is that the "WORK" button doesn't respond to the state change that is set up for it. I tried applying the state change before I placed it in the trigger area, and after. Neither seems to make it work.
    The goal state change is basically that the text "WORK" will turn white, and the white space within the teal stroke will also turn teal. So, the colors will reverse. I have a link next to it, "ABOUT" that is currently successfully doing it. I guess if it's not possible then I will have to figure out another design..but I'd like to see if there is a way to do it!

    I believe you are trying to get a color state for composition when its active ? please publish the site and provide the url to have a look.
    Thanks,
    Sanjit

  • Change the background color for HToggleButton as State changed

    Hi , I want to change the background color of HToggleButton or HGraphicButton as its state changed as normal to focus and then focus to normal and same with actioned state .It is possible to change the image with different states but how can I do the same thing to change background color .I'll appreciate any help regarding this with thanks in adv.

    Satya,
    i_x denotes first column and not characctersitic 1.
    Also I am not sure if the check is to be for IS_SUM.
    Use Get_Cell_info class instance and then use the data returned by the same for checking IS_SUM and then change the cellstyle.
    Another thing to look out for is , the required change might be needed on DATA_CELL and notcharacteristic_cell.
    Arun
    Assigning points is a way of saying thank you on SDN

  • Agent state changed to reserved but call is not ringing/landing for 30 seconds

    Hi All,
    we have IPCC 8.5, CVP 8.5, UCM 8.5, last few weeks we are facing
    agents are facing intermittently, their state changed to reserved but call is not landing/ring for a while, and we have seen call is going to RONA in CVP logs.
    We have cross checked the Device Target (4 CVP servers) its fine, Queue music is interruptable.
    In Ingress/VXML gateway we have the dial-peer pointing to two subscribers with equal priority. Seems to be some call is not routing to agent phone (delay is there between voice gateway and ip phone) due to some reason. We dont use SIP proxy we use static routing to subscribers.
    Please share your ideas.
    with Regards,
    Manivanna                  

    In Ingress/VXML gateway we have the dial-peer pointing to two subscribers with equal priority.
    The gateway should point to the Call Servers. The Call Servers should have static routes to the subscribers.
    If the call is not getting to the agent even though they go into Reserved (the Call Router has selected them), ensure that the SIP trunks to the Call Servers and the agent phones are in compatible partitions/CSS. Examine the logs on the Call Server when the INVITE is sent to the agent phone. If the INVITE returns 404 (not found) or 503 (unavailable), then the setup is wrong.
    Regards,
    Geoff

  • Invalid request for a change in window state

    Ok...
    Creating a JSR168 portlet and it works fine in Pluto, but I get the following when I deploy to P7:
    ERROR: Content not available. REASONE: Invalid request for a change in window state
    Here is what the portlet is supposed to do:
    * Display a form
    * User clicks find
    * Lookup is performed
    * Window state in processAction() method of portlet is changed to MAXIMIZED
    * I'm guessing this is where the error is occuring
    I also think that for the TableContainer, I have some sort of attribute incorrect having to do with one of the channelsIs values.
    I tried toggling them one way or another without any effect.
    Suggestions?

    Ive run into this issue also. I need a way for a portlet to change to its maximized state for the purposes of user registration. Is there anyway this can be done? I know that sun jsp "Providers" which are shown on their example desktop, have some sort of maximized state that they can go into, but im not sure how to use this in a portlet.
    There seems to be very inconsistent support between the proprietary sun provider api, and the portlet api.

  • How to change max in "for" statement

    Hi, I am trying to set up a snow scene using the code below
    but I'd like to alter it so that it looks more natural... ie: a few
    flakes begin to fall, increasing as time progresses. Is there a way
    to increment the number used in the "for" statement while it's
    looping?

    I was inspired by your post and made this.... Hope it helps..
    Enjoy! :)
    http://www.albingraphics.com/snow.html

  • System monitor for awesome

    Im currently using awesome, its great except for one thing, there is no system monitor, like gnome-system-monitor for example. though I want something that dosent depend on gnome and displays remainning laptop battery time, aswell as mounted file systems, ram/cpu/network usage and a list of prosesses.

    Here's what I'm using with dwm - probably good for dzen as well:
    dwm-mystats.sh
    #!/bin/zsh
    # vim:ft=zsh ts=4
    # (c) 2007 by Robert Manea
    # Date format as recognized by standard system 'date'
    SDATE_FORMAT='%Y-%m-%d %H:%M'
    sdate() {
    date +${SDATE_FORMAT}
    sdfree() {
    print -n `df -h / /home` | awk '{verf1=$11; part1=$13; verf2=$17; part2=$19}; END {print "["part1"] -"verf1" [~] -"verf2}'
    smemused() {
    awk '/MemTotal/ {t=$2}; /MemFree/ {f=$2}; END {print t-f " " t}' /proc/meminfo | dbar -w 6 -s '='
    swapused() {
    awk '/SwapTotal/ {t=$2}; /SwapFree/ {f=$2}; END {print t-f " " t}' /proc/meminfo | dbar -w 6 -s '='
    sload() {
    print -n ${(@)$(</proc/loadavg)[1,3]}
    scpu() {
    vmstat | awk '/0/ {print 100-$15}' | dbar -w 6 -s '='
    snetabs() {
    local iface
    iface=`ifconfig | grep "Ethernet" | awk '{print $1}'`
    if [ $iface != "" ] ; then
    print -n "$iface: `mesure -l -i $iface -avK -c 2`||"
    fi
    snetbar() {
    mesure -aK -c 2 -l -i `ifconfig | grep "Ethernet" | awk '{print $1}'` | dbar -nonl -w 6 -s '=' -min 0 -max 270
    sac() {
    case `awk '{print $2}' /proc/acpi/ac_adapter/AC/state` in
    on-line)
    print -n "yep"
    print -n "no"
    esac
    sbatt() {
    local STATE
    STATE=`cat /proc/acpi/battery/BAT0/state /proc/acpi/battery/BAT0/info`
    case `echo $STATE | awk '/present:/{print $2}' - | tail -n 1` in
    no)
    print -n "no"
    echo $STATE | awk '/design capacity:/ {f=$3}; /remaining capacity:/ {r=$3}; END {print 100*r/f"%"}' -
    esac
    sgov() {
    < /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    sfreq() {
    awk '{print $1/1000}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
    stemp() {
    awk '{print $2}' /proc/acpi/thermal_zone/THRC/temperature
    supdates() {
    grep pkg.tar.gz /var/log/updates.log | wc -l
    # Main
    while true; do
    upd=$(supdates)
    if [ $upd = 0 ] ; then
    print " AC: $(sac) | Batt: $(sbatt) || $(sdfree) || CPU:$(scpu) ($(sload)) | $(sgov) / $(sfreq) MHz -> $(stemp)° || $(sdate)"
    else
    print " AC: $(sac) | Batt: $(sbatt) || $(sdfree) || CPU:$(scpu) ($(sload)) | $(sgov) / $(sfreq) MHz -> $(stemp)° || $upd UPD. || $(sdate)"
    fi
    # change polling frequency in AC/BATT mode
    case $(sac) in
    yep)
    sleep 8
    no)
    sleep 1m
    esac
    done
    You can play around a bit with the functions that get called/displayed in the main loop. It depends on zsh and makes use of this cronjob (in /etc/cron.hourly/pacsync):
    #!/bin/dash
    pacman -Syup --noprogressbar > /var/log/updates.log

  • How to find what are all the rules and events are monitoring for specific server in SCOM 2007

    how to find what are all the rules and events are monitoring for specific server in SCOM 2007.
    I need to know what are all the events, services, and rules are monitored for the specific server.
    Kindly help me friends.

    how to find what are all the rules and events are monitoring for specific server in SCOM 2007.
    I need to know what are all the events, services, and rules are monitored for the specific server.
    Kindly help me friends.
    Thanks for the question Sandoss. This is something that we all come across at sometime.
    Thanks & regards, Sumit Agrawal
    The lack of this feature is an inexcusable oversight for an enterprise management product.  They have some serious lightweights making design decisions on the SCOM team. 5 thumbs down. 
    BTW the answer is probably LOTS of stuff. Literally 100's of workflows are running on any server. 
    The following OpsMgr DB query will list all running monitors on a server. Change the name of @srv. I think this works pretty well.  I'd like some feedback if something is missing.
    DECLARE @srv varchar(30)
    SET @srv = 'your name here'
    SELECT mon.displayName as monitor, bme.FullName,bme.DisplayName as object,
    case
        when s.HealthState = 1 then 'healthy'
        when s.HealthState = 2 then 'Warning'
        when s.HealthState = 3 then 'Critical'
        else 'N/A'
    end as Health
    FROM state AS s WITH (NOLOCK)
    left join BaseManagedEntity as bme WITH (NOLOCK) on s.basemanagedentityid = bme.basemanagedentityid
    left join dbo.MonitorView Mon WITH (NOLOCK) on Mon.ID = s.monitorid
    where
    bme.FullName like '%' + @srv + '%'
    and s.HealthState <> 0
    and mon.IsInternalRollupMonitor = 0
    and mon.IsExternalRollupMonitor = 0
    order by bme.DisplayName, mon.displayName

  • Nexus 7010 bgp state change alert not triggered to NNM

    Hi ,
    BGP state change alert not triggered  to NNM on  Nexus -7010 for Monitoring.
    Details of the Device:
    Nexus 7010 :     
    Software
      BIOS:      version 3.22.0
      kickstart: version 5.1(3)
      system:    version 5.1(3)
    BGP neighbor status :
    Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
    172.16.1.2      4 65505 5089234 5194515    51359    0    0     6w2d 391
    172.16.1.3      4 65505 5044293 5146859    51359    0    0    30w4d 378
    172.31.11.3     4 15404  120744  114811    51359    0    0     1w6d 1
    172.31.42.3     4 65501 5261796 5264413    51359    0    0    2d06h 0
    Snmp trap enabled:
    snmp-server user admin network-admin auth md5 0x690c4ede8a88ba7f2de791dbe7a77f0a
    priv 0x690c4ede8a88ba7f2de791dbe7a77f0a localizedkey
    snmp-server host 172.30.0.55 traps version 2c xxxx
    snmp-server enable traps bgp
    Downloaded cisco-bgp4-mib version, bgp4-mib tried and performed snmpwalk  as given below
    nnmsnmpwalk.ovpl -c xxx 172.31.15.130 .1.3.6.1.4.1.9.9.187.0.6
    Error : No MIB objects contained under subtree
    nnmsnmpwalk.ovpl -v 2 -c xxx 172.31.15.130 .1.3.6.1.2.1.15.3.
    No MIB objects contained under subtree
    Kindly advise to resolve the issue
    Regards
    Hari

    You can set an alert for Warning State. This is feasible.
    Juke Chou
    TechNet Community Support

  • Custom Monitor Health State Troubleshooting Techniques

    Hi,
    I have created a Custom Timed Script 2-state Monitor through Ops Console in SCOM 2012 SP1 and the health state is misbehaving and remains Healthy always, even while the unhealthy expression should be evaluated as True.
    I have confirmed the monitor is targeted to class IIS FTP Server, as the monitor appears in Health Explorer for FTP Server and is displayed as enabled.
    I have used LogScriptEvent in the script to write an event of the results of the script on the agent and the value that will be passed back to the SCOM server, so I also know the script is executing and generating the correct results.
    The script returns a numeric value, either 0 or a positive value (ie. no negative value number).
    The healthy expression is = 0.  The unhealthy expression is > 0.
    The returned value represents the number of missing files and when it is for example 12, the health state is not changing to unhealthy and no alert is generated.
    I have updated the MP version and confirmed the agent receives the latest version.
    I have flushed the agent health state.
    I have reset and recalculated the monitor.
    I have reviewed agent and server event logs and do not see any related errors.
    I have used a simple alert description in case it itself had an error and was preventing a healthy state change.
    I have review the xml and see no issue. I updated the monitor xml manually to receive and compare the script value as an integer (instead of the default string type that the gui creates).
    I wish I knew how to see the results of the SCOM workflow that determines if a health state change is required.
    My next steps in the absence of a better action plan, is to reverse the healthy/unhealthy expressions to see what happens or recreate the MP from scratch.
    Any help would be greatly appreciated as I have been banging my head on this one!!

    Thanks for the response Andy.
    Actually, you are only partially correct. The returned value IS a string by default, however you CAN cast it as an Integer if you export the MP to xml, substitute value String with Integer, and reimport the MP.
    Root cause of the issue turned out to be a typo in the parameter syntax used in the health expression.
    It was an easy catch once I compared side-by-side a working monitoring against the unworking monitor.  Good example of how going too fast can actually slow you down :)
    Thanks again for taking the time to respond!

Maybe you are looking for

  • Problem with LIMIT in my query...

    I am sending this query with JSP to my Oracle database: SELECT pub, class, startdate, adtext FROM classifieds WHERE (pub='KWR') AND (startdate<='03-Jan-02') ORDER BY pub LIMIT 0, 25 I keep getting the error: "Exception=java.sql.SQLException: ORA-0093

  • ITunes Match on my iPhone shows songs that are not in iTunes on my Mac and PC.

    Yes, I know that deleting songs from iTunes does not necessarily mean they are deleted from iTunes Match, too. Not checking the box when deleting songs is definitely not why this is occurring, so hear me out. My Mac hosts my main iTunes library. What

  • Modify MWST (tax condition) value

    Dear All, I got requirement to modify the value of tax (condition type MWST in Sales Pricing procedure). Example: base value is 1000, --->tax 10% (automatic by SAP) is 100. However, I want to change this value to 120. Can I do that, please suggest wi

  • CSS styles disappear when previewed in browser.

    I created a web site following the Getting Started tutorials in Dreamweaver CS6.  However, when I preview in the browser, the main page shows properly but if i click a link, the other pages do not seem to attach to the style sheet - BUT the style she

  • Max Function doesn

    i have created a procedure in a form that return summary columns (count,max) and it is based in a view which is created containing 2 select statement. the problem is the max function doesn't return the max date in the first select statment in the For