Notify via Growl?

Israel Brewster israel at frontierflying.com
Wed May 20 23:39:43 CEST 2009


On May 20, 2009, at 9:52 AM, Mathieu Gagné wrote:

> 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! :)
>

Which is basically the same thing as hacking the Python script except  
for a) having to start from scratch, and b) having to work in a  
language I have little experience with :-) I was sort of hoping  
someone had already done the above steps and would be willing to  
share :-D Oh well, it won't take more than a couple of hours to whip  
the Python into shape, and has the advantage of being self-contained,  
aside from some standard Python modules (so no installing from CPAN or  
the like). Thanks for the suggestion though :-)

-----------------------------------------------
Israel Brewster
Computer Support Technician II
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------


> --
> Mathieu


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
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