Hobbit Alert
list Ryan Jay B. Lapuz
Good day! Is it possible to receive alerts with information through winpopup message? Thanks! Ryan
list Rob MacGregor
▸
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
list Ryan Jay B. Lapuz
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
list Rob MacGregor
▸
On 7/23/07, Ryan Jay B. Lapuz <user-945139049f37@xymon.invalid> wrote:
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..
http://hobbitmon.sourceforge.net/docs/hobbit-alerts.html I've nothing similar to what you're talking about, but it's not very difficult to do.
▸
--
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
list Galen Johnson
You may want to check out the BBTray addon from deadcat. It may give you about what you need. =G=
▸
-----Original Message-----
From: Ryan Jay B. Lapuz [mailto:user-945139049f37@xymon.invalid]
Sent: Mon 7/23/2007 3:52 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Hobbit Alert
Good day!
Is it possible to receive alerts with information through winpopup message?
Thanks!
Ryan