Announcement

Collapse

http://progeeking.com

See more
See less

Oracle Grid-Infrastructure or Oracle Restart

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oracle Grid-Infrastructure or Oracle Restart

    Oracle Grid-Infrastructure or Oracle Restart

    This plugins searchs for Resources in crs in State OFFLINE or INTERMEDIATE Resources with STARTMODE=never are ignored. Same applies for ora.ons and ora.gds.
    The number of voting-disks is checked. 1, 3 or 5 votedisks are expected!
    The plugin is aware of Grid Infrastructure and Oracle Restart. The check for votedisks are skipped in an Oracle Restart Environment! This plugin need sudo to work with nrpe the nrpe-owner will use the following commands with sudo:

    sudo-User command
    CRS_OWNER $CRS_HOME/bin/crsctl
    CRS_OWNER $CRS_HOME/bin/orabase
    CRS_OWNER $CRS_HOME/bin/ocrcheck
    CRS_OWNER $CRS_HOME/bin/ocrconfig

    we do only a small check of running processes due to crsctl will return a hughe amount of errors when crsd isn't running

    example sudo-setup for nrpe:
    Defaults:nrpe !requiretty
    Cmnd_Alias CRSCTL = /u01/app/11.2.0.3/grid/bin/crsctl
    Cmnd_Alias ORABASE = /u01/app/11.2.0.3/grid/bin/orabase
    Cmnd_Alias OCRCHECK = /u01/app/11.2.0.3/grid/bin/ocrcheck
    Cmnd_Alias OCRCONFIG = /u01/app/11.2.0.3/grid/bin/ocrconfig
    User_Alias NRPE_ADMIN = nagios, nrpe
    NRPE_ADMIN ALL = (oracle) NOPASSWD: CRSCTL, ORABASE, OCRCONFIG, OCRCHECK

    Plugin link
Working...
X