{"id":29916225,"url":"https://github.com/angoca/db2-jnrpe","last_synced_at":"2025-08-02T04:42:51.122Z","repository":{"id":18825558,"uuid":"22040689","full_name":"angoca/db2-jnrpe","owner":"angoca","description":"Plugin to monitor DB2 with Nagios and JNRPE","archived":false,"fork":false,"pushed_at":"2015-12-28T20:10:58.000Z","size":997,"stargazers_count":0,"open_issues_count":14,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-13T00:50:28.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://angoca.github.io/db2-jnrpe/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"netcell/nine-patch-phaser-plugin","license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/angoca.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-20T18:52:31.000Z","updated_at":"2015-01-22T16:15:46.000Z","dependencies_parsed_at":"2022-08-05T01:15:37.132Z","dependency_job_id":null,"html_url":"https://github.com/angoca/db2-jnrpe","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/angoca/db2-jnrpe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angoca%2Fdb2-jnrpe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angoca%2Fdb2-jnrpe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angoca%2Fdb2-jnrpe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angoca%2Fdb2-jnrpe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angoca","download_url":"https://codeload.github.com/angoca/db2-jnrpe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angoca%2Fdb2-jnrpe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334719,"owners_count":24233809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-02T04:42:48.932Z","updated_at":"2025-08-02T04:42:51.105Z","avatar_url":"https://github.com/angoca.png","language":"Java","funding_links":[],"categories":["Tools"],"sub_categories":["Monitoring"],"readme":"db2-jnrpe\n=========\n\n([Please check the Wiki](https://github.com/angoca/db2-jnrpe/wiki) for more information)\n\nThis is a set of plugins to monitor DB2 via Nagios. It relies on the JNRPE\nframework, which is a Java implementation of the NRPE server.\nThis framework is very flexible and it can be used not only to monitor DB2\ndatabase, but also to:\n\n* Create more plugins to monitor other elements of DB2.\n* Create plugins for other RDBMS using the benefits of Java.\n\nThe difference between this set of plugins and other available in the market is\nthat a Java daemon allows to reduce the overhead on the database.\nOther scripts, establishes one or multiple connections to query the elements in\nthe database each time they are executed, and this creates a big overhead in\nthe database.\nThis set of plugins keeps the connection active thanks to a connection pool\n(Hikari or C3p0) and this reduces the overhead of connection establishment.\n\nAlso, many plugins queries the same values to monitor similar elements.\nFor example, for each bufferpool, other plugins has to query the database\nseveral times to retrieve the same information and then filter it according to\nthe given parameters (different commands).\nThis set of plugins queries the database once, and keep the information in a\ncache to be used for multiple commands.\n\nWith a cache system, this plugin can compare values with the previous\nmeasures, in order to give an instant performance.\nNo extra files are required, just a daemon executing in a server.\n\nBecause the JNRPE is a pure Java application, it can be executed in any\nplatform, Linux/UNIX/MAC OS X or Windows. This is a very important difference\nwith the other plugins in the market that require bash on Linux, or Perl.\n\n\n# Plugins\n\nThis is the list of available DB2 plugins:\n\n* Check_Average_Sorting_Time: Checks the quantity of time expended in sorts per\nsorts.\n* Check_Bufferpool_Hit_Ratio: Allows to check the performance of the\nbufferpools, by measuring the hit ratio between the most recent measures.\n* Check_Database_Load: Checks the database load according to the quantity\nof modifications (UID: Update, insert, delete), commits and selects.\n* Check_Physical_IO_Per_Transaction: Measures the quantity of physical reads\nper transaction.\n* Check_Sorting_Time_Per_Transaction: Checks the quantity of sorts per\ntransaction.\n\n\n# Prerequisites\n\nIn order to run this set of plugins, it is necessary to have Java 6 or 7.\n\n\n# Install\n\nThe installation process consist in:\n\n* Download JNRPE and installed if it has not been done.\n* Download a stable release of this project from\n    https://github.com/angoca/db2-jnrpe/releases\n* Download the required libraries:\n * Hikari\n * JavaAssist\n* Copy the DB2 driver in the same directory.\n* Configure the jnrpe.ini file with the plugins.\n* Start the JNRPE server.\n* Configure Nagios to call the plugins.\n* Restart Nagios.\n\nA more detailed installation guide can be found in the wiki:\n  https://github.com/angoca/db2-jnrpe/wiki/Install\n\n\n# References\n\n* Nagios - http://www.nagios.org/\n* JNRPE - http://www.jnrpe.it/\n* DB2 - http://www.ibm.com/software/data/db2/\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangoca%2Fdb2-jnrpe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangoca%2Fdb2-jnrpe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangoca%2Fdb2-jnrpe/lists"}