GithubHelp home page GithubHelp logo

hanachecker's Introduction

HANAChecker

A monitoring script to automatically execute the SAP HANA's mini-checks and send alert emails

DESCRIPTION:

The HANAChecker executes SQL: "HANA_Configuration_MiniChecks" (See SAP Note 1969700 and SAP Note 1999993). For every "potential critical" mini-check, i.e. where the column C has an X, it sends out an email to the email address specified for that particular mini-check. This can run "forever" with a specified interval. See also SAP Note 1999993.

DISCLAIMER:

ANY USAGE OF HANACHECKER ASSUMES THAT YOU HAVE UNDERSTOOD AND AGREED THAT:

  1. HANAChecker is NOT SAP official software, so normal SAP support of HANAChecker cannot be assumed
  2. HANAChecker is open source
  3. HANAChecker is provided "as is"
  4. HANAChecker is to be used on "your own risk"
  5. HANAChecker is a one-man's hobby (developed, maintained and supported only during non-working hours)
  6. HANAChecker expects "default" HANA environment with no modifications done in the .bashrc or other files
  7. All HANAChecker documentations have to be read and understood before any usage:
  • The .pdf file hanachecker.pdf
  • All output from executing python hanachecker.py --help
  1. HANAChecker is not providing any recommendations, all flags shown in the documentation (see point 6.) are only examples

hanachecker's People

Contributors

chriselswede avatar

Stargazers

Richard Calvo avatar  avatar Moonpie avatar  avatar  avatar  avatar Rodolfo Bermúdez-Neubauer avatar  avatar  avatar Miguel Garcia avatar  avatar Mark Becker avatar Michael Mergell avatar  avatar  avatar Björn Kötter avatar adam kaminski avatar Bill Chen avatar  avatar  avatar  avatar tinajxx avatar Rasit Demirel avatar Stephen avatar  avatar  avatar  avatar Alex Förster avatar Peter Gao avatar  avatar  avatar Wang Yuanhui avatar Lars Breddemann avatar

Watchers

Peter Gao avatar Wang Yuanhui avatar Dirk Raschke avatar Mark Becker avatar  avatar  avatar  avatar  avatar Alex Förster avatar  avatar Delip Reddy avatar  avatar  avatar

hanachecker's Issues

mailsend does not work

Hello Christian,

I just checkout hanachecker.py and test the function. However mailsend function does not work. So I just look into your code and I am wondering whether line 226 is commented out by mistake?
226 #subprocess.check_output(mailstring, shell=True)

I delete the # and mailsend is working.Would you please kindly check?

Thanks and best Regards,
Joseph Liu

hanachecker & tenant databases

Use case: Hana instance with multiple tenants.
Question: Is it sufficient to run hanachecker against the SystemDB?
How to run hanachecker against the tenant databases? I cannot find information about this issue.
In hanacleaner it is possible to customize this.

CRLF after every quotation marks in hanachecker output

CRLF after every quotation marks with versions released after 2018-07-19. Seen with release 2019-02-22 and 2019-06-05. Looks like this with cat -A:
"$ Mini Check ID M0314 Description: I/O read reload throughput avg. (MB/s) Host: ... Value: 85.88 Expectation: >= 200.00 C: X SAPNote: 1999930"$

Command used:
hanachecker.py -k HANACLEANER -zf /usr/sap/.../HDB00/hanachecker/SQLStatements.zip -ct M -ca [email protected] -so 1 -od /tmp/hanachecker_output/SYSTEMDB/

CR with option -oe

When the option oe true is set, all Alerts are send in one line, a carriage return is missing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.