On Thu, Apr 24, 2008 at 12:19:38PM -0400, Goltz, Jim (NIH/NLM/LHC) [C] wrote: > 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?
I haven't, but I would suggest that it might be productive to aim tcpdump at that segment and let Windows do it. You might gain some useful insight as to how they're doing it... which combined with the smbclient sources, might tell you if it's possible. Of course, that's probably a last resort, but at least it's one you have. :-) Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) ------------------------------------------------------------------------- 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 [email protected] 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
