{"id":23701042,"url":"https://github.com/zimbres/servicemonitor","last_synced_at":"2026-05-16T13:05:59.253Z","repository":{"id":251446747,"uuid":"837447075","full_name":"zimbres/ServiceMonitor","owner":"zimbres","description":"Monitor Windows service","archived":false,"fork":false,"pushed_at":"2024-12-24T21:44:44.000Z","size":97,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T13:15:51.174Z","etag":null,"topics":["monitoring","service","windows","windows-service"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zimbres.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-03T02:43:54.000Z","updated_at":"2024-12-24T21:43:39.000Z","dependencies_parsed_at":"2024-11-15T01:25:08.740Z","dependency_job_id":"c6cf952a-eb78-4810-8315-abf795ef34e9","html_url":"https://github.com/zimbres/ServiceMonitor","commit_stats":null,"previous_names":["zimbres/servicemonitor"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbres%2FServiceMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbres%2FServiceMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbres%2FServiceMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbres%2FServiceMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimbres","download_url":"https://codeload.github.com/zimbres/ServiceMonitor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776539,"owners_count":19695124,"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":["monitoring","service","windows","windows-service"],"created_at":"2024-12-30T09:31:44.660Z","updated_at":"2026-05-16T13:05:54.225Z","avatar_url":"https://github.com/zimbres.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows Service Monitor\n\nThis application runs as a Windows Service and is designed to monitor and manage the health of a specified service(s). It performs this task by either probing a TCP port to ensure it is listening or by making an HTTP request to check for a successful status code or the presence of a specific word in the response. If the monitored service is found to be unhealthy, the application will automatically restart it.\n\n### Configuration required:\nV1\n\n```json\n\n{\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Warning\",\n      \"Microsoft.Hosting.Lifetime\": \"Warning\"\n    }\n  },\n  \"Configuration\": {\n    \"RunIntervalSeconds\": 30,\n    \"ServiceName\": \"YourServiceName\",\n    \"IpAddress\": \"127.0.0.1\",\n    \"Port\": 8080,\n    \"HttpUrl\": \"http://localhost:8080/api/health\",\n    \"CheckForWord\": false,\n    \"Word\": \"\",\n    \"CheckType\" : \"Tcp\"\n  }\n}\n\n```\nV2\n```json\n{\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Warning\",\n      \"Microsoft.Hosting.Lifetime\": \"Warning\"\n    }\n  },\n  \"Configuration\": {\n    \"RunIntervalSeconds\": 30,\n    \"Services\": [\n      {\n        \"ServiceName\": \"YourServiceName\",\n        \"IpAddress\": \"127.0.0.1\",\n        \"Port\": 8080\n      },\n      {\n        \"ServiceName\": \"YourServiceName\",\n        \"HttpUrl\": \"http://localhost:3000/api/health\",\n        \"WordToCheck\": \"Healthy\"\n      },\n      {\n        \"ServiceName\": \"YourServiceName\",\n        \"HttpUrl\": \"http://localhost:3000/noword\"\n      }\n    ]\n  }\n}\n```\n\n\n---\n\n[Microsoft Help: Create Windows Service](https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service)\n\n---\n\n### Requires .Net Runtime 8.0\n\n[Download .NET](https://dotnet.microsoft.com/en-us/download)\n\n---\n\nApplication icon by [Flaticon](https://www.flaticon.com/br/icones-gratis/marketing-de-midia-social)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbres%2Fservicemonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimbres%2Fservicemonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbres%2Fservicemonitor/lists"}