Check alarm status using SNMP

Hi,
Is there a way to check if there is an active alarm on a cisco switch/router (M4900/4948 series and 2960 series) using SNMP ?
I'm looking for a simple quick way to verify if an alarm is active (any alarm)
is there some sort of general OID that gives me a '1' or '0' ?
thanks !
grtz
Thijs

Like a table that hold all alarms. No  there is no such thing.
There are so many reasons there could be an alarm. Hardware state, error rates, utilisation, etc
There are hardware state OID's that can give you a hardware component status.
Usually you will find that you have an OID for a component, like a fan.
1.3.6.1.4.1.9.9.13.1.4.1.3
You can then walk this OID to find the instances of that OID.
E.g, a fan for the device and another fan for the power supply, or a fan for each stack member.
When you know these instances lets say the walk return .1001and .2004 you can query
1.3.6.1.4.1.9.9.13.1.4.1.3.1001 and 1.3.6.1.4.1.9.9.13.1.4.1.3.2004.
The values returned can be:
Specific Object Information
Object
ciscoEnvMonFanState
OID
1.3.6.1.4.1.9.9.13.1.4.1.3
Type
CiscoEnvMonState
1:normal
2:warning
3:critical
4:shutdown
5:notPresent
6:notFunctioning
Permission
read-only
Status
current
MIB
CISCO-ENVMON-MIB ;   -   View Supporting Images
Description
The current state of the fan being instrumented.
So then you have an alarm for the fan's.
It is similar for other components like a power supply or temperature sensors, etc.
http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2&mibName=CISCO-ENVMON-MIB
And then there are operational alarms not related to hardware.
For this you need to monitor values like CPU utilization and define a threshold.
Good luck,
Michel

