• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Any way to define what kind of notifications to send on growl?

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 1 Posters 720 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    Eskir
    last edited by Nov 26, 2015, 1:42 PM

    Hey guys, I'm new to this whole thing and I've been wondering.

    Right now I have PFSense running on a Zbox with 4 Interfaces, and I want to use Growl to push a notification whenever one of the interfaces goes down or becomes unavailable.

    I've tested Growl on PFsense and it works a charm but I'm kind of missing any info what so ever on how I can tell PFsense what and when to send notifications.

    I also tried writing a small PERL script, but that hasn't gone anywhere since the script cancels out at registering an action (Using Growl::GNTP) with the message

    Missing key hash at /usr/local/lib/perl5/site_perl/Growl/GNTP.pm line 114.
    

    I'm completely new to Perl as well so it's safe to say I'm lost.

    Here's the Perl thing by the way:

    use strict;
    use warnings;
    use Growl::GNTP;
    
    my $growl = Growl::GNTP->new(
                            PeerHost=>"192.168.2.30",
                            PeerPort=>23053,
                            AppName=>"PFSenseTest",
                            AppIcon=>"",
                            Password=>"",
                            PasswordHashAlgorithm=>"",
                            EnvryptAlgorithm=>""
                            );
    
    $growl->register(
                    [
                            {
                                    Name => "PFSENSE-GrowlTEST",
                                    DisplayName => "PFSENSETEST",
                                    Enabled => "True",
                                    Sticky => "False",
                                    Priority => 0,
                                    Icon => ""
                            }
                    ]
            );
    
    $growl->notify(
                    Event => "PFSENSE-GrowlTEST",
                    Title => "test",
                    Message => "This is a test"
            );
    
    
    1 Reply Last reply Reply Quote 0
    • E Offline
      Eskir
      last edited by Dec 2, 2015, 2:07 PM

      Bump?

      Sorry to be double posting but does seriously no one know anything about this?

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received