Re: [snmpsim-users] sysuptime problem in version 0.2.2
Brought to you by:
elie
|
From: Bhagat, Y. (Yateen) <yat...@al...> - 2013-04-26 06:28:41
|
Hi Ilya
I tweaked my .snmprec file with following entry for the sysUpTime and restarted trhe snmpsim
1.3.6.1.2.1.1.3.0|67:numeric|rate=100,initial=123999999
A simple snmpwalk on this OID resulted in error, as given below
# snmpget -v2c -c AdminAdmin123 135.250.32.122 1.3.6.1.2.1.1.3.0
DISMAN-EVENT-MIB::sysUpTimeInstance = No Such Instance currently exists at this OID
I am using snmpsim version 0.2.2rc0
Thanks
Yateen
-----Original Message-----
From: Ilya Etingof [mailto:il...@gl...]
Sent: Thursday, April 25, 2013 5:54 PM
To: Bhagat, Yateen (Yateen)
Cc: snm...@li...; KARNAM, Mahendra (Mahendra)
Subject: Re: sysuptime problem in version 0.2.2
Hi Yateen,
I suspect the .snmprec file used for building responses does not have 'numeric' variation module configured for 1.3.6.1.2.1.1.3.0.
Could you check that? The example configuration would be:
1.3.6.1.2.1.1.3.0|67:numeric|rate=100,initial=123999999
You could check how the above config is working online:
$ snmpget -v2c -c public demo.snmplabs.com 1.3.6.1.2.1.1.3.0
-ilya
On 04/25/13 16:17, Bhagat, Yateen (Yateen) wrote:
> Hi Ilya
> While we were using the version 0.2.2rc0, we noticed that
> Sysuptime(1.3.6.1.2.1.1.3.0) field is not changing with time. It was
> changing in earlier version of snmpsim
> [root@ems151 ~]# snmpget -v2c -c AdminAdmin123 10.254.13.91
> 1.3.6.1.2.1.1.3.0
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (118198) 0:19:41.98
> [root@ems151 ~]# snmpget -v2c -c AdminAdmin123 10.254.13.91
> 1.3.6.1.2.1.1.3.0
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (118198) 0:19:41.98
> [root@ems151 ~]# snmpget -v2c -c AdminAdmin123 10.254.13.91
> 1.3.6.1.2.1.1.3.0
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (118198) 0:19:41.98
> -Regards, Yateen
|