NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
177 stars 94 forks source link

Feature Request: Native systemctl --failed check #1046

Open pittagurneyi opened 10 months ago

pittagurneyi commented 10 months ago

Instead of having to create a plugin with content, for example:

#!/usr/bin/env bash

# Reduce possible exit codes to 0 and 1.
systemctl --failed && exit 0 || exit 1

it would be useful on systemd based systems to have a native NCPA check for that.