Re: Problem with snmptrap

2007-07-18 Thread Eduardo Saavedra Cea
First al all thanks for your help. But the problem is yet unresolved. I know that my problem is ACCESS CONTROL. I read this section, but I dont understand very well. I found out that snmptrap loads the mibs from /usr/local/share/snmp/mibs not /usr/share/snmp/mibs/ where I thought. When I changed

read-create ACCESS for MIB Objects

2007-07-18 Thread Ansa Ahammed
Hi, * What is the speciality of MIB Objects with read-create ACCESS. Is these objects are writable. begin:vcard fn:Ansa Ahammed n:Ahammed;Ansa org:PROCSYS adr;dom:;;;Bangalore email;internet:[EMAIL PROTECTED] title:Design Engineer tel;cell:9901089085 version:2.1 end:vcard

RMON-MIB

2007-07-18 Thread Ansa Ahammed
Hi, * I am using net-snmp version 5.4. It has implementation code for Rmon-mib. I have added Rmon mib module to agent/mibgroup/default_modules.h -- config_require(Rmon) But when i tried snmpgetnext command for Objects from RMON-MIB , i was

Re: read-create ACCESS for MIB Objects

2007-07-18 Thread Dave Shield
On 18/07/07, Ansa Ahammed [EMAIL PROTECTED] wrote: * What is the speciality of MIB Objects with read-create ACCESS. Is these objects are writable. Such objects are always elements of a table. The significant factor here is that you can (at least potentially) create a new row in the table,

Re: RMON-MIB

2007-07-18 Thread Dave Shield
On 18/07/07, Ansa Ahammed [EMAIL PROTECTED] wrote: I want to know whether the Rmon mib module included in this net-snmp-5.4 version is already tested and anyone please help me in this regard. Please see the FAQ entry Does the agent support the RMON-MIB?

snmptrapd doesn't log SNMP trap messages

2007-07-18 Thread Thomas Falkenberg
Hello, I want to use the snmptrapd Daemon on a Linux Client to receive and log SNMP trap messages, which are send from an IBM TS3500 Tape Library. I can see the traps on the Linux client with tcpdump, but the snmptrapd-Daemon doesn't log it. I have tried to send Trap Version V1 and V2c,

Re: snmptrapd doesn't log SNMP trap messages

2007-07-18 Thread Dave Shield
On 18/07/07, Thomas Falkenberg [EMAIL PROTECTED] wrote: I can see the traps on the Linux client with tcpdump, but the snmptrapd-Daemon doesn't log it. Is the 'snmptrapd' daemon receiving the notifications? Try running it using the flag '-d', and see whether it displays a raw packet dump of the

how to make agent able to send traps?

2007-07-18 Thread [EMAIL PROTECTED]
HI all, Thanks to all your suggestion, I've completed the extension of net-snmp agent. Now I want to render it able to send traps. For example, I want that it send me a trap about an integer Managed Object everytime it becomes odd or even. How can i do it? I'have to modify my . c files

Re: snmptrapd doesn't log SNMP trap messages

2007-07-18 Thread Thomas Falkenberg
also with option snmptrapd -d, I can't see anything. But I can receive the messages with tcpdump. Can it be a firewall problem? Thomas Falkenberg Dave Shield [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18.07.07 14:54 To Thomas Falkenberg/Germany/[EMAIL PROTECTED] cc

Re: snmptrapd doesn't log SNMP trap messages

2007-07-18 Thread Thomas Falkenberg
We don't change any packages on the firewall with iptables. And the SNMP traps reach the destination host, because I see them with tcpdump. It this not an indication, that the firewall let pass the packets? Dave Shield [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 18.07.07 15:59 To Thomas

SNMPTRAP Problems

2007-07-18 Thread Livio Zanol Puppim
Hi everyone, I'm having a little problem with SNMPTRAPD.CONF: Everytime I receive a trap the traphandle command executes two times. The log is written only one time. Has anyone else see this happend? snmptrapd.conf:

Re: Ping detects LAN failure but snmpget Doesn't detect LAN failure

2007-07-18 Thread Mark Harper
Thanks for the information. I now poll ifOperStatus and that does detect a LAN interface change from Up to Down when a LAN cable is removed. Mark Mike Ayers wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Harper Sent: Tuesday, July 17, 2007 5:51 AM

RE: Problem with snmptrap

2007-07-18 Thread Mike Ayers
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eduardo Saavedra Cea I tried to configure ACCESS CONTROL with the follow lines in the snmpd.conf file: The snmptrapd is configured in the snmptrapd.conf file, not snmpd.conf. You can test this: condor:/etc/snmp #

How to implement traps?

2007-07-18 Thread [EMAIL PROTECTED]
HI all, i want to imlpement traps on my agent. I've read that one methode is to insert in snmpd.conf an instruction like this :monitor [options] NAME expression. for example: if i want that my snmp agent alerts me when an Object (OID2) passes beyond a threshold(30), i can write: monitor -r 30

snmptable error when used with LSR MIB

2007-07-18 Thread dasari dakshina
Hello, I am trying to read a table (Experimental LSR MIB The OID1.3.6.1.3.96.1.9 http://www.oidview.com/mibs/0/MPLS-LSR-MIB.html ) using the snmptable command. It errors out with Was that a table error. I have confirmed the OID number (belongs to a valid table) Also curously,the SNMP walk