{"id":30291776,"url":"https://github.com/mortimus/nagiosslacknotifier","last_synced_at":"2026-05-18T09:35:26.604Z","repository":{"id":200505688,"uuid":"162489401","full_name":"Mortimus/nagiosSlackNotifier","owner":"Mortimus","description":"Allows nagios to send notifications via slack or Microsoft Teams. This needs some heavy refactoring to clean things up, but this works for the task needed. Was built for a dual company setup for notifications to a single slack channel.","archived":false,"fork":false,"pushed_at":"2020-04-08T17:22:03.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-17T00:02:37.637Z","etag":null,"topics":["golang","nagios","slack"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Mortimus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-19T20:50:34.000Z","updated_at":"2020-04-08T17:22:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee78e683-6511-4652-9ed9-f17482f8886a","html_url":"https://github.com/Mortimus/nagiosSlackNotifier","commit_stats":null,"previous_names":["mortimus/nagiosslacknotifier"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mortimus/nagiosSlackNotifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortimus%2FnagiosSlackNotifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortimus%2FnagiosSlackNotifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortimus%2FnagiosSlackNotifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortimus%2FnagiosSlackNotifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mortimus","download_url":"https://codeload.github.com/Mortimus/nagiosSlackNotifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortimus%2FnagiosSlackNotifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["golang","nagios","slack"],"created_at":"2025-08-17T00:02:23.775Z","updated_at":"2026-05-18T09:35:26.563Z","avatar_url":"https://github.com/Mortimus.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Add to misccommands.cfg\n\ndefine command {\ncommand_name                    host-notify-by-slack\ncommand_line                    /usr/bin/slackNagiosBot \"HOST\" \"COMPANY\" \"#testing\" '$NOTIFICATIONTYPE$' '$SERVICEDESC$' '$HOSTALIAS$' '$HOSTADDRESS$' '$SERVICESTATE$' '$LONGDATETIME$' '$HOSTOUTPUT$' '$NOTIFICATIONCOMMENTS$'\n}\n​\ndefine command {\ncommand_name                    service-notify-by-slack\ncommand_line                    /usr/bin/slackNagiosBot \"SERVICE\" \"COMPANY\" \"#testing\" '$NOTIFICATIONTYPE$' '$SERVICEDESC$' '$HOSTALIAS$' '$HOSTADDRESS$' '$SERVICESTATE$' '$LONGDATETIME$' '$SERVICEOUTPUT$'\n}\n\nthen a contact is just needed for slack and notification commands are host-notify-by-slack for hosts and service-notify-by-slack for services, and binary added to /usr/bin/slackNagiosBot and chmod +x\n\nmove the config file to /opt/NagiosBot/config.json\nmake sure the log file in the config is writable by the nagios user","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmortimus%2Fnagiosslacknotifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmortimus%2Fnagiosslacknotifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmortimus%2Fnagiosslacknotifier/lists"}