<div>if the goal is to notify a windows user and you know the windows command to do this,</div>
<div> </div>
<div>Why not use NRPE or NC_NEt's runscript to run a script that preforms thisaction as part of your notification command?</div>
<div> </div>
<div>Tony (Author of NC_NEt)<br><br></div>
<div class="gmail_quote">On Thu, Apr 24, 2008 at 12:19 PM, Goltz, Jim (NIH/NLM/LHC) [C] <<a href="mailto:jgoltz@mail.nih.gov">jgoltz@mail.nih.gov</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">This may be an oft-asked question, but I haven't found any mention in<br>recent archives.<br><br>I'm experimenting with using the Windows Messenger service (NOT MSN<br>
Messenger) to send alerts.  Basically Nagios calls "smbclient -M<br>some_host", and a message pops up on some_host with whatever text I pipe<br>into smbclient.<br><br>The problem is, using smbclient I need to specify which host to send the<br>
message to.  I'd much rather send the message to whichever host a<br>particular user is logged into.  I know it's possible: running "net send<br>username text_of_message" in a Windows command shell will do this.  But<br>
I don't know what SMB domain magic happens to tell "net" what machine<br>"username" is logged into.<br><br>Has anyone ever successfully done this, perchance?<br><br>--<br>Jim Goltz <<a href="mailto:jgoltz@mail.nih.gov">jgoltz@mail.nih.gov</a>><br>
Contractor, Lockheed Martin<br>National Library of Medicine<br><br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br>Don't miss this year's exciting event. There's still time to save $100.<br>
Use priority code J8TL2D2.<br><a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>