if the goal is to notify a windows user and you know the windows command to
do this,
Why not use NRPE or NC_NEt's runscript to run a script that preforms
thisaction as part of your notification command?
Tony (Author of NC_NEt)
On Thu, Apr 24, 2008 at 12:19 PM, Goltz, Jim (NIH/NLM/LHC) [C] <
[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED]>
> 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
> [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
>
-------------------------------------------------------------------------
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