{"id":16813859,"url":"https://github.com/bmhatfield/nagioscgi","last_synced_at":"2025-11-05T19:30:33.647Z","repository":{"id":4051845,"uuid":"5154519","full_name":"bmhatfield/NagiosCGI","owner":"bmhatfield","description":"Nagios CGI Client (From: http://code.google.com/p/python-nagios/)","archived":true,"fork":false,"pushed_at":"2017-01-31T12:37:25.000Z","size":8,"stargazers_count":3,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T19:25:14.632Z","etag":null,"topics":["cgi","fork","mirror","nagios","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmhatfield.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-23T16:46:05.000Z","updated_at":"2023-11-12T17:01:31.000Z","dependencies_parsed_at":"2022-07-21T12:18:00.016Z","dependency_job_id":null,"html_url":"https://github.com/bmhatfield/NagiosCGI","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/bmhatfield%2FNagiosCGI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmhatfield%2FNagiosCGI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmhatfield%2FNagiosCGI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmhatfield%2FNagiosCGI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmhatfield","download_url":"https://codeload.github.com/bmhatfield/NagiosCGI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239470824,"owners_count":19644192,"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":["cgi","fork","mirror","nagios","python"],"created_at":"2024-10-13T10:28:03.789Z","updated_at":"2025-11-05T19:30:33.610Z","avatar_url":"https://github.com/bmhatfield.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"NagiosCGI\n=========\n\nNagios CGI Client (From: http://code.google.com/p/python-nagios/)\n\nWhy this fork?\n--------------\n\nThe code.google.com version of python-nagios hasn't been touched since Sept, 2011.\n\nThe aim of this fork is to add some needed features, touch up some existing methods, and add methods that are missing as needed.\n\n\nHow to use?\n-----------\n\nFrom http://exchange.nagios.org/directory/Addons/APIs/Python/python-2Dnagios/details \n\n**A library which allows you to interact with cmd.cgi.**  \nThe cmd.cgi which comes bundled with Nagios has many abilities beyond acknowledging alerts, but writing software callouts for doing them can be tedious since the only documentation is the source code. Enter python-nagios, a library for interacting with cmd.cgi. It support both HTTP and HTTPS, passwords, and non-standard installation paths. A short example might be instructive:\n\n    #! /usr/bin/env python\n    import nagcgi\n    cgi = nagcgi.Nagcgi(\"mon.example.com\", \"naguser\", \"nagpasswd\", secure=True)\n    \n    cgi.add_host_comment('sillyhost', 'This host is being silly')\n    cgi.disable_notification()\n    cgi.ack_svc_problem('brokenhost','CHECK LOAD', 'running a highly parallel gcc build') \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmhatfield%2Fnagioscgi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmhatfield%2Fnagioscgi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmhatfield%2Fnagioscgi/lists"}