Nagios alerts via Windows Messenger
Ciro Iriarte
cyruspy at gmail.com
Fri Apr 25 00:14:03 CEST 2008
2008/4/24, Goltz, Jim (NIH/NLM/LHC) [C] <jgoltz at mail.nih.gov>:
> 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
>
>
We use smbclient for notification and just specify the user instead of
the machine, we have a Windows Domain, probably that affects the
behaviour.
Ciro
-------------------------------------------------------------------------
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