On Mon, Apr 12, 2010 at 2:48 PM, Dave Shield <[email protected]>wrote:
> On 12 April 2010 09:33, vaibhav khatavkar <[email protected]>
> wrote:
> > But I am unable to get "link up " and "link down". How can I get that
> worked ?
>
> See the 'snmpd.conf(5)' man page entry on "linkUpDownNotification".
>
> Note that you will need to create a suitable SNMPv3 user,
> and configure this to be used for internal queries.
> (See 'iquerySecName' as well)
>
> Dave
>
Hi all,
Here is snapshot of my snmpd.conf :
______________________________________________________________
createUser -e 0x8000000001020304 traptest SHA mypassword AES
rouser traptest noauth
agentSecName traptest
iquerySecName traptest
defaultMonitors yes
linkUpDownNotifications yes
________________________________________________________________
I dont get any notification about link up / down from client. I use to check
it by executing command :
#snmptrapd -m all -Le -f -d
The above command shows me notifications when client's snmpd is started /
stopped
I then tried command :
#snmpd -m all -Le -f -d
It showed me some output when my clients link goes up / down. The snapshot
of output is as follows :
Received 1 bytes from callback: 1 on fd 3
0000: 00 .
Received SNMP packet(s) from callback: 1 on fd 3
GET message
-- RFC1213-MIB::ifIndex.2
-- RFC1213-MIB::ifAdminStatus.2
-- RFC1213-MIB::ifOperStatus.2
Sending 1 bytes to callback: 1 on fd 3
0000: 88 .
Received 1 bytes from callback: 2 on fd 5
0000: 00 .
Sending 1 bytes to callback: 2 on fd 5
0000: 88 .
Received 1 bytes from callback: 1 on fd 3
0000: 00 .
Received SNMP packet(s) from callback: 1 on fd 3
GETNEXT message
-- RFC1213-MIB::ifOperStatus
Sending 1 bytes to callback: 1 on fd 3
0000: 88 .
The question is I just want IP address of the client who is
sending this notification. How can i get it? Have I configured my snmp
manager right to receive snmpv3 notifications?
How can I see the Link up/down notification by using command snmptrapd ??
--
with regards,
vaibhav
------------------------------------------------------------------------------
Download Intel® 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