Similar Messages

  • Can I check NTP sync using SNMP ?

    Hi all
    Is it possible to check if a switch/router is properly synced to an NTP server using SNMP ?
    via CLI it's easy by issuing the 'show ntp status' or 'show ntp associations', but can i somehow check this via SNMP ?
    thanks !
    grtz
    thijs

    Hi Thijs,
    It looks like the MIB is not supported on your device IOS.
    Open the below link and click on "View Supported Images " to verify it.
    http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?objectInput=1.3.6.1.4.1.9.9.168.1.1.11&translate=Translate&submitValue=SUBMIT
    Hope it will help
    Thanks-
    Afroz
    ****Ratings Encourages Contributors ****

  • Use SNMP to monitor the power supply status of stacked switches

    Does anybody know how to use SNMP to monitor the status of the internal power supplies of a group of stacked Cisco 3750 switches?
    The switch stack has three 3750-48PS-E switches inter-connected by Cisco StackWise cable. IOS ver 12.1(19)EAlc. A single IP address is used to identify the switch stack. Every time I poll the OID chassisPs1Status (1.3.6.1.4.1.9.5.1.2.4.0 in CISCO-STACK-MIB), I only got the status for the Master switch of the switch stack. Is there any way to poll the power supply status of other switches in the switch stack?
    Thanks a lot!

    Sorry to refresh such an old topic - but I am stuck with exactly this: Monitoring power supplies of a stacked Cisco Catalyst 3750-E.
    I'm using the exact same OID's as described, but the problem is, the information shown on the SNMP output is not correct.
    This morning, a power supply of the first switch failed and switched to RPS. Here the information I got on SNMP:
    snmpwalk -v 2c -c public 192.168.1.50 1.3.6.1.4.1.9.9.13.1
    SNMPv2-SMI::enterprises.9.9.13.1.1.0 = INTEGER: 13
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.1006 = STRING: "SW#1, Sensor#1, GREEN "
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.2.2006 = STRING: "SW#2, Sensor#1, GREEN "
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.1006 = Gauge32: 41
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.3.2006 = Gauge32: 40
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.4.1006 = INTEGER: 59
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.4.2006 = INTEGER: 59
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.5.1006 = INTEGER: 0
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.5.2006 = INTEGER: 0
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.6.1006 = INTEGER: 1
    SNMPv2-SMI::enterprises.9.9.13.1.3.1.6.2006 = INTEGER: 1
    SNMPv2-SMI::enterprises.9.9.13.1.4.1.2.1060 = STRING: "Switch#1, Fan#1"
    SNMPv2-SMI::enterprises.9.9.13.1.4.1.2.2059 = STRING: "Switch#2, Fan#1"
    SNMPv2-SMI::enterprises.9.9.13.1.4.1.3.1060 = INTEGER: 1
    SNMPv2-SMI::enterprises.9.9.13.1.4.1.3.2059 = INTEGER: 1
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.1059 = STRING: "Sw1, PS1 Normal, RPS NotExist"
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.2060 = STRING: "Sw2, PS1 Normal, RPS NotExist"
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.3.1059 = INTEGER: 1
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.3.2060 = INTEGER: 1
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.4.1059 = INTEGER: 2
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.4.2060 = INTEGER: 2
    As you see, both PS1 (for both switches) are appearing normal. It doesn't even recognize RPS:
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.1059 = STRING: "Sw1, PS1 Normal, RPS NotExist"
    SNMPv2-SMI::enterprises.9.9.13.1.5.1.2.2060 = STRING: "Sw2, PS1 Normal, RPS NotExist"
    The first switch's power supply died and now the cable is disconnected. LED's of the power supply are out. And still: The switch happily announces by SNMP it's power supplies are up.
    Is this a known bug? If yes, has it been fixed?
    Model  WS-C3750E-48TD
    Firmware 12.2(37)SE1
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}

  • HT201303 Dear Customer Service: It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for  the card and it is still all good. My friends an

    Dear Customer Service:
    It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for
    the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
    We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Techcombank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
    Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
    Sincerely,
    <Edited by Host>

    Just as a warning, your credit card number has been sent in the clear to probably thousands of people, including anyone who subscribes to e-mail alerts to this forum.  That's very, very bad.  The credit card should be considered compromised at this point, and you should cancel it immediately, if you haven't done so already.

  • HT1725 My Visa account keeps getting declined at Apple.I used this very same Visa card on Amazon with no problem. I checked my status for the card and it is still all good. Please let me know as soon as possible

    My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
    We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Eximbank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
    Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
    Sincerely,
    <Personal Information Edited by Host>

    These are user-to-user forums, you are not talking to Apple here - I've asked the hosts to remove your credit card number from your post as these are public forums (you should consider getting a new card from your provider as you've posted it here).
    Your card is registered to exactly the same address (spacing and format) as is on your iTunes account ?You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Create VLAN on 3750 using SNMP

    I'm trying to create a VLAN on a 3750 using SNMP.  The document i've found is rather vague and from 2005.  Has anybody done this successfully and if so can you share the process?
    From what I understand you have to set the "vtpVlanEditOperation" to the desired mode but each time I set the integer to 2 for copy is get either bad security type or bad object type. Any help would be appreciated.
    Here are some commands i've tried.
    $ /usr/bin/snmpset -c {writeString} test 10.150.150.20 1.3.6.1.4.1.9.9.46.1.4.1.1.1 INTEGER 2
    10.150.150.20: Bad object type: 1
    $ /usr/bin/snmpset -c {writeString} 10.150.150.20 1.3.6.1.4.1.9.9.46.1.4.1.1.1 INTEGER 2
    snmpset: No securityName specified
    Thanks!

    Also, please check and verify the following in your steps:
    (a) The switch MUST be in a VTP domain with "server" mode. If the switch has client or other mode, it will not work. Check your "show vtp domain" command and see what your switch mode is in.   --> This is usually the problem in most cases
    (b) snmpset to build a mib table can be time sensitive. That is you need to wait.
    (c) Did you follow these steps:
     1. Destroy the row first:
    snmpset -c private 14.32.6.12 vtpVlanEditRowStatus.1.111 integer 6
    You should see something like:
    CISCO-VTP-MIB::vtpVlanEditRowStatus.1.111 = INTEGER: destroy(6)
     2. Set vtpVlanEditOperation to copy mode with an owner name:
    snmpset -c private 14.32.6.12 vtpVlanEditOperation.1 integer 2 vtpVlanEditBufferOwner.1 s "testvlan"
    You should see something like:
    CISCO-VTP-MIB::vtpVlanEditOperation.1 = INTEGER: copy(2)
    CISCO-VTP-MIB::vtpVlanEditBufferOwner.1 = STRING: "testvlan"
     3. Set the row status to createAndGo, and build the table. For VLAN 111, vtpVlanEditDot10Said is 111+100000=100111 which in hex is 0001870F:
    snmpset -c private 14.32.6.12 vtpVlanEditRowStatus.1.111 integer 4 vtpVlanEditType.1.111
    integer 1 vtpVlanEditName.1.111 s "testvlan-vlan" vtpVlanEditDot10Said.1.111 x 0001870F
    You should see something like:
    CISCO-VTP-MIB::vtpVlanEditRowStatus.1.111 = INTEGER: createAndGo(4)
    CISCO-VTP-MIB::vtpVlanEditType.1.111 = INTEGER: ethernet(1)
    CISCO-VTP-MIB::vtpVlanEditName.1.111 = STRING: testvlan-vlan
    CISCO-VTP-MIB::vtpVlanEditDot10Said.1.111 = Hex-STRING: 00 01 87 0F 
     4. Check the vtpVlanApplyStatus:
    snmpwalk -c public 14.32.6.12 vtpVlanApplyStatus
    You should see "succeeded(2)":
    CISCO-VTP-MIB::vtpVlanApplyStatus.1 = INTEGER: succeeded(2)
     5. Now set vtpVlanEditOperation to "apply" mode:
    snmpset -c private 14.32.6.12 vtpVlanEditOperation.1 integer 3
    You should see something like:
    CISCO-VTP-MIB::vtpVlanEditOperation.1 = INTEGER: apply(3)
     6. Now check the status again, and it should be still "succeeded(2)":
    snmpwalk -c public 14.32.6.12 vtpVlanApplyStatus
    CISCO-VTP-MIB::vtpVlanApplyStatus.1 = INTEGER: succeeded(2)
     7. Now check your switch with "show vlan" and you should see a new VLAN 111.
     8. Finally you can release the newly created VLAN 111:
    snmpset -c private 14.32.6.12 vtpVlanEditOperation.1 integer 4
    You should see something like:
    CISCO-VTP-MIB::vtpVlanEditOperation.1 = INTEGER: release(4)
    -Thanks
    Vinod
    **Encourage Contributors for free. RATE Them :) **

  • How to copy configuration files to and from the cisco ios routers that use SNMP

    Hello,
    I went on the page : https://supportforums.cisco.com/docs/DOC-1860
    You explain how to get a config file and send it to a tftp server or oppositely.
    I face this problem:
    id090365:~> snmpset -v2c -c communitystring hostipaddress .1.3.6.1.4.1.9.9.96.1.1.1.1.2.98 i 1
    Error in packet.
    Reason: noCreation (That table does not support row creation or that object can not ever be created)
    Failed object: SNMPv2-SMI::enterprises.9.9.96.1.1.1.1.2.98
    Do you have any idea?
    Thanks,
    Olivier

    I hadn't seen any snmp guides using snmpv3 and scp as transport protocol. For those looking to implement, here is what worked for me.
    As with the other snmp config copy guides you will need to download the respective MIBS and load them in the snmp.conf file.
    This post will specifically cover the snmpset commands for a v3 setup.
    SNMP Environment:
    Name        : net-snmp
    Version     : 5.7.2
    Release     : 17.fc20
    snmp conf file in ~/.snmp/snmp.conf
       contains
    defSecurityName XXX <- replace with v3 username
    defContext ""
    defAuthType SHA
    defPrivType AES
    defSecurityLevel authPriv
    defAuthPassphrase ***** <-replace with authentication pass
    defPrivPassphrase *****  <-replace with encryption pass
    defVersion 3
    showMibErrors no
    mibs ALL
    I would verify basic snmpv3 functionality with a snmpwalk of something simple like sysUpTime. When that's good proceed to the CONFIG-COPY snmp commands.
    This is my bash script that does the entire copy asking only for a single argument of IP/Hostname of the device being backed up. The 2>/dev/null shown in the script or at the cli below redirects STDERR to null to avoid the MIB modules parsing errors.
    #!/usr/bin/bash
    DEVICE=$1
    RANNUM=42
    USER=******
    PASS=******
    SERVER=X.X.X.X
    DATE=$(date +"%m_%d_%y")
    snmpset $DEVICE ccCopyProtocol.$RANNUM i 4 ccCopySourceFileType.$RANNUM i 4 ccCopyDestFileType.$RANNUM i 1 ccCopyServerAddress.$RANNUM a "$SERVER" ccCopyFileName.$RANNUM s "$DEVICE.$DATE" ccCopyUserName.$RANNUM s $USER ccCopyUserPassword.$RANNUM s $PASS ccCopyEntryRowStatus.$RANNUM i 4 2>/dev/null
    Once run you can check the status of the copy with the following command.
    [root@localhost hlsb]# snmpwalk sbs-tech-switch ciscoConfigCopyMIB 2>/dev/null
    CISCO-CONFIG-COPY-MIB::ccCopyProtocol.42 = INTEGER: scp(4)
    CISCO-CONFIG-COPY-MIB::ccCopySourceFileType.42 = INTEGER: runningConfig(4)
    CISCO-CONFIG-COPY-MIB::ccCopyDestFileType.42 = INTEGER: networkFile(1)
    CISCO-CONFIG-COPY-MIB::ccCopyServerAddress.42 = IpAddress: 10.10.10.193
    CISCO-CONFIG-COPY-MIB::ccCopyFileName.42 = STRING: sbs-tech-switch.07_09_14
    CISCO-CONFIG-COPY-MIB::ccCopyUserName.42 = STRING: XXXX
    CISCO-CONFIG-COPY-MIB::ccCopyUserPassword.42 = STRING: XXXX
    CISCO-CONFIG-COPY-MIB::ccCopyNotificationOnCompletion.42 = INTEGER: false(2)
    CISCO-CONFIG-COPY-MIB::ccCopyState.42 = INTEGER: successful(3)
    CISCO-CONFIG-COPY-MIB::ccCopyTimeStarted.42 = Timeticks: (52270199) 6 days, 1:11:41.99
    CISCO-CONFIG-COPY-MIB::ccCopyTimeCompleted.42 = Timeticks: (52270339) 6 days, 1:11:43.39
    CISCO-CONFIG-COPY-MIB::ccCopyEntryRowStatus.42 = INTEGER: active(1)
    CISCO-CONFIG-COPY-MIB::ccCopyServerAddressType.42 = INTEGER: ipv4(1)
    CISCO-CONFIG-COPY-MIB::ccCopyServerAddressRev1.42 = STRING: "10.10.10.193"
    After the successful copy completes the entry will exist for five minutes allowing for no further requests to be made with that particular random number. To send another request prior to the five minute clearing of the table send a "destroy" snmpset to clear the entry.
    [root@localhost hlse]# snmpset sbs-tech-switch CISCO-CONFIG-COPY-MIB::ccCopyEntryRowStatus.42 i 6 2>/dev/null
    CISCO-CONFIG-COPY-MIB::ccCopyEntryRowStatus.42 = INTEGER: destroy(6)
    Hope this will save some time for those looking to implement a more secure snmp config copy setup.
    V/R
    Cody Hartley

  • EPICS alarm status is incorrect

    I am using LV2010SP1 with the DSC module and EPICS Server/Client. I have used EPICS in DSC before, but only for passing values. Now I am interested in alarms and alarm status and I am getting strange results. I have attached a zip file with  a project that illustrates the problem. The server publishes a single integer, and in DSC I enabled alarms with the default thresholds: below 10 is LOLO, 10-25 is LOW, 25-75 is NO_ALARM, 75-90 is HIGH and above 90 is HIHI. When I run the server and look at the values of the shared variable and the EPICS Server variable using Distributed Server Manager then everything looks good. On the client side, though, the alarm status readings are messed up. The status changes at the correct levels, but the status reads wrong. LOLO shows up as STATE, LOW shows up as COS, HIGH shows up as LOW and HIHI shows up as LOLO! STATE and COS are not even legitimate options for status. Here is a screen shot of the Distributed System Manager display. Has anyone else encountered this problem? I have tried Int16 and Int32 with the same results. I will try DBL next, but eventually I need this to work for integers.
    Rich
    Attachments:
    EPICS Alarms.zip ‏19 KB

    Rich:
    So, it turns out that COS and STATE are valid values for the STAT field in EPICS, but they definitely don't make sense for the alarm states of the bound shared variables.
    (Brief mention of some of the STAT field values can be found on aps.anl.gov here)
    I've filed this under Corrective Action Request (CAR) #297362 with R&D. In the meantime, is it possible to use the server's STAT value (instead of the client's) as a workaround?
    Caleb Harris
    National Instruments | Mechanical Engineer | http://www.ni.com/support

  • WCS Alarm Status shows green but LAP is unplugged ?! Oper Staus shows Down

    Hello,
    we are operating a Cisco WLAN environment with 1242 and 1131 LAP. Some of them have been converted from AP to LAP.
    Now we took some LAP off the wall.
    They are now packed in a box in our storage room.
    But the WCS is showing a green Alarm Status for these LAP and as Oper Status Down.
    How can that be ?
    Is there a way to fix this problem, because we want to see the Alarm Status in Red.
    Thx for all your input.
    Best Regards
    Christian

    This is very interesting. If I try to put myself in the WCS developer's shoes, I think:
    - if you get an alarm for missing AP, then acknowledge the alarm, WCS has no reason to re-display the same alarm. This is precisely what Acknowledge is for, to say "don't bother me with this issue anymore".
    - Even if you manually remove the AP from WCS, it clearly keeps some memory of it, at least for a while. This is something you can clearly see if you run a report of any kind, WCS has to keep track of objects even if you remove them.
    My suggestion would be:
    - Unacknowledge the alarm, then delete it... acknowledging an alarm is probably not the best way to deal with removing an AP. You would use Aknowledge for alarms such as "your neighbour AP keep being detected as rogue, you can't remove your neighbour AP but don't want to hear about this warning anymore." You acknowledge the alarm, WCS keeps it in its database and remembers NOT to bother you with it anymore (exactly what happens in your case).
    For an AP you remove, I would not acknowledge the alarm, but simply delete it after having removed the AP. This removes the alarm from the WCS database.
    If you ever re-plug this AP to the network, WCS may remember it, but any new alarm about it will display.
    Hope it helps
    Jerome

  • Alarm status drawing iow: recolour JInternalFrame components

    Greetings,
    Please have a look at this picture. It's a low res snapshot of
    a few quite complicated components. Most of the functionality isn't
    visible nor relevant in the example. What you're looking at is a real time
    process of some sort. Things can go wrong in that process. In a previous
    version of my views I'd turn the background colour of some components
    red/yellow/green according to the 'alarm status' of the process. One of
    my customers suggested the idea of turning everything red/yellow/green
    inside those JInternalFrames (that's what you're looking at in the example).
    Of course one fool can ask more than a dozen of wise men can answer
    and I am not that wise, so my question is: how would one change the
    colour of all components that are part of a JInternalFrame (or any
    other container) such that the colour wouldn't be 100% opague but
    still visible by itself and still showing the information originally present
    in each individual component. iow, as if a transparent monochrome
    filter were positioned in front of that entire JContainer.
    In a naive way I like the idea; if the idea turns out to be too complicated
    to realize I'd be happy with visual alternatives also. (such as big arrows
    pointing to the JContainer where the alarm happened).
    Note that these appliations run in a 'factory' environment where people
    either hardly watch the screens or they watch them at quite a great
    distance. The changing colours should just attract their attention so they
    will walk/run/drive/ride to the screens for a second inspection.
    Any ideas are appreciated.
    kind regards,
    Jos

    Not sure I understand the question, but I keyed in on:
    as if a transparent monochrome filter were positioned in front of that entire JContainer.So maybe you could use a GlassPane:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class GlassPaneTest extends JFrame
        public GlassPaneTest()
            final JComponent glassPane = new JComponent()
                public void paintComponent(Graphics g)
                    g.setColor( getBackground() );
                    g.fillRect(0, 0, getSize().width, getSize().height);
            glassPane.setOpaque( false );
            glassPane.setBackground( new Color(240, 20, 20, 100) );
            setGlassPane( glassPane );
            glassPane.addKeyListener( new KeyAdapter()
                public void keyPressed(KeyEvent e)
                    e.consume();
            glassPane.addMouseListener( new MouseAdapter()
                public void mousePressed(MouseEvent e)
                    e.consume();
            final JButton button = new JButton( "Click Me" );
            button.setMnemonic('c');
            button.addActionListener( new ActionListener()
                public void actionPerformed(ActionEvent e)
                       glassPane.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                       glassPane.setVisible( true );
                       glassPane.requestFocus();
                       Thread thread = new Thread()
                            public void run()
                                try { this.sleep(5000); }
                                catch (InterruptedException ie) {}
                                 glassPane.setVisible( false );
                                 glassPane.setCursor(null);
                    thread.start();
            getContentPane().add(new JLabel("NORTH"), BorderLayout.NORTH );
            getContentPane().add( button );
            getContentPane().add(new JTextField(), BorderLayout.SOUTH);
        public static void main(String[] args)
            GlassPaneTest frame = new GlassPaneTest();
            frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
            frame.setSize(300, 300);
            frame.setLocationRelativeTo( null );
            frame.setVisible(true);
    }The Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html]How to Use Glass Panes shows how you can also do a simple drawing (your arrow?) on the glass pane.

  • Error while checking the status of Oracle Cluster ware

    Hi
    I was trying to install the database using dbca after setting up the grid and database software on LINUX x86-64 RHEL 5.7 machine. The database software version is 11.2.0.3. It throwing the error regarding the connectivity of clusterware. So I checked the status of clusterware.
    -bash-3.2$ ./crsctl stat res -t
    CRS-4535: Cannot communicate with Cluster Ready Services
    CRS-4000: Command Status failed, or completed with errors.
    -bash-3.2$
    But when I ran below one:
    -bash-3.2$ ./crsctl stat res -t -init
    NAME TARGET STATE SERVER STATE_DETAILS
    Cluster Resources
    ora.asm
    1 ONLINE ONLINE sfv9699 Started
    ora.cluster_interconnect.haip
    1 ONLINE ONLINE sfv9699
    ora.crf
    1 ONLINE ONLINE sfv9699
    ora.crsd
    1 ONLINE OFFLINE
    ora.cssd
    1 ONLINE ONLINE sfv9699
    ora.cssdmonitor
    1 ONLINE ONLINE sfv9699
    ora.ctssd
    1 ONLINE ONLINE sfv9699 OBSERVER
    ora.diskmon
    1 OFFLINE OFFLINE
    ora.drivers.acfs
    1 ONLINE ONLINE sfv9699
    ora.evmd
    1 ONLINE INTERMEDIATE sfv9699
    ora.gipcd
    1 ONLINE ONLINE sfv9699
    ora.gpnpd
    1 ONLINE ONLINE sfv9699
    ora.mdnsd
    1 ONLINE ONLINE sfv9699
    So i saw that the crsd having some issue. I checked the alert log and crsd log. Below are the output.
    Alert <server_name>.log
    2012-10-20 15:37:51.408
    [ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
    2012-10-20 15:37:52.968
    [crsd(5188)]CRS-1013:The OCR location in an ASM disk group is inaccessible. Details in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
    2012-10-20 15:37:52.984
    [crsd(5188)]CRS-0804:Cluster Ready Service aborted due to Oracle Cluster Registry error [PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    ]. Details at (:CRSD00111:) in /oracle2/app/11.2.0/grid/log/sfv9699/crsd/crsd.log.
    2012-10-20 15:37:53.471
    [ohasd(3694)]CRS-2765:Resource 'ora.crsd' has failed on server 'sfv9699'.
    2012-10-20 15:37:53.472
    [ohasd(3694)]CRS-2771:Maximum restart attempts reached for resource 'ora.crsd'; will not restart.
    CRSD.log
    2012-10-20 15:37:52.456: [ CRSMAIN][3563381328] Checking the OCR device
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Sync-up with OCR
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Connecting to the CSS Daemon
    2012-10-20 15:37:52.457: [ CRSMAIN][3563381328] Getting local node number
    2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
    [   CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
    2012-10-20 15:37:52.897: [  OCRASM][3563381328]proprasmo: Error in open/create file in dg [DATA]
    [  OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
    2012-10-20 15:37:52.898: [  OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.967: [  OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
    2012-10-20 15:37:52.967: [  OCRASM][3563381328]proprasmo: The ASM instance is down
    2012-10-20 15:37:52.968: [  OCRRAW][3563381328]proprioo: Failed to open [+DATA]. Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2012-10-20 15:37:52.968: [  OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
    2012-10-20 15:37:52.968: [  OCRASM][3563381328]proprasmcl: asmhandle is NULL
    2012-10-20 15:37:52.969: [    GIPC][3563381328] gipcCheckInitialization: possible incompatible non-threaded init from [prom.c : 690], original from [clsss.c : 5326]
    2012-10-20 15:37:52.975: [ default][3563381328]clsvactversion:4: Retrieving Active Version from local storage.
    2012-10-20 15:37:52.978: [ CSSCLNT][3563381328]clssgsgrppubdata: group (ocr_SFV9699-cluster) not found
    2012-10-20 15:37:52.978: [  OCRRAW][3563381328]proprio_repairconf: Failed to retrieve the group public data. CSS ret code [20]
    2012-10-20 15:37:52.981: [  OCRRAW][3563381328]proprioo: Failed to auto repair the OCR configuration.
    2012-10-20 15:37:52.981: [  OCRRAW][3563381328]proprinit: Could not open raw device
    2012-10-20 15:37:52.981: [  OCRASM][3563381328]proprasmcl: asmhandle is NULL
    2012-10-20 15:37:52.983: [  OCRAPI][3563381328]a_init:16!: Backend init unsuccessful : [26]
    2012-10-20 15:37:52.984: [  CRSOCR][3563381328] OCR context init failure. Error: PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.984: [ CRSMAIN][3563381328] Created alert : (:CRSD00111:) : Could not init OCR, error: PROC-26: Error while accessing the physical storage
    ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.984: [    CRSD][3563381328][PANIC] CRSD exiting: Could not init OCR, code: 26
    2012-10-20 15:37:52.984: [    CRSD][3563381328] Done.
    =======================
    I see in the above log that saying ASM instance is down and failed to open +DATA .
    But the asm instance up and running
    SQL> select instance_name,status from v$instance;
    INSTANCE_NAME STATUS
    +ASM1            STARTED
    And we havent created any disk named DATA before the installation. We have created only below two disks
    SQL> select name,header_status from v$asm_disk;
    NAME HEADER_STATUS
    ASM_DATA MEMBER
    FLASH_RECOVERY MEMBER
    But I am seeing a diskgroup in the v$asm_diskgroup which we havent created.
    SQL> select name,state from v$asm_diskgroup;
    NAME STATE
    DATA MOUNTED
    Ya this is a second time installtion. In the first installtion we created the asmdisk as DATA. But later everything (RAW device ) was formatted and this new disks has been created and installtion again started
    [root@SFV9699 bin]# oracleasm listdisks
    ASM_DATA
    FLASH_RECOVERY
    Seems like its trying to read the old disk DATA.
    we have done asmscanning too with oracleasm scan disks. but no use.
    Where I can remove the old entry of DATA disk.
    It would be a great if a quick response get.
    Thanks
    SHIYAS M

    The permission looks fine. If it was permission issue then y it is trying to read the DATA disk which I havent created this time at all ( But created in the first installation).
    2012-10-20 15:37:52.459: [ CRSMAIN][3563381328] Initializing OCR
    [ CLWAL][3563381328]clsw_Initialize: OLR initlevel [70000]
    2012-10-20 15:37:52.897: [ OCRASM][3563381328]proprasmo: *Error in open/create file in dg [DATA]*[ OCRASM][3563381328]SLOS : SLOS: cat=7, opn=kgfoAl06, dep=27140, loc=kgfokge
    2012-10-20 15:37:52.898: [ OCRASM][3563381328]ASM Error Stack : ORA-27140: attach to post/wait facility failed
    ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
    ORA-27301: OS failure message: Operation not permitted
    ORA-27302: failure occurred at: skgpwinit6
    ORA-27303: additional information: startup egid = 1000 (oinstall), current egid = 10002 (dba)
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: kgfoCheckMount returned [7]
    2012-10-20 15:37:52.967: [ OCRASM][3563381328]proprasmo: The ASM instance is down
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: *Failed to open [+DATA].* Returned proprasmo() with [26]. Marking location as UNAVAILABLE.
    2012-10-20 15:37:52.968: [ OCRRAW][3563381328]proprioo: No OCR/OLR devices are usable
    2012-10-20 15:37:52.968: [ OCRASM][3563381328]proprasmcl: asmhandle is NULL
    The only disks created are
    [root@SFV9699 dev]# oracleasm listdisks
    ASM_DATA
    FLASH_RECOVERY
    And these disks are showing part of that group also.. Not quite sure how this happened..
    what abt dropping this group.. will anything work.

  • Checking the status of task records tied to the custom object 3

    We are using custom object 3
    There has been lot of configuration work done on this object.
    There is a checkbox on the UI. When a user will checks off the check box, a task record(s) is created depending on the condition.
    Is there a way for me to check the status on the task records and then set a field on the parent record i.e. custom object 3.
    Thanks,
    Nitika

    To whom are you speaking?

  • LabVIEW DSC: How to get alarm status from the area?

    Colleagues,
    I have, lets say, 50 Shared Variables where alarming enabled. Some of these variables assigned to area, so I can get status of the entire area or acknowledge an entire area of alarms (prior to version 8.x there was groups of the tags).
    Now I would like to get alarm status from the entire area. How can I do it?
    In version 6 I was able to wire tag group to Get Alarm Summary Status. Now, in version 8, Alarm Status.vi can be wired to the array of the variables, but not to area. Is it possible to get all variables from the area?
    regards,
    Andrey.

    I am not sure if I should be posting my problem under this particular topic. I am having trouble understanding acknowledge alarm vi and what this vi is supposed to do is not clear to me yet.
    I have around 300 shared variables in my project and I have created a particular vi just to view the alarms that may pop up during runs. I created a main menu and this alarm vi can be accessed upon a button click in the main menu. Users get alarm alert based on sound configuration. Then he can navigate to the alarm vi and acknowledge the alarm. The alarm vi only contains alarm and event display found under DSC module.
    The problem is everytime I click the alarm button in the main menu, it takes around 2 minutes for the alarm vi to update which is very annoying and unsatisfactory in the middle of run. I am not sure why it happens and I haven't got any response from support yet. These shared variables are managed under 10 different library files that are set up based on different loops of the process (flow, pressure and so on).
    Then I looked into three alarm examples that ship with DSC module. None of these examples use acknowledge alarm vi. I implemented another vi similar to alarm demo vi in that example - containing multicolumn listbox. I created acknowledge event containing acknowledge button and used the acknowledge alarm vi under this event. Read vi alarm is under timeout event.
    When I click the acknowledge button  as soon as I see the alarm in multicolumn listbox, nothing happens - the color of font does not get changed to purple neither any alarms get acknowledged. I tried to aknowledge alarm by variable name or  alarms or alarm area, it does not give me anything. What is this acknowledge alarm supposed to do? I tried to find examples everywhere in the web that uses this particular vi and haven't found one yet. 

  • I am having touble logging alarm status in labview

    I have written a vi that reads information from to data aquisition boards and compiles the info into a 1d boolean array(1x16) for its analog inputs and a 2d boolean array(9x23)for its digital inputs, I use a for loop and a case structure to index the arrays and return an alarm text if any of the booleans go HI. I want to display the alarm text on the front screen for each alarm that is Hi as well as save to disk and print. I have too small problems with my vi. Any alarms after the first one overwrite previouse alarm instead of adding to the current alarms, as well alarms continusly update making it impossible to save them as it would save every time the program cycles, I guess what I am asking is the
    re any way for the alarm status to be updated with each new alarm only and not updating untill it finds another change of state.
    thank you for any help or ideas
    drw

    For the alarm output, you can use shift registers and replace values if an alarm goes HI, letting the array pass trough if not. This way, only data passing to HI will write to the output, and won't overwrite it. You can save data everytime a bool goes high, so that only this makes data be saved. Attached there's a vi that gives some idea of what i mean.
    Hope this helps
    Attachments:
    alarm.llb ‏46 KB

  • View alarm status of shared variable

    Hello:
    I need to know the alarm status (I mean, if the shared variable is currently alarmed) of some shared variables hosted in a Compact Fieldpoint Controller.
    I've seached for options on how to do this (like searching for a property through a property node of the SharedVariableIO class) but haven't found a succesful method to do it.
    Anybody knows how to do that?
    Thanks in advance!
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

      Hola Robst, para ver las propiedades de una variable lo que necesitas hacer es habilitar el porperty node para que acepte como entradas las constantes de Variables Compartidas. Para que property node acepte esta referencia como entrada tienes que decirle que en clase es una variable compartida. Para seleccionar la clase da clic derecho sobre el nodo, y ahí aparece en el menu class. Después selecciona Shared Variable. Una vez que tengas la Shared Variable vas a tener todas las propiedades, sin embargo aquí no hay una propiedad que diga si está o no activa la alarma este nodo más bien te permite saber la configuración de la alarma y modificarla.
    Aquí hay tres opciones sencillas para sacar esto. La primera es utiliza solo una variable y conectala al Read Alarms, o Alarm Status a partir de aquí puedes saber si existe o no alarmas.
    Con el de Read Alarms si el arreglo regresa vacio es que no hay alarmas. Con el de alarm Status hay una elemento del Cluster que te indica que si hay alguna alarma.
    Ahora otra opción es utilizar Read Alarms y de ahí extraer cuales son las alarmas.
    Saludos
    Message Edited by BeCeGa on 12-18-2008 05:43 PM
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD
    Attachments:
    Alarmas2.PNG ‏21 KB
    Alarms Variables.vi ‏22 KB

Maybe you are looking for

  • Downloading/Installing Adobe Photoshop Elements 10 and Adobe Premiere Elements 10

    I have tried multiple times to download this program.  It came with 5 discs.  I have downloaded the first disc and when I go to do the second one it wants me to uninstall the first disc.  How can I install all 5 discs?  I'm downloading on Windows Vis

  • BUG: Nokia Messaging launches browser when message...

    When opening an email containing a link to a web page, the program fires the web browser holding the first link in the message. Possible do dosable this? Every time I open an email I have to wait for the browser to launch and then quit. Very annoying

  • "No audio device" in Windows 7 !

    + ? Well, I use winXP-Pro in dual-boot with Win7-Build 700, both 32bits, and I get an Audigy SE that works great in XP. Although, in Win 7? there?s no sound device, "No audio devices are installed" error, and no-sound icons in Device Manager. Tried?t

  • Direct load with Force Logging enable

    Hi All, I have a dataguard environment with one physical standby database, I have to load a big flat file with close to 50Millions records using sqlldr. can i use direct=true in sqlldr,with force logging enabled on primary? or they is any other way t

  • Why no Save As?

    Apparently you have to be nice!   So any discussion of why Apple would remove the most common function of all word processors in the world, is not permitted. Let's be NICE then.... this is a common fuction that has been removed and it is costing my c