Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Net::Dev::Tools::Syslog 1.0.0

    Download button

    No screenshots available
    Downloads: 456  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Scott Parsons | More programs
    Perl Artistic License / FREE
    January 6th, 2008, 14:52 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::Dev::Tools::Syslog description

    A Perl module to send, listen and parse syslog messages.

    Net::Dev::Tools::Syslog is a Perl module to send, listen and parse syslog messages.

    SYNOPSIS

    use Syslog;

    #
    # Syslog Parser
    #
    ($syslog, $error) = Syslog- >parse(
    -dump => < directory >,
    -append => < 0|1 >,
    -ext => < extension >,
    -report => < 0|1 >,
    -interval => < seconds >,
    -debug => < 0|1|2|3 >,
    -rx_time => < 0|1 >,
    -lastmsg => < 0|1 >,
    -min_date => < mm/dd/yyyy [hh:mm] >,
    -max_date => < mm/dd/yyyy [hh:mm] >,
    -device => < pattern >,
    -tag => < pattern >,
    -message => < pattern >,
    -format => < bsd|noHost|self >
    -moreTime => < 0|1 >
    -parseTag => < 0|1 >
    );

    $parse = $syslog- >parse_syslog_line(< line >);

    #
    # Syslog Send
    #
    ($send, $error) = Syslog- >send(
    -server => < address >,
    -port => < IP port >,
    -proto => < udp|tcp >,
    -facility => < facility >,
    -severity => < severity >,
    -timestamp => < timestamp >,
    -device => < device name >,
    -tag => < tag >,
    -pid => < pid >,
    -message => < message >,
    -strict => < 0|1 >,
    );

    $send- >send_message(
    -server => < address >,
    -port => < IP port >,
    -proto => < udp|tcp >,
    -facility => < facility >,
    -severity => < severity >,
    -timestamp => < timestamp >,
    -device => < device name >,
    -tag => < tag >,
    -pid => < pid >,
    -message => < message >,
    -strict => < 0|1 >,
    );

    #
    # Syslog Listen
    #
    ($listen, $error) = Syslog- >listen(
    -port => < IP port >,
    -proto => < udp|tcp >,
    -maxlength => < integer >
    -verbose => < 0|1|2|3 >,
    -fwd_server => < IP address >,
    -fwd_port => < integer >,
    -fwd_proto => < udp|tcp >,
    );


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    syslog message parser | send syslog messages | Perl module | parse | syslog | messages

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM