Nagios alerts via Windows Messenger

Goltz, Jim (NIH/NLM/LHC) [C] jgoltz at mail.nih.gov
Thu Apr 24 18:19:38 CEST 2008


This may be an oft-asked question, but I haven't found any mention in
recent archives.

I'm experimenting with using the Windows Messenger service (NOT MSN
Messenger) to send alerts.  Basically Nagios calls "smbclient -M
some_host", and a message pops up on some_host with whatever text I pipe
into smbclient.

The problem is, using smbclient I need to specify which host to send the
message to.  I'd much rather send the message to whichever host a
particular user is logged into.  I know it's possible: running "net send
username text_of_message" in a Windows command shell will do this.  But
I don't know what SMB domain magic happens to tell "net" what machine
"username" is logged into.

Has anyone ever successfully done this, perchance?

--
Jim Goltz <jgoltz at mail.nih.gov>
Contractor, Lockheed Martin
National Library of Medicine
 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list