Re: Little help! (net-snmp 5.5 under Cygwin on WinXP)

rakesh zingade <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Mon, Feb 22, 2010 at 11:02 AM, Ben Kamen <[email protected]> wrote:

> My snmp.conf contains: (does it even matter?)
>
> mibdirs C:/cygwin/share/snmp/mibs;C:/cygwin/home/bkamen/mibs
> persistentDir C:/cygwin/snmp/persist
> tempFilePattern C:/cygwin/temp/snmpdXXXXXX
> mibs +TZ-MIB;TRANZEO-MIB;MICROCHIP-MIB
>
> ----------------------------------------------------
> My snmptrapd.conf contains: (does it even matter?)
>
> authCommunity log public
> logOption f /cygwin/var/log/snmptrapd.log
>
>
> ========================================================================
> I'm starting up the trap daemon with the following command:
>
> snmptrapd -m "+TZ-MIB" -M
> "c:/cygwin/share/snmp/mibs;c:/cygwin/home/bkamen/mibs" -a -Lo
>
> (my created MIB's are in my homedir)
>
> I'm assuming the c:/ is ok (the docs list that the parms should be COLON
> separated when they
> seem to need being SEMI-COLON separated.
>
> In any case, when my device tosses out TRAP's, I get this:
>
> $ snmptrapd -L o -m "ALL" -M "c:/cygwin/share/snmp/mibs;c
> NET-SNMP version 5.5
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> Can't determine trap identifier; refusing to authorize it
> 2010-02-21 23:16:27 NET-SNMP version 5.5 Stopped.
> Stopping snmptrapd
> ====================================================================
>
> I'm using the same MIB file for WireSHark -- and it decodes the packet just
> fine.
> so I'm missing something on my setup for SNMPtrapd.exe
>
> Little help?
>
> Thanks in advance,
>
>  -Ben
>
>
> --
> Ben Kamen - O.D.T., S.P.
>
> =============================================================================
> Email: bkamen AT benjammin DOT net              Web:
> http://www.benjammin.net
>
> Fortune says:
> Once, there was NO fun ... This was before MENU planning, FASHION
> statements or NAUTILUS equipment ... Then, in 1985 ... FUN was
> completely encoded in this tiny MICROCHIP ... It contain 14,768 vaguely
> amusing SIT-COM pilots!!  We had to wait FOUR BILLION years but we
> finally got JERRY LEWIS, MTV and a large selection of creme-filled
> snack cakes!
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> 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
>
>
>My snmptrapd.conf contains: (does it even matter?)

>authCommunity log public
>logOption f /cygwin/var/log/snmptrapd.log

you can try below config line

authCommunity   log,execute,net    public


-- 
Rakesh P. Zingade
+919420626099

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

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