NTP and Time

check_timezone.pl (Advanced Nagios Plugins Collection)

Description:

Checks a Linux Server’s timezone is set as expected

Current Version

Last Release Date

October 3, 2013

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI

Owner


Project Notes
Part of the Advanced Nagios Plugins Collection, download it here: https://github.com/harisekhon/nagios-plugins ./check_timezone.pl --help Nagios Plugin to check a Linux Server's timezone is set as expected usage: check_timezone.pl [ options ] -T --timezone Timezone to expect the server in. Required (can be any valid timezone from /usr/share/zoneinfo/ eg. UTC or GMT) -A --alternate Alternative timezone to expect the server in. Optional (defaults to timezone). Useful to allowing BST daylight saving time shifts by specifying a second timezone to allow (eg BST) -L --localtime-file Timezone file to compare /etc/localtime and /etc/sysconfig/clock to. Optional (defaults to timezone). Useful when your localtime is set to say Europe/London which shows up as GMT but you still want to validate that /etc/localtime is set to Europe/London for following DST changes. (Can be any valid timezone file under /usr/share/zoneinfo/ eg. UTC or GMT) -h --help Print description and usage options -t --timeout Timeout in secs (default: 10) -v --verbose Verbose mode -V --version Print version and exit
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
35,592