[mib2c] getting node Range

2011-10-05 Thread GAVA Cédric
Dear net-snmp team I try to figure out how to obtains the range of a given node... I want to do smthg like : @foreach $var scalar@ @if $var.ranges ... @end@ But don't know how to acces the range, And I can' t mange to find how to use @foreach $RANGE_START, $RANGE_END range node@ to

Re: Hardware Asset Information

2011-10-05 Thread Dave Shield
On 4 October 2011 23:37, Kaushal Shriyan kaushalshri...@gmail.com wrote: root@host0129:/etc/snmp# snmpwalk -v 2c -c local localhost nsExtendOutput1Line.dmi = STRING: /dev/mem: Permission denied That looks as if the SNMP agent can't read the necessary information from the kernel.

Re: Sending traps using Perl

2011-10-05 Thread Bart Van Assche
On Tue, Oct 4, 2011 at 3:57 PM, ali.br...@selex-comms.com wrote: From Bart's statement below it is suggested that I can directly obtain the value of sysUpTime from my SubAgent - How do I obtain this from my Perl module? What the Perl SNMP module does is to include the time elapsed since

Re: Sending traps using Perl

2011-10-05 Thread Ali . Bruce
Bart, Thanks for that. The sysUpTime seems to be OK now. Do you know if the two patches that you have sent to me will be contained in any forthcoming releases? Regards, Ali Please consider the environment before printing this email --- This

Re: Sending traps using Perl

2011-10-05 Thread Bart Van Assche
On Wed, Oct 5, 2011 at 3:49 PM, ali.br...@selex-comms.com wrote: Thanks for that. The sysUpTime seems to be OK now. Do you know if the two patches that you have sent to me will be contained in any forthcoming releases? These patches will be included in all future 5.7 and 6.0 releases. And

Re: Sending traps using Perl

2011-10-05 Thread Bart Van Assche
On Wed, Oct 5, 2011 at 5:12 PM, Bart Van Assche bvanass...@acm.org wrote: On Wed, Oct 5, 2011 at 3:49 PM, ali.br...@selex-comms.com wrote: Thanks for that. The sysUpTime seems to be OK now. Do you know if the two patches that you have sent to me will be contained in any forthcoming

Re: Hardware Asset Information

2011-10-05 Thread Kaushal Shriyan
On Wed, Oct 5, 2011 at 2:14 PM, Dave Shield d.t.shi...@liverpool.ac.uk wrote: On 4 October 2011 23:37, Kaushal Shriyan kaushalshri...@gmail.com wrote: root@host0129:/etc/snmp# snmpwalk -v 2c -c local localhost nsExtendOutput1Line.dmi = STRING: /dev/mem: Permission denied That looks as if the