Re: Sending message to message tray
- From: "G. Michael Carter" <mikey carterfamily ca>
- To: "Jasper St. Pierre" <jstpierre mecheye net>, gnome-shell-list <gnome-shell-list gnome org>
- Subject: Re: Sending message to message tray
- Date: Wed, 4 Jan 2012 14:00:28 -0500
I'm trying to run it as nagios user. The monitoring is done from my computer so I wanted a notification to come up when a service was down.
Managed to get the following working in a cron job:
dbus-send --print-reply --dest=org.freedesktop.Notifications /org/freedesktop/Notifications \
org.freedesktop.Notifications.Notify string:"nagios" int32:1 string:"warning" string:"$1" string:"$2" array:string:"" dict:string:boolean:"transient","false" int32:10000
But still has to run as the user currently logged on.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]