{"id":17366958,"url":"https://github.com/gabrielrf/shell-zabbix-webscenario","last_synced_at":"2025-06-17T04:07:14.433Z","repository":{"id":31979979,"uuid":"35550191","full_name":"GabrielRF/Shell-Zabbix-WebScenario","owner":"GabrielRF","description":"Shell script that adds a Web Scenario and a Trigger on Zabbix","archived":false,"fork":false,"pushed_at":"2017-06-23T13:24:49.000Z","size":14,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T12:51:10.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"angular/angular","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GabrielRF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-13T13:20:43.000Z","updated_at":"2019-08-21T12:34:54.000Z","dependencies_parsed_at":"2022-07-26T04:32:02.060Z","dependency_job_id":null,"html_url":"https://github.com/GabrielRF/Shell-Zabbix-WebScenario","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GabrielRF/Shell-Zabbix-WebScenario","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FShell-Zabbix-WebScenario","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FShell-Zabbix-WebScenario/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FShell-Zabbix-WebScenario/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FShell-Zabbix-WebScenario/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielRF","download_url":"https://codeload.github.com/GabrielRF/Shell-Zabbix-WebScenario/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielRF%2FShell-Zabbix-WebScenario/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260288472,"owners_count":22986667,"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":[],"created_at":"2024-10-15T22:12:32.170Z","updated_at":"2025-06-17T04:07:14.404Z","avatar_url":"https://github.com/GabrielRF.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shell-Zabbix-WebScenario\n\nThis shell script will create a web scenario on a specific host and a trigger to check if a website is available.\n\n__You must have a host created before using this script!__ \n\n## Usage:\n```\n# chmod +x Shell-Zabbix-WebScenario.sh\n$ ./Shell-Zabbix-WebScenario.sh 'web address' 'string' 'scenario/trigger name' 'hostid' 'hostname' 'username' 'password' 'api'\n```\n\n##### `web address`\nWeb page to be tested. Zabbix will check for http response `200` and a string, chosen below.\n##### `string`\nAfter checking for http responde `200`, Zabbix will look for this string on the web page.\n##### `scenario/trigger name`\nScenario and trigger name.\n##### `hostid`\nHost ID that Zabbix add the Scenario and the Trigger. To find it, open your host on the Zabbix web interface and check its id on the URL.\n\nFor example:\n`https://myzabbix.mydomain.com/hosts.php?form=update\u0026hostid=12345\u0026groupid=1`, the host id is `12345`.\n##### `hostname`\nName of the host. Necessary to make the trigger work properly.\n##### `username`\nZabbix user allowed to manage hosts\n##### `password`\nZabbix user password\n##### `api`\nAPI location. \n\nTo check if you have the correct url, open it. You should see a black page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Fshell-zabbix-webscenario","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielrf%2Fshell-zabbix-webscenario","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielrf%2Fshell-zabbix-webscenario/lists"}