Re: ./snmpd -f -L -c /usr/local/share/snmp/mibs/snmpd.conf & snmpd routine auto termination problem

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2010/1/21 Alexander King <[email protected]>:
>>>>> is OK, all the problem was triggered by my private routine(uit subagent)
>>>>>I attached my uit.c file,would you mind take a few minutes to check it
>>>>> for me ?

Sorry - I've got a real (paid) job that needs to take precedence.
I don't have the time to search for problems in your code.

You will learn more by tracking this down yourself.



>>>>>in my snmpd.conf
> trapsink localhost
> trap2sink localhost
> informsink loaclhost
> trapsink 172.19.50.12
> trap2sink 172.19.50.12
> informsink 172.19.50.12

Why are you sending three copies of every trap to each destination?

Which bit of
   "Note:  It is not normally appropriate to list two (or all three)
              sink directives with the same destination."

(in the snmpd.conf man page) or

   "Note also that you typically only want *one* of the settings:

        trapsink   localhost
        trap2sink  localhost
        informsink localhost

  Including two (or all three) of these lines in the snmpd.conf file will
  will result in multiple copies of every notifications being sent for
  each call to 'send_easy_trap()' (or 'send_v2trap()')."

(in the FAQ) did you not understand?




>>>>>Above are some entries configuration related trap, I saw 'trap2sink
>>>>> 172.19.50.12:162   public ',I donot know which one is right.

Then please read the documentation, and think about what behaviour
you actually want.   Then configure the agent accordingly.


Dave

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
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.