Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Sys::Syslog help

by Cat Herder (Initiate)
on Nov 25, 2012 at 00:08 UTC ( [id://1005439]=perlquestion: print w/replies, xml ) Need Help??

Cat Herder has asked for the wisdom of the Perl Monks concerning the following question:

Hello,

I am trying to send event messages from one server to another, but they are not going through.

Is there any way to have Sys::Syslog spit out an error as to why it is failing? This is obviously a system issue because I moved the script to another box, and it works fine

Thanks,

Cat Herder

Replies are listed 'Best First'.
Re: Sys::Syslog help
by Tommy (Chaplain) on Nov 25, 2012 at 04:02 UTC

    What you've described is a system issue... and you want Perl to point out what's wrong with the system, essentially. The problem with this is simply that the module doesn't appear to have been written to troubleshoot system configurations for syslog. It tests for certain conditions and failure scenarios and provides error messages for such (you can see that from the source code.) However this is limited to only the problems it can detect. Issues further upstream in your system configuration aren't even examined by this module.

    After having looked at the source code briefly myself, I don't see anything there which is going to help you troubleshoot your system setup.

    I feel your pain, and I'm sorry it's not working for you. Unfortunately I must say that I don't think approaching the problem with Sys::Syslog is the right way to troubleshoot the root cause. Best to work it out from the system level.

    Check your firewall rules on all machines, and vimdiff the config files. You'll figure it out, but not by using this module.

    --
    Tommy
    $ perl -MMIME::Base64 -e 'print decode_base64 "YWNlQHRvbW15YnV0bGVyLm1lCg=="'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1005439]
Approved by sundialsvc4
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-26 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found