Re: make time calculations timezone independent (and thus more portable) (#1337)
Sven Nierlein <[email protected]>
| Newsgroups | gmane.network.nagios.devel,gmane.network.monitoring.plugins.devel |
|---|---|
| Message-ID | <monitoring-plugins/monitoring-plugins/pull/1337/[email protected]> |
How does this make the code more portable? I mean, thats what timezones are for, if you want UTC, just use UTC either by changing your system to UTC or by running the plugin with TZ="UTC" ..../check_http -C .. Or just set TZ for your monitoring user, i'd say there are way better solutions than hardcoding UTC in some of the plugins. -- Reply to this email on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1337#issuecomment-95208644