{"id":18343461,"url":"https://github.com/cosimo/nagios-downtime","last_synced_at":"2025-04-06T07:32:34.817Z","repository":{"id":66959052,"uuid":"551147","full_name":"cosimo/nagios-downtime","owner":"cosimo","description":"Schedule hosts downtime in Nagios from the command line","archived":false,"fork":false,"pushed_at":"2011-07-04T15:09:20.000Z","size":102,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-21T19:05:24.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Perl","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/cosimo.png","metadata":{"files":{"readme":"README","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":"2010-03-07T16:12:59.000Z","updated_at":"2019-08-16T13:44:38.000Z","dependencies_parsed_at":"2023-02-20T15:15:24.602Z","dependency_job_id":null,"html_url":"https://github.com/cosimo/nagios-downtime","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosimo%2Fnagios-downtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosimo%2Fnagios-downtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosimo%2Fnagios-downtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosimo%2Fnagios-downtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosimo","download_url":"https://codeload.github.com/cosimo/nagios-downtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247450537,"owners_count":20940934,"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-11-05T20:36:09.044Z","updated_at":"2025-04-06T07:32:34.507Z","avatar_url":"https://github.com/cosimo.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n    nagios-downtime - Send an external command to Nagios setting downtime\n    for a host\n\nSYNOPSIS\n    nagios-downtime\n        --server \u003cnagios-server\u003e\n        [--protocol={http,https}]\n        [--port=\u003chttp-port\u003e]\n        --user \u003cnagios-username\u003e\n        --pass \u003cnagios-password\u003e\n        --hostname \u003chost-that-you-want-to-be-down\u003e\n        --message \u003ccomment-for-the-downtime\u003e\n        [--start \u003ctimestamp\u003e]\n        [--duration \u003cseconds\u003e]\n        [--help]\n\n    Timestamp is in no. of seconds since epoch. Duration is in seconds. Yes,\n    I'm lazy.\n\nDESCRIPTION\n    Nagios is a widely used systems monitoring application.\n\n    This script will schedule downtime for a given hostname for you in your\n    Nagios server from the command line, saving you the \"painful\" experience\n    of opening your browser and going through the Nagios web interface.\n\n    It's meant to be used as quick utility to schedule downtime unattended,\n    when launching scripts that are not run at some regular point in time\n    every day/week, but something you have to run at random times.\n\n    At present, there's no way to cancel a scheduled downtime.\n\nOPTIONS\n    \"-help\" Print a brief help message and exits.\n\n    \"-server\"\n            The nagios server hostname (ex.: \"nagios.yourdomain.lan\")\n\n    \"-protocol\"\n            If you're using https, you may specify \"-protocol=https\" or\n            \"-port=443\".\n\n    \"-port\" If you're running nagios on a port different from 443 (https) or\n            80 (http) then you need to specify the port number here (ex.:\n            \"-port=2222\").\n\n    \"-user\" Nagios username that you can use in the web interface\n\n    \"-pass\" Nagios password that you can use in the web interface\n\n    \"-hostname\"\n            The host for which you want to schedule downtime (ex.:\n            \"blah.domain.com\")\n\n    \"-message\"\n            Comment for the downtime (ex.: \"Reinstallation in progress\").\n            Max 40 chars.\n\n    \"-start\"\n            Timestamp for when the downtime should start. This is in seconds\n            since epoch, yes, Unix timestamp.\n\n            Defaults to now.\n\n    \"-duration\"\n            Duration of downtime. By default, 2 hours if not specified.\n\nAUTHOR\n    Cosimo Streppone, cosimo@cpan.org\n\nLICENSE AND COPYRIGHT\n    (C) 2010 Cosimo Streppone, cosimo@cpan.org\n\n    This library is free software; you can only redistribute it and/or\n    modify it under the same terms as Perl itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosimo%2Fnagios-downtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosimo%2Fnagios-downtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosimo%2Fnagios-downtime/lists"}