Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
The purpose of this plugin is to allow you to trigger warning or critical states as you approach a date. This date might be the warranty expiry date on a server, or when a license needs renewing.
Current Version
2012-11-01
Last Release Date
Owner
Nagios Exchange
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2012/11/countdown_to_date.zip
License
GPL
Compatible With
Usage: countdown_to_date.php --date date --warning wdays --critical cdays
date = The date in the future you are counting down to This argument is required. The date format is YYYY-MM-DD Examples: 2012-12-01 or 2020-05-09 wdays = How many days prior to countdown date before a WARNING alert is generated cdays = How many days prior to countdown date before a CRITICAL alert is generated Examples: 30 or 400 --warning OR --critical arguments are required. It is not necessary to use both.
Example: countdown_to_date.php --date 2013-08-15 --warning 60 --critical 30
Configuring Nagios:
The following shows you how to configure your Command AND Service definitions. Command Definition: define command { command_name countdown_to_date command_line $USER1$/countdown_to_date.php $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ }
Service Definition: define service { host_name your_host service_description Warranty Status check_command countdown_to_date!--date 2013-02-11!--warning 60!--critical 30 max_check_attempts 3 check_interval 1300 retry_interval 20 register 1 }
To see the help type "countdown_to_date.php --help | more"
Version Notes: 2012-11-01 Initial release.
<pre id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" role="text" data-placeholder="Översättning" data-ved="2ahUKEwiay7GZqu-RAxW_FxAIHabbMYoQ3ewLegQIDBAW" aria-label="Översatt text: getting error when trying to unzip zip file"><span class="Y2IQFc" lang="en">I getting error when trying to unzip the file. Error i header...</span></pre> <!-- wp:paragraph --> <p></p> <!-- /wp:paragraph -->
You must be logged in to submit a review.
To:
From: