Re: Sending traps using Perl

2011-09-29 Thread Ali . Bruce
I have some further questions/observations on this subject. The reason that I have not been able to send my own Enterprise specific trap is that it does not have any additional var-binds associated with the trap i.e I want to send the trap with an empty associated var-bind list. e.g Bart in

Re: Sending traps using Perl

2011-09-29 Thread Fulko Hew
On Thu, Sep 29, 2011 at 5:26 AM, ali.br...@selex-comms.com wrote: I have some further questions/observations on this subject. The reason that I have not been able to send my own Enterprise specific trap is that it does not have any additional var-binds associated with the trap i.e I want to

Re: Sending traps using Perl

2011-09-29 Thread Ali . Bruce
Fulko, I understand your point that a LinkUp trap needs the additional ifIndex varbind. I didn't understand why the example I had been given by Bart also contained a sysDescr var-bind. My point is that I wish to send an enterprise specific trap that contains no additional var-binds. How do I

Re: Sending traps using Perl

2011-09-29 Thread Fulko Hew
On Thu, Sep 29, 2011 at 8:56 AM, ali.br...@selex-comms.com wrote: Fulko, I understand your point that a LinkUp trap needs the additional ifIndex varbind. I didn't understand why the example I had been given by Bart also contained a sysDescr var-bind. My point is that I wish to send an

Re: Sending traps using Perl

2011-09-29 Thread Ali . Bruce
Fulko, I also tried to send my trap (oid 1.3.6.1.4.1.2257.11.1.1.0.0.9) without any additional var-binds as an SNMPv1 trap and it worked. The problem seems to be sending it as an SNMPv2 trap, SNMPv1 is OK. As for the sysUpTime, each time I run the command the timeticks value has incremented

Re: Sending traps using Perl

2011-09-29 Thread Fulko Hew
On Thu, Sep 29, 2011 at 10:20 AM, ali.br...@selex-comms.com wrote: Fulko, I also tried to send my trap (oid 1.3.6.1.4.1.2257.11.1.1.0.0.9) without any additional var-binds as an SNMPv1 trap and it worked. The problem seems to be sending it as an SNMPv2 trap, SNMPv1 is OK. As for the

Re: Sending traps using Perl

2011-09-29 Thread Bart Van Assche
On Wed, Sep 28, 2011 at 6:23 PM, ali.br...@selex-comms.com wrote: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3384772387) 391 days, 18:08:43.87 SNMPv2-MIB::snmpTrapOID.0 = OID: IF-MIB::linkUp IF-MIB::ifIndex.1 = INTEGER: 1 SNMPv2-MIB::sysLocation.0 = STRING: Here The timeticks

Re: Sending traps using Perl

2011-09-29 Thread Ali . Bruce
Bart, I don't believe that is the problem. The actual amount that the timeticks increases between sending commands is correct, it's as if it's just not been initialised correctly. It doesn't seem to be a case of dividing the value by ten. Also, even rebooting my PC doesn't seem to have reset

Re: Sending traps using Perl

2011-09-29 Thread Bart Van Assche
On Thu, Sep 29, 2011 at 5:41 PM, ali.br...@selex-comms.com wrote: I don't believe that is the problem. The actual amount that the timeticks increases between sending commands is correct, it's as if it's just not been initialised correctly. It doesn't seem to be a case of dividing the value

Re: Document for modifying the mib2c generated code

2011-09-29 Thread N. Karthikeyan
Hi Dave/Dheeraj, Thanks a lot for your pointers and help.     I have used the mib2c.table_data.conf with cache configuration to generate a code. After fixing the bugs in the generated code, It works fine now.     I just want to list the problems that I have fixed in this generated code.

snmpd coredump location

2011-09-29 Thread N. Karthikeyan
Hi All,     I don't see a coredump in the current directory, when the snmpd crashed with 'Segmentation fault'. lnx:928 limit coredumpsize coredumpsize 1024000 kbytes lnx:929 lnx:930 net-snmp-config --version 5.3.2.2 lnx:931     I am able to get a coredump for other applications that are

Re: Regarding GetBulk

2011-09-29 Thread Pete Snmp
Dave, This is regarding views and Master/Sub-Agent issues. 1)We use SNMP v2 for our box. Our client saying we can implement Views in v2, where as we know this is part of v3? Do we have views in V2? as far as I know Views exists in V3 only ! 2)Apart from that , I have a doubt regarding Master