Re: snmptrapd Configuration

"Hong Yin Lim" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I have done the snmptrapd.conf as advised by Dave.
However, when I run the snmptrapd command:
the snmptrap daemon doesn't run.

I would expect the following output:
[limhy@localhost ~]$ /usr/sbin/snmptrapd −Le −d 192.168.15.71:4097 2>&1 |
tee /tmp/trapd.out
NET-SNMP 5.3.1


However, I just get the bash command return:
[limhy@localhost ~]$ /usr/sbin/snmptrapd −Le −d 192.168.15.71:4097 2>&1 |
tee /tmp/trapd.out
[limhy@localhost ~]$

Can anyone advise on this problem?

Many thanks.

Regards,
hy


> I want to use the snmptrapd daemon

> Warning: no access control information configured.
> This receiver will *NOT* accept any incoming notifications.
>
> I need to configure the snmptrapd.conf so that
> disableAuthorization shows 'yes'

That's right, yes.



> There is no snmptrapd.conf file in my system (Fedora 6).
> Does this mean I have to create the snmptrapd.conf myself?

Correct.


> Can someone please kindly send me a sample of the snmptrapd.conf so that I
> can refer to?

     disableAuthorization  yes

Dave


On 10/16/07, Hong Yin Lim <[email protected]> wrote:
>
> Hi,
>
> I am new to net-snmp.
> I want to use the snmptrapd daemon & I want to run the following command:
> usr/sbin/snmptrapd −L e −d 192.168.x.x:4097 2>&1 | tee /tmp/trapd.out
>
> Instead, I got the following message:
>
> Warning: no access control information configured.
> This receiver will *NOT* accept any incoming notifications.
>
> I've read several postings, & from what I've learned I need to configure
> the snmptrapd.conf so that
> disableAuthorization shows 'yes'
>
> However, when I run snmpconf: I got the following files:
>
>    1:  ./snmpd.conf
>    2:  /etc/snmp/snmpd.conf
>
> There is no snmptrapd.conf file in my system (Fedora 6).
>
> Does this mean I have to create the snmptrapd.conf myself?
>
> Can someone please kindly send me a sample of the snmptrapd.conf so that I
> can refer to?
>
> Thank you very much.
>
> Regards,
> hy
>
>

-------------------------------------------------------------------------
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.