Re: Error

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 22/01/07, Anurag Gupta <[email protected]> wrote:
> Hello Sir
>  i have changed According As per your instruction. Still same status.one
> more thing is incomplete. So i need This Complete.So that i can  Configuring
> snmptrapd
> http://www.net-snmp.org/tutorial/tutorial-5/demon/snmptrapd.html.

>  #  snmpd -Dread_config -H 2>&1 | grep "config path" | sort -u
>  read_config: config path used:
> /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp:y

That looks as if Thomas' suspicion was correct, and you answered
one of the "configure" prompts wrongs.

I would suggest that you start again from scratch,
Delete the source tree completely, unpack the tarball to give you
a clean copy, and re-run "configure".   Then accept the default values
(i.e. press Enter) rather than supplying other values.

I'd also suggest that you start with a very basic snmpd.conf file, rather
than trying to use 'snmpconf' to generate it.

Just create the file /usr/local/share/snmp/snmpd.conf, containing the following

    rocommunity public
    trap2sink  localhost:162   public

and the file /usr/local/share/snmp/snmptrapd.conf, containing the following

    disableAuthorization yes

That should be sufficient to get you started.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.