Zabbix::Check::Systemd - Zabbix check for system time
version 1.10
Zabbix check for system time
UserParameter=cpan.zabbix.check.time.epoch,/usr/bin/perl -MZabbix::Check::Time -e_epoch UserParameter=cpan.zabbix.check.time.zone,/usr/bin/perl -MZabbix::Check::Time -e_zone UserParameter=cpan.zabbix.check.time.ntp_offset[*],/usr/bin/perl -MZabbix::Check::Time -e_ntp_offset -- $1 $2
gets system time epoch in seconds
gets system time zone, eg: +0200
gets system time difference by NTP server
$1: server, by defaut pool.ntp.org
$2: port, by default 123
GitHub https://github.com/orkunkaraduman/Zabbix-Check
CPAN https://metacpan.org/release/Zabbix-Check
Orkun Karaduman <orkunkaraduman@gmail.com>
Copyright (C) 2016 Orkun Karaduman <orkunkaraduman@gmail.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
To install Zabbix::Check, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zabbix::Check
CPAN shell
perl -MCPAN -e shell install Zabbix::Check
For more information on module installation, please visit the detailed CPAN module installation guide.