{"id":17383118,"url":"https://github.com/sergiotocalini/zabora","last_synced_at":"2025-04-15T09:52:28.982Z","repository":{"id":48629141,"uuid":"55388818","full_name":"sergiotocalini/zabora","owner":"sergiotocalini","description":"Zabbix Agent - Oracle","archived":false,"fork":false,"pushed_at":"2022-09-22T12:08:37.000Z","size":39,"stargazers_count":38,"open_issues_count":6,"forks_count":37,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-28T19:07:01.956Z","etag":null,"topics":["ksh","monitoring","oracle","plsql","shell","shell-scripts","sql","zabbix"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergiotocalini.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":"2016-04-04T06:08:16.000Z","updated_at":"2023-12-20T00:03:30.000Z","dependencies_parsed_at":"2023-01-18T19:15:11.551Z","dependency_job_id":null,"html_url":"https://github.com/sergiotocalini/zabora","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiotocalini%2Fzabora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiotocalini%2Fzabora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiotocalini%2Fzabora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiotocalini%2Fzabora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergiotocalini","download_url":"https://codeload.github.com/sergiotocalini/zabora/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249048712,"owners_count":21204305,"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","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":["ksh","monitoring","oracle","plsql","shell","shell-scripts","sql","zabbix"],"created_at":"2024-10-16T07:40:40.636Z","updated_at":"2025-04-15T09:52:28.966Z","avatar_url":"https://github.com/sergiotocalini.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zabora\nOracle Monitoring\n\nThis script is part of a monitoring solution that allows to monitor several\nservices and applications.\n\nFor more information about this monitoring solution please check out this post\non my [site](https://sergiotocalini.github.io/project/monitoring).\n\n## Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=sergiotocalini/zabora\u0026type=Timeline)](https://star-history.com/#sergiotocalini/zabora\u0026Timeline)\n\n\n# Dependencies\n## Packages\n* ksh\n\n### Debian/Ubuntu\n\n```\n~# sudo apt install ksh\n~#\n```\n\n### Red Hat\n\n```\n#~ sudo yum install ksh\n~#\n```\n\n## User account\nWe will need an account to perform all the checks. Below are the sentences to do it.\n\n```plsql\nCREATE USER monitor IDENTIFIED BY 'xxxxxxx' DEFAULT TABLESPACE SYSTEM TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK;\nGRANT CONNECT TO monitor;\nGRANT RESOURCE TO monitor;\nALTER USER monitor DEFAULT ROLE ALL;\nGRANT SELECT ANY TABLE TO monitor;\nGRANT CREATE SESSION TO monitor;\nGRANT SELECT ANY DICTIONARY TO monitor;\nGRANT UNLIMITED TABLESPACE TO monitor;\nGRANT SELECT ANY DICTIONARY TO monitor;\nGRANT SELECT ON V_$SESSION TO monitor;\nGRANT SELECT ON V_$SYSTEM_EVENT TO monitor;\nGRANT SELECT ON V_$EVENT_NAME TO monitor;\nGRANT SELECT ON V_$RECOVERY_FILE_DEST TO monitor;\n```\n\n# Deploy\nThe username and the password can't be empty.\nDefault variables:\n\nNAME|VALUE\n----|-----\nORACLE_USER|monitor\nORACLE_PASS|xxxxxxx\nORACLE_OSID|oracle\n\n*__Note:__ these variables have to be saved in the config file (zabora.conf) in\nthe same directory than the script.*\n\n## Zabbix\n\n```bash\n~# git clone https://github.com/sergiotocalini/zabora.git\n~# ./zabora/deploy_zabbix.sh -H\nUsage:  [Options]\n\nOptions:\n  -F            Force configuration overwrite.\n  -H            Displays this help message.\n  -P            Installation prefix (SCRIPT_DIR).\n  -Z            Zabbix agent include files directory (ZABBIX_INC).\n  -u            Configuration key ORACLE_USER.\n  -p            Configuration key ORACLE_PASS.\n  -o            Configuration key ORACLE_OSID.\n\nPlease send any bug reports to sergiotocalini@gmail.com (https://github.com/sergiotocalini)\n~# ORACLE_USER=\"monitor\"\n~# ORACLE_PASS=\"xxxxxxx\"\n~# ORACLE_OSID=\"oracle\"\n~# sudo ./zabora/deploy_zabbix.sh -u \"${ORACLE_USER}\" -p \"${ORACLE_PASS}\" -o \"${ORACLE_OSID}\"\n~# sudo systemctl restart zabbix-agent\n```\n\n*__Note:__ the installation has to be executed on the zabbix agent host and you have\nto import the template on the zabbix web. The default installation directory is\n/etc/zabbix/scripts/agentd/zabora*\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiotocalini%2Fzabora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergiotocalini%2Fzabora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiotocalini%2Fzabora/lists"}