Where can I find the info about the machine like the hostname, status, date
so I can put them in the script and use it for the winpopup message? I'm
still a newbie and I'll appreciate more if you can give me examples..
Thanks again.
----- Original Message -----
From: "Rob MacGregor" <user-07c9d92ae079@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Monday, July 23, 2007 4:56 PM
Subject: Re: [hobbit] Hobbit Alert
On 7/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:
Good day!
Is it possible to receive alerts with information through winpopup
message?
You can have an alert call a script, so if you write the script the
answer is yes :)
The core command you're looking for is in the samba suite - "smbclient
-M <HOST>", to send a message of "Goodbye" to machine "wassit" you'd
do:
echo "Goodbye" | smbclient -M wassit
A quick Google for "samba winpopup" provided a few dozen examples.
--
Please keep list traffic on the list.
Rob MacGregor
Whoever fights monsters should see to it that in the process he
doesn't become a monster. Friedrich Nietzsche