Donald Tse wrote:

> after i read your replied, I can successfully to receive the coldstart
> trap in my SNMP
> Manager PC.(i think it means i had correctly configured SNMPv3 user
> and access right, is it correct?)

No - the coldStart trap is generated automatically by the agent.
It does not rely on the iquerySecName SNMPv3 user in any way.

> here are part of my log generate by command "snmpd -D"
> -----------------------------------------------------------------------------
>
> disman:event:table: Create trigger entry (snmpd.conf, Generate linkDown)
> disman:event:trigger:monitor: Running trigger (Generate linkDown)
> disman:event:fire: Event fired (snmpd.conf, linkDownTrap)
> ----------------------------------------------------------------------------


Hmmm... That seems to indicate that the linkDown event *is* being triggered.
So either it's not resulting in a trap being sent, or the trap's not
being received.

Which version of the agent are you using?

Try running the agent using

snmpd -f -Le -d -Ddisman

start it up, and then take down the link.
What output gets displayed?


>
> rather than using "linkupdownnotifications yes", i used the following
> statement which is copy from manual of snmpd.conf.
> " monitor -e linkDownTrap "Generate linkDown" ifOperStatus ==2 "
> I removed the "-r 60" option as I dun want the program report me the
> LinkStatus periodically, I want to configure the program send me
> trap/report only when it the LinkStatus.

The agent will *always* probe the status of the link at regular
intervals. That's how
it tells when the link has gone down. Dropping the "-r 60" option simply
means
that this is done once every 10 minutes (the default), instead of every
minute.
In either case, it will only report the problem once - when it first
notices that
the link has gone down.

Dave

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
  • Re: Re: Donald Tse
    • Re: Dave Shield
      • Re: Dave Shield

Reply via email to