Notify via Growl?

Mathieu Gagné mgagne at iweb.com
Wed May 20 19:52:28 CEST 2009


Hi,

On 5/20/09 1:00 PM, Israel Brewster wrote:
> I have nagios running on an openBSD box, and I would like to use
> Growl's network notification options to pop-up alert messages on my
> Mac for certain situations. Does anyone have a script or program that
> can do this already? I've looked around a bit, but all I've found seem
> to assume that nagios is running on the Mac, which is not the case
> here. I've got the Growl dev tools, which come with a python script it
> looks like I could hack to work, but before I spend too much time on
> that I wanted to see if it has already been done. Thanks.

1) Install Net::Growl from CPAN: 
http://search.cpan.org/~nmcfarl/Net-Growl-0.99/
2) Allow network notification in Growl on your Mac and set a password.
3) Create a notify script using it based on the provided example.
4) Enjoy! :)

--
Mathieu

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
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