@porosys/ndtool
Version:
Netdata alert and automation tool
8 lines (7 loc) • 323 B
JavaScript
import { setupConfigChangeAlert } from './helpers/setup-config-change-alert/setup-config-change-alert.helper.js';
export const setupUfwAlert = async () => {
await setupConfigChangeAlert({
alertName: 'ufw_config_change',
monitoredCommand: 'ufw status verbose | grep -vE "^Status:|^Logging:"',
});
};