Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sysInfo variables not displayed in GetIF

19 views
Skip to first unread message

Gert Cronje

unread,
Dec 9, 2009, 1:45:59 AM12/9/09
to
Hi.

I'm working on an embedded linux device (avr32 with buildroot-2.2.0 and
kernel 2.6.25).

The net-snmp installation works very nicely, and I can walk, set and get
all the variables I want.

The problem, however is that the sysInfo variables are not detected
correctly with the getif tool (2.2 and 2.3.1) under windows. It says
"Sysinfo variables OK" but does not display them. Walking the device
with the MBrowser page is also OK and the sysinfo variables are
displayed correctly there.

If I do a walk using linux I get:

SNMPv2-MIB::sysDescr.0 = STRING: RT Systems TM3 Unit, MB SW Ver 2.11,
Webserver Ver 2.03
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.32278.1
SNMPv2-MIB::sysUpTime.0 = Timeticks: (8625) 0:01:26.25
SNMPv2-MIB::sysContact.0 = STRING: root
SNMPv2-MIB::sysName.0 = STRING: crmu
SNMPv2-MIB::sysLocation.0 = STRING: Unknown
SNMPv2-MIB::sysServices.0 = INTEGER: 10
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (3439967030) 398 days, 3:27:50.30

So the info is there.

Any idea why getif does not show it?

The same goes for a standard net-snmp installation on ubuntu. Getif does
not show the sysinfo variables. Is there a configuration option I'm missing?

Thanks.

Gert


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Dave Shield

unread,
Dec 9, 2009, 3:46:17 AM12/9/09
to
2009/12/9 Gert Cronje <ge...@obsisp.net>:

> The problem, however is that the sysInfo variables are not detected
> correctly with the getif tool (2.2 and 2.3.1) under windows. It says
> "Sysinfo variables OK" but does not display them. Walking the device
> with the MBrowser page is also OK and the  sysinfo variables are
> displayed correctly there.
>
> Any idea why getif does not show it?

Assuming the same configuration (version, community, etc) is
used for both, then no. It sounds as if the agent is behaving
correctly.
You probably need to talk to the getIf people, rather than us.

Dave

Gert Cronje

unread,
Dec 9, 2009, 4:16:52 AM12/9/09
to
Dave Shield wrote:
> 2009/12/9 Gert Cronje <ge...@obsisp.net>:
>
>> The problem, however is that the sysInfo variables are not detected
>> correctly with the getif tool (2.2 and 2.3.1) under windows. It says
>> "Sysinfo variables OK" but does not display them. Walking the device
>> with the MBrowser page is also OK and the sysinfo variables are
>> displayed correctly there.
>>
>> Any idea why getif does not show it?
>>
>
> Assuming the same configuration (version, community, etc) is
> used for both, then no. It sounds as if the agent is behaving
> correctly.
> You probably need to talk to the getIf people, rather than us.
>
> Dave
>
Hi Dave.

Thanks for the reply. Unfortunately it seems as if development on the
getIf tool has stopped. The last update of the web site was in 2004, so
I'm not too confident of a reply to my query. But it still seems to be a
very popular utility, and our client uses it. Because it does not
display the sysinfo variables, they are saying our SNMP implementation
is broken. But since it does the same on a stock standard Ubuntu
net-snmp install, I'm quite confident that it is not my embedded install
that broke something.

Does anybody have a net-snmp setup that actually does show this info in
getIf?

Thanks for the help.

Gert

Dave Shield

unread,
Dec 9, 2009, 5:49:19 AM12/9/09
to
2009/12/9 Gert Cronje <ge...@obsisp.net>:

> Thanks for the reply. Unfortunately it seems as if development on the
> getIf tool has stopped. The last update of the web site was in 2004, so
> I'm not too confident of a reply to my query. But it still seems to be a
> very popular utility, and our client uses it. Because it does not
> display the sysinfo variables, they are saying our SNMP implementation
> is broken. But since it does the same on a stock standard Ubuntu
> net-snmp install, I'm quite confident that it is not my embedded install
> that broke something.


The other thing to check would be what version/community getIf
is using, and how the access control on the two servers are
configured.
That's the most common cause of not being able to see anything.

Dave

Mike Ayers

unread,
Dec 9, 2009, 4:12:39 PM12/9/09
to

> From: Gert Cronje [mailto:ge...@obsisp.net]
> Sent: Wednesday, December 09, 2009 1:17 AM


> Thanks for the reply. Unfortunately it seems as if development on the
> getIf tool has stopped. The last update of the web site was in 2004, so
> I'm not too confident of a reply to my query.

Welcome to "that other inheritance" - you've just inherited the getIf support job! Do you have access to the source?

> But it still seems to be
> a
> very popular utility, and our client uses it. Because it does not
> display the sysinfo variables, they are saying our SNMP implementation
> is broken. But since it does the same on a stock standard Ubuntu
> net-snmp install, I'm quite confident that it is not my embedded
> install
> that broke something.

Correct. They are insisting that you support the getIf tool for them. That's your call, but we can't help you. It's a buggy little tool. I also see the "sysInfo variables OK" problem. I note that getIf neither honors DNS search path nor allows more than 30 characters (bytes?) for host name, so I can't reach my machine by name. My suspicion, BTW, is that there is some sort of validation rule being run on the data that is barfing and causing the data to not get displayed, for what that's worth.


HTH,

Mike

0 new messages