From babb114b66d3bbdbba9faa69bb1fdbae49f20172 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 19 Jun 2015 13:25:51 +0200 Subject: update examples and add systemd unit --- desktop/journal-notify-crit-alert-emerg.desktop | 9 +++++++++ desktop/journal-notify-dhcpd.desktop | 9 +++++++++ desktop/journal-notify-sshd.desktop | 9 +++++++++ 3 files changed, 27 insertions(+) create mode 100755 desktop/journal-notify-crit-alert-emerg.desktop create mode 100755 desktop/journal-notify-dhcpd.desktop create mode 100755 desktop/journal-notify-sshd.desktop (limited to 'desktop') diff --git a/desktop/journal-notify-crit-alert-emerg.desktop b/desktop/journal-notify-crit-alert-emerg.desktop new file mode 100755 index 0000000..ddcd27f --- /dev/null +++ b/desktop/journal-notify-crit-alert-emerg.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=journal-notify-crit-alert-emerg +GenericName=Journal-Notify Critical, Alert & Emergency +Comment=Notify about log with priority Critical, Alert & Emergency +Exec=journal-notify -m PRIORITY=0 -m PRIORITY=1 -m PRIORITY=2 -i dialog-warning +StartupNotify=false +Terminal=false +Type=Application +Categories= diff --git a/desktop/journal-notify-dhcpd.desktop b/desktop/journal-notify-dhcpd.desktop new file mode 100755 index 0000000..f74b67a --- /dev/null +++ b/desktop/journal-notify-dhcpd.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=journal-notify-dhcpd +GenericName=Journal-Notify DHCPD +Comment=Notify about DHCP activities +Exec=journal-notify -m SYSLOG_IDENTIFIER=dhcpd -e -r "^DHCPN?ACK" -i network-wired +StartupNotify=false +Terminal=false +Type=Application +Categories= diff --git a/desktop/journal-notify-sshd.desktop b/desktop/journal-notify-sshd.desktop new file mode 100755 index 0000000..efedcbf --- /dev/null +++ b/desktop/journal-notify-sshd.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=journal-notify-sshd +GenericName=Journal-Notify SSHD +Comment=Notify about SSH activities +Exec=journal-notify -m SYSLOG_IDENTIFIER=sshd -e -r "^(error:|Accepted)" -i security-high +StartupNotify=false +Terminal=false +Type=Application +Categories= -- cgit v1.2.3-54-g00ecf