Monitoring whether Database and Listener are running or not?

Hi,
We have around 50 databases which we manage. Those databases have some alerts which send emails if the tablespaces are below 80% threashold levels.
However, we dont have any alert either if the database is down or if listener is down. Most of the databases are either on sun solaris or on AIX running either oracle 9i or oracle 10G.
I am going through the source code of the scripts already in place. can someone direct me
on how we can monitor whether the database is up and running and whether the given listener is running or not?
Thank you.
Giridhar

You have many databases on many machines. I think you should use Oracle grid,that help you to manage and monitor your databases.
Anyway you need to monitor listener and database only and free....
You can find out open source on internet to help you.
Example: nagios, that can help .... monitor database + listener....

Similar Messages

  • Starting of database and listener automatically while starting server

    how to start the listener and database automatically while starting RH-LINUX server itself?
    thanks for advance
    Mohan

    Hello Mohan,
    following is the code of my shell, which i use for starting, stopping, restarting teh oracle and listener service, except your oracle home location and oracle user i do not think you need to change any thing..also i assume that you some basic knowledge of shell programming.
    put this /etc/rc.d/init.d, then add this service by chkconfig -- add oracle (if oracle is the file name in whcih this shell exists).
    it will run for 3,4,5 of runlevels with priority as 20, 80
    thanx in advance..subodh
    #!/bin/sh
    # Description: This Scripts starts stops Oracle database and listner
    # chkconfig: - 345 20 80
    ORACLE_OWNR='oracle'
    ORACLE_LOCN='/oracle/product/10.1.0/bin'
    echo "Check whethere the file exists or not"
    if [ ! -f '$ORACLE_LOCN/lsnrctl' -o ! -d $ORACLE_LOCN ]; then
    echo "Unable to Start the Oracle Service"
    fi
    case "$1" in
    start)
    echo "Starting up Oracle Database and Listener Service"
    su - $ORACLE_OWNR -c "$ORACLE_LOCN/dbstart"
    su - $ORACLE_OWNR -c "$ORACLE_LOCN/lsnrctl start"
    touch /var/log/oracle
    stop)
    echo "Stoping Oracle Database and Listener Service"
    su - $ORACLE_OWNR -c "$ORACLE_LOCN/dbshut"
    su - $ORACLE_OWNR -c "$ORACLE_LOCN/lsnrctl stop"
    touch /var/log/oracle
    restart|reload)
    echo "Restarting Oracle Database and Listener Service"
    $0 stop
    $0 start
    echo "Usuage Oracle start|stop|restart|reload"
    exit 1
    esac
    exit 0

  • HT204291 Airplay mirroring. Macbook 2012 retina display. Unable to see desktop on television, audio works perfectly. Both OS on ATV and Mac are running latest versions

    Airplay mirroring.
    Macbook 2012 retina display. Unable to see desktop on television, audio works perfectly. Both OS on ATV and Mac are running latest versions.
    Firewall set correctly (allow incoming...)
    When I click mirroring to turn it on, teh Apple TV screen goes blank (from its home setting)
    Any help appreciated.

    Hi!
    I figured it out! It was a firewall issue.
    I use Handsoff and I checked it before i wrote here. There was no "user defined rule" that denied the communication but when i changed to "All rules" the program displayed several rules regarding AppleTV and its IP.
    So if anybody has the same problem make sure you see all rules of your firewall and get rid of the AppleTV related rules generated by the program itself. You dont need to update to the latest iOS on the AppleTV!
    I hope that I can help some people with this info to fix the problem.

  • Operating OS X on MacBook use a wired 4G hotspot and both Chrome and Safari are running sluggish, freezing machine, and even pop-ups ask to Kill or Wait. i wait. Have tried the Utility Permission Verified and Permission Repair and actually got worse.  ??

    operating OS X on MacBook use a wired 4G hotspot and both Chrome and Safari are running sluggish, freezing machine, and even pop-ups ask to Kill or Wait. i wait. Have tried the Utility Permission Verified and Permission Repair and actually got worse.  ?? 
    If I install OS X Maverick with its fixes will this fix the problem??
    HELP

    Mac OS X ver 10.6.8 Processor 2 GHz Intel Core 2 Duo , Memory 2 FB 1067 MHz DDR3, Startup Disc OS X HDD , No DVD available, Not removing Chrome - run entire business on 5 gmail accounts and operations.
    L2 Cache:          3 MB
      Memory:          2 GB
      Bus Speed:          1.07 GHz
      Boot ROM Version:          MB51.007D.B03
    FUJITSU MHZ2160BH FFS G1:
      Capacity:          160.04 GB (160,041,885,696 bytes)
      Model:          FUJITSU MHZ2160BH FFS G1               
      Revision:          0081008C
      Serial Number:                  K64JT8928554
      Native Command Queuing:          Yes
      Queue Depth:          32
      Removable Media:          No
      Detachable Drive:          No
      BSD Name:          disk0
      Medium Type:          Rotational
      Partition Map Type:          GPT (GUID Partition Table)
      S.M.A.R.T. status:          Verified
      Volumes:
      Capacity:          209.7 MB (209,715,200 bytes)
      Writable:          Yes
      BSD Name:          disk0s1
    OS X HDD:
      Capacity:          125.63 GB (125,627,793,408 bytes)
      Available:          55.99 GB (55,987,331,072 bytes)
      Writable:          Yes
      File System:          Journaled HFS+
      BSD Name:          disk0s2
      Mount Point:          /
    BOOTCAMP:
      Capacity:          34.07 GB (34,068,234,240 bytes)
      Available:          6.58 GB (6,580,842,496 bytes)
      Writable:          No
      File System:          NTFS
      BSD Name:          disk0s3
      Mount Point:          /Volumes/BOOTCAMP
    This is a friends computer and I do not have access to apple codes, or how this system works.

  • IDoc error "customer  and sales area : GR could not be uniquely determined"

    Hi All,
    While posting some IDocs i am getting error customer  and sales area : GR could not be uniquely determined even when entries are available in EDSDC table.
    Please assist.

    Double check your entries. Once I ended up even sending a message to SAP and turned out there was a simple typo in the table.
    Also since you're saying "some IDocs" - check how exactly they are different from those that don't have this error.

  • EKM using the Azure Key Vault is now available for SQL Database and SQL Server running in Azure VM's

    In preview today, you can create keys in the Azure Key Vault, and use them with Azure SQL Database, or SQL Server running in a Azure VM. Use the Extensible Key Management (EKM) for TDE, backup encryption, or cell level encryption. For more information, see
    Extensible Key Management Using Azure Key Vault (SQL Server)
    http://msdn.microsoft.com/en-us/library/dn198405.aspx.
    The announcement:
    Azure Key Vault in public preview
    Key Vault offers an easy, cost-effective way to safeguard keys and other sensitive data used by cloud applications and services. Included are the following features:
    Enhance data protection and compliance:
    Protect cryptographic keys and sensitive data   like passwords with keys stored in Hardware Security Modules (HSMs). For   added assurance, import or generate your keys in HSMs certified to FIPS 140-2   level 2 and Common Criteria EAL4 standards,
    so that keys stay within the HSM   boundary. Key Vault is designed so that Microsoft doesn’t see or extract your   keys.
    All the control, none of the work:
    Provision new vaults and keys in minutes   and centrally manage keys, sensitive data, and policies. You maintain control   over your encrypted data—simply grant permission for your own and third-party   applications to use keys as needed. Enable
    developers to easily manage keys   used for dev/test and migrate seamlessly to production keys managed by   security operations.
    Boost performance and achieve global scale: Improve
    performance and reduce latency of   cloud applications by storing cryptographic keys in the cloud (versus   on-premises). Key Vault rapidly scales to meet the cryptographic needs of   your cloud applications and match peak demand.
    Get started with Azure Key Vault by creating keys for applications you develop,
    SQL Server encryption (TDE, CLE, and Backup), and partner solutions like
    CloudLink SecureVM.
    Key Vault is available now at no charge with discounted preview pricing starting on January 15, 2015.
    For more information, please visit the
    Key Vault webpage. For a comprehensive look at pricing, please visit the
    Key Vault Pricing webpage.
    Rick Byham, Microsoft, SQL Server Books Online, Implies no warranty

    Thank you for sharing this Rick.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • This is a question for all my adobe applications in the CS6 suite. How do i manually update them? I have not gotten any updates in about 6 months and they are running really slow. I really think this is the issue. How can i do this?

    I am a full sail university film student and I need all my adobe applications running strong. Everything is running slow and sluggish. I think this might be the issue. Does anyone know how to manually update the adobe Cs6?

    What does your computer's sluggishness have to do with any potentially missing updates? That's pretty much nonsense. The last AE update was the 11.0.4 one from November, anyway, and it's only relevant for Mac people more or less. Whatever issues you have have nothing to do with that but rather poor system configuration and maintenance - fragmented cache disks, disks almost full with temp files, too many other processes/ programs running and gobbling up resources, aggressive external tools like virus scanners blocking access to files and functions and so on. Really, you are completely looking in the wrong place. Bring your computer up to speed and AE will run a lot better.
    Mylenium

  • Safari browser version you are running does not support community tool bar. what's that mean and where is it coming from or how do I get rid of it ?

    I keep getting the message "Safari browser version you are useing does not support community tool bar." Where is this coming from and how do I get rid of it ?

    That toolbar/ct plugin causes problems for all who install it!
    Close Safari, then locate and delete the following files and it should be gone:
    /Library/Application Support/Conduit
    /Library/InputManagers/CTLoader
    /Library/Receipts/ctloader.pkg
    /Library/Receipts/<Toolbar name>.pkg
    /Library/Application Support/SIMBL/Plugins/CT2285220.bundle
    /Users/<User name>/Library/Application Support/Conduit
    where / is the root library on your Hard Disk.
    If you are running Snow Leopard you should also look here:
    Library/launchAgents/com.conduit.loader.agent.plist
    Library/Application support/conduit plugins
    Note: Safari does not support any third-party toolbars except those supplied as an extension to Safari via the Extension Gallery.

  • [Blog] Using VMware vROPs to monitor Oracle Database and WebLogic.  Management Pack for Oracle EM, Hyperic Plugins, or Both?

    This blog post provides a suggested methodology for helping users of VMware vROps/vCOps decide which of the existing solutions, the vROps Management Pack for Oracle EM and the VMware vROps Hyperic Plugins for Oracle, should be used to monitor their Oracle workloads.
    It’s been a nearly a year since VMware transferred the vCOps Adapter for Oracle Enterprise Manager (OEM) to Blue Medora and since that transfer Blue Medora has released a number of major updates as well as rebranded it the Blue Medora vROps Management Pack for Oracle EM. Over that same period of time VMware has continued to evolve their Oracle-focused (Oracle Database and WebLogic J2EE) Hyperic agent-based plugins culminating most recently with a October 2014 update to the Oracle Database plugin that provides support for Oracle Database 12c.
    vROps for Oracle Database - Management Pack vs Hyperic comparison
    Read the rest here.

    can you also post 28,000 more lines? I'm sure this will be helpful....

  • How to check whether set up tables are filled or not

    Hi Gurus,
    How to check whehter set up tables are filled or not?
    Cheers,
    Reddy.

    Hi Reddy.......
    And another point I want to make u clear............LBWQ is not the Delta Queue.............Delta queue is RSA7...............it comes into play in delta loading.......LBWQ is Extraction Queue.........While delta loading....if we use the Update mode Queued Delta........then any Changes will not directly get updated in the Delta queue.....For the Delta set up.........
    1) First u hav to run init with data transfer(After filling the set up table)
    2) After that any Changed ........will be recorded in the Extraction Queue(LBWQ)........
    3) After a certain number of records get accumulated in LBWQ........We hav to run V3 jobs to bring the data in the Delta queue(RSA7)...
    Check this.....
    Re: question on LBWQ and RSA7
    Regards,
    Debjani.....

  • Database and Listener start up 'OK' (status code 0) but can't connect?

    Hi guys,
    I've got an instance of EBS with database 11.1.0.7 on Oracle Linux 5.8 in a VM.
    It's a new instance and been working for a few days but now I can't connect to the database.
    I'm using the standard scripts that have been working so far to bring up the db (commands below) and when run both return status code 0, there is nothing unusual in their respective log files and all looks fine to me. When trying to connect from either SQL Developer or by running the EBS apps startup script [adstrtal.sh] I'm getting errors the database/listener is unreachable. Everything was working fine yesterday - I've not changed any configuration.
    ./addbctl.sh start
    ./addlnctl.sh start PROD
    The only thing I can think is that last time the database was used it was crashed out due to the VirtualBox session hanging. As the scripts starting it back up again seemed to run OK I hoped that this didn't cause any long term issue? While obviously not good to be not shut down correctly this kind of issue shouldn't nuke the db should it?
    Any help/light much appreciated.

    I've got an instance of EBS with database 11.1.0.7 on Oracle Linux 5.8 in a VM.
    It's a new instance and been working for a few days but now I can't connect to the database.
    I'm using the standard scripts that have been working so far to bring up the db (commands below) and when run both return status code 0, there is nothing unusual in their respective log files and all looks fine to me. When trying to connect from either SQL Developer or by running the EBS apps startup script [adstrtal.sh] I'm getting errors the database/listener is unreachable. Everything was working fine yesterday - I've not changed any configuration.
    ./addbctl.sh start
    ./addlnctl.sh start PROD
    The only thing I can think is that last time the database was used it was crashed out due to the VirtualBox session hanging. As the scripts starting it back up again seemed to run OK I hoped that this didn't cause any long term issue? While obviously not good to be not shut down correctly this kind of issue shouldn't nuke the db should it?
    Any help/light much appreciated.Can you connect to the database from the server with no errors?
    What is the status of the database? Check the alert.log file for details.
    For the listener, please issue "lsnrctl status PROD" and post the output here.
    Please also run AutoConfig and make sure it completes successfully.
    Thanks,
    Hussein

  • The database and Application is running very slow.

    We are facing the slow performance on Application and Database.
    We found that the load average is going very high and when we checked through sar , it shows sys is using 70% CPU.
    Can some body let me know , how to check that where system is eating the CPU.
    through prstat and other i am able to see only the user process.
    Please guide me on the same.
    Regards

    I would suggest you first check and note that PID from prstat that is using 70%. Then query v$session and link it with v$process to see what session owns that PID. That way, you can track the problem down to a particular session and probably code in your application. Then you can further drill down to root cause of it.

  • When i open firefox it instantly goes to the bottom of the page then opens a new one. i cant close the pages down the bottom and they are running in the background slowly everything down

    when i open firefox it immediately goes to the bottom tool bar and keeps running. a new home page then opens and i cant close the one at the bottom because there is no icon. these hidden pages keep playing old youtube song and another one with adds running. how do i close these pages please? also if i minimise firefox to go onto say, email, i cant retrieve it and have to then open another home page. argggghhhhhhhh. help please. thanks and have a great, 'quiet' day. beth

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • VI to determine what applicatio​ns and services are running in memory.

    I need to be able to determine if a LabVIEW executable is running.
    If I had access to the info in the Task Manager window (running .exe's) -  that would provide all the needed information.

    with systemexe run tasklist.exe
    open a cmd window and type in tasklist /? to get more information
    If I think the system might have a program that could do the job, I take a look into the system32 folder if there is something that could fit and try <name> /? to see if my guess was right.
    But what about vi-server?  drop a vi-server property node and choose application:all vis in memory
    Message Edited by Henrik Volkers on 07-03-2006 01:50 PM
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • Read Only Display of Radio group and Text area with counter not working

    Hello,
    I am using Apex 3.2, with 10g for the database
    I have this form, with fields that will set to read only when status = 'closed'
    All of the fields display as read only except for 2. I cannot figure out why this is not working correctly.
    1st field is Issues that is a text area with character counter, with a sql query behind it, that is set to null unless the query is pulling in the data.
    2nd field is Status which is a radio group that will not display as read only when status = 'closed'
    I have other fields on the form with the same format and they change to read only when the status = 'closed', I have even copied the pl/sql expression from one field to these fields and it still doesn't work correctly. I have also tried javascript for an on load event, which works, but once I click on the save button, it disables all of the page items, which works correctly, but I purposely forget to enter information, to make sure the validations are firing correctly, which it does, but the script disables everything, not allowing me to correct the errors. The javascript is firing on the on page load event.
    Any help on this is greatly appreciated.
    Mary

    Dung,
    That API seems to have a bug, it returns true/false/null, so you could use 'return not nvl(htmldb_util.current_user_in_group(p_group_name => 'APP Admin'),false)' to get a false value.
    Unfortunately there's another problem: using the read-only attributes for checkbox or radiogroup item makes them hidden. My suggestion would be to create another item that has disabled="disabled" in the HTML Form Element attribute in the item definition and display that item or the non-disabled item alternately, using conditions based on the current_user_in_group logic.
    Scott

Maybe you are looking for

  • Upgrade to SSD??

    Hi. I was thinking about upgrading my computer as its running pretty slow at the moment but can't really afford to buy a new one so it has been suggested to me by NextByte store to install a new SSD which should solve all of my performance issues. I'

  • Trying to fix my itunes... it keep asking for "itunes.msi" location

    ok was trying to update itunes and it got stuck looking for itunes.msi... i have no clue where that file is but now i can't even open itunes.  it wont even let me delete and reinstall.  please help

  • SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server error)

    Hi, When i am executing the Client proxy in ABAP, i am getting SOAP:1.026 SRT: HTTP-Code 500: ("Internal Server error). how to resolve it, can any one help. Thanks & Regards, Brahmaji.

  • How can I add encoding code before column link works?

    Hi, guys: I have a question that may be silly. I want to pass multiple parameters of a row in an interactive report to another page through column link by specifing URL. It works OK. However, I found some of the parameters such as address in the repo

  • Error in executing command

    Hello, I am trying to execute nqcmd command in unix envt throgh putty to purge cache but it giving me following error....I went through blog, but its not much helpful. I new to unix: below is the error exec(): 0509-036 Cannot load program nqcmd becau