Re: sysLog facility while running snmpd

Joe Warren-Meeks <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 10 Aug 2007, at 12:17, Ansa Ahammed wrote:

> Hi,
>
> 	While running snmpd , i want to enable sysLog facility. for that what
> configuration option We have to give.
>
> In this command , snmpd -Ls <facility>
> 	what the *facility* means ??
> Please give me a comment on this.

Facility is a syslog term, from man syslog.conf

      The facility describes the part of the system generating the  
message, and
      is one of the following keywords: auth, authpriv, console,  
cron, daemon,
      ftp, kern, lpr, mail, mark, news, ntp, security, syslog, user,  
uucp, and
      local0 through local7.  These keywords (with the exception of  
mark) cor-
      respond to similar ``LOG_'' values specified to the openlog(3) and
      syslog(3) library routines.

If I were you, I would use "snmpd -Ls local1" to start with.

  -- joe.




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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.