Re: DEBUGMSGTL() and snmp_log() messages

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGaDHv2h=4Sfn9Yug6-Of4yzZ5A_LHk9XynEkD-OVfqPTQ@mail.gmail.com>
On 25 January 2012 15:49, Simon Chamlian <[email protected]> wrote:
> How do I activate the DEBUGMSGTL() messages?

   $ man snmpcmd

       -D TOKEN[,...]
              Turn on debugging output for the given TOKEN(s).


> Where does the messages go (in a file, console)?

LOGGING OPTIONS
       The mechanism and destination to use for logging of warning  and  error
       messages  can  be  controlled  by  passing various parameters
to the -L flag.

       -Le    Log messages to the standard error stream.

       -Lf FILE
              Log messages to the specified file.

       -Lo    Log messages to the standard output stream.

       -Ls FACILITY
              Log messages via syslog, using the specified facility
('d' for LOG_DAEMON,
              'u' for LOG_USER, or '0'-'7' for LOG_LOCAL0 through LOG_LOCAL7).


The default for client-side commands will be to display everything to
the console.
The default for the agent is typically to log things through 'syslog'



> How do I activate the snmp_log() messages?

These should be active by default

> Where does the messages go (in a file, console)?

See above

Dave

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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.