Logging with embedded Perl

Ryan Holliday <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAJ79KB9nna1YfK=UfAH=-D3wtZZxH_bD1TWcm78FS79CFUt=kQ@mail.gmail.com>
Hi all,

I have an embedded PERL module that I am writing for a custom MIB. When we
start the demon we use the options '-LS0-4d -Lf /dev/null' and expect all
the log files to get dumped to /dev/null. This seems to work under normal
operations, but when I add 'perl do /path/to/pl' to my snmpd.conf file it
appears to override those settings. I'm seeing log message appear on the
console instead of going to /dev/null and I'm also getting "Connection from
UDP:" messages which I anticipated being removed due to the 0-4d option
that it's passed.

Why would net-snmp treat logging differently if I have an embedded PERL
agent?

This is for snmpd 5.5 running on RHEL6.3.

Thanks,
-Ryan Holliday

------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.