The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Zabbix::Check::Systemd - Zabbix check for Systemd services

VERSION

version 1.10

SYNOPSIS

Zabbix check for Systemd services

        UserParameter=cpan.zabbix.check.systemd.installed,/usr/bin/perl -MZabbix::Check::Systemd -e_installed
        UserParameter=cpan.zabbix.check.systemd.system_status,/usr/bin/perl -MZabbix::Check::Systemd -e_system_status
        UserParameter=cpan.zabbix.check.systemd.service_discovery[*],/usr/bin/perl -MZabbix::Check::Systemd -e_service_discovery -- $1
        UserParameter=cpan.zabbix.check.systemd.service_status[*],/usr/bin/perl -MZabbix::Check::Systemd -e_service_status -- $1

installed

checks Systemd is installed: 0 | 1

system_status

gets Systemd system status: initializing | starting | running | degraded | maintenance | stopping | offline | unknown

service_discovery

discovers Systemd enabled services

$1: regex of service name, by default undefined

service_status $1

gets Systemd enabled service status: active | inactive | failed | unknown | ...

$1: service name

REPOSITORY

GitHub https://github.com/orkunkaraduman/Zabbix-Check

CPAN https://metacpan.org/release/Zabbix-Check

AUTHOR

Orkun Karaduman <orkunkaraduman@gmail.com>

COPYRIGHT AND LICENSE

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/>.