Ad Widget

Collapse

Orabbix:"Another way to monitor Oracle reloaded"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dalle
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 402

    #376
    Originally posted by dalle
    please try with this script and let me know

    CREATE USER ZABBIX
    IDENTIFIED BY <REPLACE WITH PASSWORD>
    DEFAULT TABLESPACE USERS
    TEMPORARY TABLESPACE TEMP
    PROFILE DEFAULT
    ACCOUNT UNLOCK;
    GRANT ALTER SESSION TO ZABBIX;
    GRANT CREATE SESSION TO ZABBIX;
    GRANT CONNECT TO ZABBIX;
    ALTER USER ZABBIX DEFAULT ROLE ALL;
    GRANT SELECT ON V_$INSTANCE TO ZABBIX;
    GRANT SELECT ON DBA_USERS TO ZABBIX;
    GRANT SELECT ON V_$LOG_HISTORY TO ZABBIX;
    GRANT SELECT ON V_$PARAMETER TO ZABBIX;
    GRANT SELECT ON SYS.DBA_AUDIT_SESSION TO ZABBIX;
    GRANT SELECT ON V_$LOCK TO ZABBIX;
    GRANT SELECT ON DBA_REGISTRY TO ZABBIX;
    GRANT SELECT ON V_$LIBRARYCACHE TO ZABBIX;
    GRANT SELECT ON V_$SYSSTAT TO ZABBIX;
    GRANT SELECT ON V_$PARAMETER TO ZABBIX;
    GRANT SELECT ON V_$LATCH TO ZABBIX;
    GRANT SELECT ON V_$PGASTAT TO ZABBIX;
    GRANT SELECT ON V_$SGASTAT TO ZABBIX;
    GRANT SELECT ON V_$LIBRARYCACHE TO ZABBIX;
    GRANT SELECT ON V_$PROCESS TO ZABBIX;
    GRANT SELECT ON DBA_DATA_FILES TO ZABBIX;
    GRANT SELECT ON DBA_TEMP_FILES TO ZABBIX;
    GRANT SELECT ON DBA_FREE_SPACE TO ZABBIX;
    GRANT SELECT ON V_$SYSTEM_EVENT TO ZABBIX;
    I've made a fast test, and seems that Orabbix is wokring well with this creation script I'm going to update the documentation.
    Please let me know if there are issue
    Andrea Dalle Vacche
    website:http://www.smartmarmot.com/
    e-mail:
    Author of:Mastering Zabbix Book - second edition
    Zabbix Network Monitoring Essentials

    Comment

    • frank0521
      Junior Member
      • Apr 2012
      • 2

      #377
      Orabbix monitor Oracle 11gR2 RAC

      Hi Dalle,
      I want use Orabbix to monitor my Oracle 11gR2 RAC (have two hosts in RAC), I have been installed orabbix and configured config.porps, but, how can I apply the oracle RAC hosts in zabbix? I need apply two host with diffrent IP address or just one without IP?
      If I just apply only one host in zabbix, and how can I realize the detection of the nodes alive in the RAC?

      By the way, perhaps there is a clerical error about RAC connection string In orabbix installation Instructions. Maybe we need change
      RACINST.Url=jdbcracle:thin:@(DESCRIPTION=(ADDRESS_ LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=RAC1.EXAMPLE.COM ) (PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=RAC2.EXAM PLE.COM)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=R ACINST)))
      to
      RACINST.Url=jdbcracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(P ROTOCOL=TCP)(HOST=RAC1.EXAMPLE.COM) (PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=RAC2.EXAM PLE.COM)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=R ACINST)))

      Thanks.
      Last edited by frank0521; 18-04-2012, 10:22.

      Comment

      • zalex_ua
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2009
        • 1286

        #378
        To all Orabbix users - see please https://support.zabbix.com/browse/ZBX-4980

        Comment

        • dvedadt9
          Junior Member
          • May 2012
          • 3

          #379
          Multiple oracle instances...

          Hi, I have questions regarding monitoring multiple oracle instances.

          Is it possible to monitor more than one oracle instance at one oracle server using orabbix?
          Another question is, is it possible to monitor instances from different ORacle servers that have same SID names?
          Is there any option to do this using Orabbix?

          Thank you

          Comment

          • dalle
            Senior Member
            Zabbix Certified Specialist
            • Mar 2009
            • 402

            #380
            Originally posted by zalex_ua
            To all Orabbix users - see please https://support.zabbix.com/browse/ZBX-4980
            Thank you!!! I didn't know!
            Andrea Dalle Vacche
            website:http://www.smartmarmot.com/
            e-mail:
            Author of:Mastering Zabbix Book - second edition
            Zabbix Network Monitoring Essentials

            Comment

            • dalle
              Senior Member
              Zabbix Certified Specialist
              • Mar 2009
              • 402

              #381
              Originally posted by dvedadt9
              Hi, I have questions regarding monitoring multiple oracle instances.

              Is it possible to monitor more than one oracle instance at one oracle server using orabbix?
              Another question is, is it possible to monitor instances from different ORacle servers that have same SID names?
              Is there any option to do this using Orabbix?

              Thank you
              sure
              e.g. you have on your Oracle TEST server a sid called "orcl" and on your production environment the same sid "orcl" you should simply call them (in orabbix config file) orcl_test and orcl_prod or something like that, and consequently you need to create two host on zabbix with the same name "orcl_prod" and "orcl_test" nothing more.
              รน obviously the connection string on Orabbix's properties file will be the same exept for the IP address.
              Andrea Dalle Vacche
              website:http://www.smartmarmot.com/
              e-mail:
              Author of:Mastering Zabbix Book - second edition
              Zabbix Network Monitoring Essentials

              Comment

              • dvedadt9
                Junior Member
                • May 2012
                • 3

                #382
                Whre ORabbix should be installed

                Simple question:
                Please can you tell me where Orabbix should be installed.
                According to installation documentation it is stated following:
                "Steps for Installation

                Download Orabbix to your Zabbix Server
                On your Zabbix server, unzip Orabbix to: /opt/orabbix
                Copy file /opt/orabbix/init.d/orabbix to /etc/init.d/orabbix
                Grant execute permissions to the following files:
                ....
                "
                It seems that this should be installed at zabbix server (not server with oracle database). Is that correct?


                Can you also give me info where I can find more explained parameters for config.props? I have few doubts in configuring this file, so your help would be helpful.

                Comment

                • Yello
                  Senior Member
                  • Apr 2011
                  • 309

                  #383
                  Hi,
                  I'm seeing data being collected at 30 second intervals by orabbix. Can you tell me how I slow down the collection please?

                  Regards,
                  David

                  Comment

                  • buddy
                    Junior Member
                    • Jan 2012
                    • 1

                    #384
                    Multiple values.

                    Hi.

                    When reading the orabbix documentation, I don't understand is one custom query can return only one value?

                    If I misunderstood the documentation, how to pass multiple values in zabbix ?

                    Sorry for my poor english... :-)

                    Comment

                    • fflux
                      Member
                      Zabbix Certified Specialist
                      • Mar 2011
                      • 34

                      #385
                      Originally posted by buddy
                      Hi.

                      When reading the orabbix documentation, I don't understand is one custom query can return only one value?

                      If I misunderstood the documentation, how to pass multiple values in zabbix ?

                      Sorry for my poor english... :-)
                      correct 1 query 1 value to store.

                      Comment

                      • pietro54
                        Senior Member
                        • Feb 2011
                        • 112

                        #386
                        Hi,
                        I got a bit problem with orabbix and viewing graphs.
                        When i look at short perioid i dont see any data, when i look at least month i see normal data.
                        I was thinking maybe this is becouse history value is to low, but its set to 90 days, trends ar set to 365days.

                        Maybe some one know why this issue exsists?

                        Comment

                        • zabbn00b
                          Member
                          • May 2012
                          • 40

                          #387
                          Originally posted by dalle
                          sure
                          e.g. you have on your Oracle TEST server a sid called "orcl" and on your production environment the same sid "orcl" you should simply call them (in orabbix config file) orcl_test and orcl_prod or something like that, and consequently you need to create two host on zabbix with the same name "orcl_prod" and "orcl_test" nothing more.
                          รน obviously the connection string on Orabbix's properties file will be the same exept for the IP address.
                          I have also been thinking the same thing.

                          I see what you're doing here but wont this double up on queries e.g. disk space, cpu etc?

                          Comment

                          • zabbn00b
                            Member
                            • May 2012
                            • 40

                            #388
                            Hi,

                            For anyone else out there i was having a problem with the dbfilesize not reporting.

                            It wasn't in the query.props. I copied it from the sample file.

                            I also changed the item in zabbix units to B for dbfilesize and removed the multiplier from the query as it was reporting incorrectly for me.

                            dbfilesize.Query=select to_char(sum(bytes), 'FM9999999999999990') retvalue from dba_data_files.

                            i did the same for dbsize.

                            Also my archivelog is showing as 0MB, archivelog mode is TRUE.

                            Thanks.

                            Comment

                            • daniel.levai
                              Junior Member
                              • Jan 2013
                              • 2

                              #389
                              Zabbix 2.0.x supported?

                              Hi!

                              Is Zabbix version 2.0 and up supported? If it is, which Orabbix version is needed?


                              Thanks,
                              Daniel

                              Comment

                              • dalle
                                Senior Member
                                Zabbix Certified Specialist
                                • Mar 2009
                                • 402

                                #390
                                Originally posted by daniel.levai
                                Hi!

                                Is Zabbix version 2.0 and up supported? If it is, which Orabbix version is needed?


                                Thanks,
                                Daniel
                                The comunication protocol is not changed you can use the version that you prefer
                                Andrea Dalle Vacche
                                website:http://www.smartmarmot.com/
                                e-mail:
                                Author of:Mastering Zabbix Book - second edition
                                Zabbix Network Monitoring Essentials

                                Comment

                                Working...