Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Checks a Linux Server's timezone is set as expected
Current Version
Last Release Date
October 3, 2013
Owner
Hari Sekhon
Website
https://github.com/harisekhon/nagios-plugins
Download URL
Compatible With
Part of the Advanced Nagios Plugins Collection, download it here:
./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
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!