I'm having problems installing the SCO Hostmib. I'm running
OpenServer 5.05
I've followed Jeff Lieberman's installation instructions and
everything seemed to install correctly.
Here is what I get whe I type the following
getmany -f ./hostmib.dfn mybox public 1.3.6.1.2.1.25
Name: hrSystemUptime.0
Value: 32363700
Name: hrSystemDate.0
Value: 07 d1 09 15 0f 19 1e 00 2b 01 00
Name: hrSystemInitialLoadDevice.0
Value: 3
Name: hrSystemInitialLoadParameters.0
Value: hd(40)unix
Name: hrSystemNumUsers.0
Value: 1
Name: hrSystemProcesses.0
Value: 87
Name: hrSystemMaxProcesses.0
Value: 0
Name: hrMemorySize.0
Value: 130688
Error code set in packet - General error: Index: 1.
Does anyone know why this is failing. I have tried this on two
separate boxes and they both fail at this point.
Any ideas or suggestions?
Thanks
CJ
>I'm having problems installing the SCO Hostmib. I'm running
>OpenServer 5.05
There was quite a bit of work done on fixing snmp in 3.2v5.0.6.
However, that wasn't one of my reported bugs.
>getmany -f ./hostmib.dfn mybox public 1.3.6.1.2.1.25
>Name: hrMemorySize.0
>Value: 130688
>Error code set in packet - General error: Index: 1.
I'm guessing(tm) that the error is coming from whatever is the next
OID in the MIB tree.
>Does anyone know why this is failing. I have tried this on two
>separate boxes and they both fail at this point.
1. Do you have any other MIB trees grafted onto the 1.3.6.1.2.1.25
part of the tree?
2. What happens when you use just numeric OID's?
(leave out the -f hostmib.dfn)
3. What happens when you dump the whole tree?
getmany mybox public iso
4. What comes after the hrMemorySize.0 OID? (I don't have an OSR5 box
handy to check this myself). Duz it always crash at exactly the same
place?
5. What happens when you walk the MIB tree from another machine
running a differnt MIB browser? (Linux with UCD-SNMP/Net-SNMP or
Windoze with GetIf 2.2). (i.e. is the problem in SNMP or in the
getmany program).
6. I've seen similar error codes from Hostmib with removeable
diskdrives that were mounted, but then disconnected. Also, as I noted
in my instructions, getmany dies with rediculously long OID's.
However, hostmib is very short.
--
Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
(831)421-6491 pgr (831)426-1240 fax (831)336-2558 home
http://www.LearnByDestroying.com WB6SSY
je...@comix.santa-cruz.ca.us je...@cruzio.com
thanks for the reply. I think that I do have a problem with my
box(es).
The next OID is "hrStorageTable" "1.3.6.1.2.1.25.2.3".
I'm presuming this is my divvy table. I've checked divvy and it is
messed up.
Also, I only noticed today if you do a df -v, it displays all
filesystems except /. I'm looking into why I this is happening, but
it seems to be related.
I tried all of your suggestions below and it always crahes out at the
same spot.
If I don't use -f hostmib.dfn, I get:
Name: mib-2.25.2.2.0
Value: 130688
Error code set in packet - General error: Index: 1.
I also get the same results when using snmpwalk from a Linux box
Hopefully, I'll sort out my fs problems and then see it I can get the
SNMP to work correctly.
Thanks for the input.
Ciaran
Jeff Liebermann <je...@comix.santa-cruz.ca.us> wrote in message news:<7vcpqts668ui1lufs...@4ax.com>...