Hi,
Can anybody help me out to solve the problem described below.
Thanks
Praseed.
----- Original Message ----
From: Praseed V Gopal <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, 25 October, 2007 5:31:55 PM
Subject: How to make snmp agent send linkUp & linkDown traps?
Hi all,
Ref: Net-Snmp 5.4
I am trying to make my SNMP agent fire linkUp & linkDown traps.
I'm not able to do it, following are the details.
1) /var/snmp/snmpd.conf
---------------------------------
createUser internal MD5 "the first sign of madness" (line 467)
iquerySecName internal
rouser internal
linkUpDownNotifications yes (line 473)
trapcommunity public
trap2sink 172.21.10.10
=================================
2) After starting the snmpd, I got the following error messages
(from "/var/log/snmpd.log")
/etc/snmp/snmpd.conf: line 467: Error: Unknown authentication protocol
trigger OID: ifOperStatus
/etc/snmp/snmpd.conf: line 473: Error: unknown monitor OID
trigger OID: ifOperStatus
/etc/snmp/snmpd.conf: line 473: Error: unknown monitor OID
net-snmp: 3 error(s) in config file(s)
=========================
3) I've built the SNMP with
--with-out-mib-modules="disman/event/mteEventConf" -----Line 1
--with-mibs-modules="disman/event-mib" -------Line 2
--with-mibs="DISMAN-EVENT-MIB.txt" ----------Line 3
(If I don't use "Line 1", I get the error
mibgroup/disman/event/mteEventConf.c: In function 'parse_notificationEvent':
mibgroup/disman/event/mteEventConf.c:189: error: dereferencing pointer to
incomplete type
mibgroup/disman/event/mteEventConf.c:189: error: dereferencing pointer to
incomplete type
mibgroup/disman/event/mteEventConf.c:192: error: dereferencing pointer to
incomplete type
)
===================
4) /usr/share/snmp/mibs/ in agent host contains,
DISMAN-EVENT-MIB.txt, IF-MIB.txt and
SNMPv2-MIB.txt
==============
Obviously due to the configuration or build option error, my SNMP agent is not
firing the linkUp & linkDown traps.
What should I do?
Regards
Praseed
Share files, take polls, and discuss your passions - all under one roof.
Click here.
Get the freedom to save as many mails as you wish. To know how, go to
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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