how to show processes with net-snmp-5.4.1rc3 on HP-UX 11.23 (Was: Re: net-snmp 5.3.1 on HP-UX 11.23 only returns the first 10 processes - how to show all processes?)

"Aleksey Tsalolikhin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi.  With net-snmp 5.4.1rc3 on HP-UX 11.23 box I am trying to display
running processes (hrSWRun).  My SNMP monitoring program is Solar
Winds (from solarwinds.net).

When I try to look at running processes, Solar Winds tells me that the
host does not support the Host Resources MIB.

Running snmpd with -d switch, I see the query,

Received SNMP packet(s) from UDP: [172.18.1.118]:1134
  GETBULK message, non-rep=0, max_rep=20
    -- HOST-RESOURCES-MIB::hrSWRunName

and then the reply, which looks like a bunch of zero's.

In WireShark, the response is decoded as:

Simple Network Management Protocol
    version: v2c (1)
    community: mycommunitystring
    data: get-response (2)
        get-response
            request-id: 5831
            error-status: noError (0)
            error-index: 0
            variable-bindings: 20 items
                Item
                    name: 1.3.6.1.2.1.25.6.1.0 (SNMPv2-SMI::mib-2.25.6.1.0)
                    valueType: value (0)
                        value: simple (4294967295)
                        value: simple (4294967295)
                            application-wide: timeticks-value (3)
                                timeticks-value: 0
                Item
                    name: 1.3.6.1.2.1.25.6.2.0 (SNMPv2-SMI::mib-2.25.6.2.0)
                    valueType: value (0)
                        value: simple (4294967295)
                        value: simple (4294967295)
                            application-wide: timeticks-value (3)
                                timeticks-value: 0
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.1
(SNMPv2-SMI::mib-2.25.6.3.1.1.1)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 1
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.2
(SNMPv2-SMI::mib-2.25.6.3.1.1.2)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 2
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.3
(SNMPv2-SMI::mib-2.25.6.3.1.1.3)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 3
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.4
(SNMPv2-SMI::mib-2.25.6.3.1.1.4)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 4
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.5
(SNMPv2-SMI::mib-2.25.6.3.1.1.5)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 5
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.6
(SNMPv2-SMI::mib-2.25.6.3.1.1.6)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 6
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.7
(SNMPv2-SMI::mib-2.25.6.3.1.1.7)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 7
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.8
(SNMPv2-SMI::mib-2.25.6.3.1.1.8)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 8
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.9
(SNMPv2-SMI::mib-2.25.6.3.1.1.9)
                    valueType: value (0)
                        value: simple (4294967295)
                            simple: integer-value (0)
                                Value: INTEGER: 9
                Item
                    name: 1.3.6.1.2.1.25.6.3.1.1.10
(SNMPv2-SMI::mib-2.25.6.3.1.1.10)
                    valueType: value (0)
                        value: simple (4294967295)


And, unlike with my net-snmp 5.3.1 (see email history below), snmpwalk
of my 5.4.1rc3 does not return any processes at all:

./snmpwalk -v 2c -c public -On [host]
...
.1.3.6.1.2.1.25.3.8.1.9.6 = STRING: 0-1-1,0:0:0.0
.1.3.6.1.2.1.25.3.8.1.9.7 = STRING: 0-1-1,0:0:0.0
.1.3.6.1.2.1.25.3.8.1.9.8 = STRING: 0-1-1,0:0:0.0
.1.3.6.1.2.1.25.6.1.0 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.25.6.2.0 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.25.6.3.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.25.6.3.1.1.2 = INTEGER: 2
.1.3.6.1.2.1.25.6.3.1.1.3 = INTEGER: 3
...

There is no .1.3.6.1.2.1.25.4 section.  it just goes from
.1.3.6.1.2.1.25.3 to .1.3.6.1.2.1.25.6.


How can I have the net-snmp-5.4.1rc3 show the hrSWRun running processes, please?

Thanks,
Aleksey


On 6/22/07, Aleksey Tsalolikhin <[email protected]> wrote:
> Hello,
>
>  I am trying to get process monitoring to work with net-snmp 5.3.1
> from HP's Internet Express (open source) library on HP-UX 11.23
> (Itanium).
>
>  net-snmp daemon returns only the first 10 processes in the process table:
>
> ./snmpwalk -v 2c -c public -On [host]
>
> ...
> .1.3.6.1.2.1.25.4.2.1.2.0 = STRING: "swapper"
> .1.3.6.1.2.1.25.4.2.1.2.1 = STRING: "init"
> .1.3.6.1.2.1.25.4.2.1.2.8 = STRING: "kmemdaemon"
> .1.3.6.1.2.1.25.4.2.1.2.9 = STRING: "ioconfigd"
> .1.3.6.1.2.1.25.4.2.1.2.10 = STRING: "ObjectThreadPool"
> .1.3.6.1.2.1.25.4.2.1.2.11 = STRING: "nfsktcpd"
> .1.3.6.1.2.1.25.4.2.1.2.12 = STRING: "autofskd"
> .1.3.6.1.2.1.25.4.2.1.2.13 = STRING: "lvmkd"
> .1.3.6.1.2.1.25.4.2.1.2.14 = STRING: "lvmkd"
> .1.3.6.1.2.1.25.4.2.1.2.15 = STRING: "lvmkd"
> .1.3.6.1.2.1.25.4.2.1.3.0 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.1 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.8 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.9 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.10 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.11 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.12 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.13 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.14 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.3.15 = OID: .0.0
> .1.3.6.1.2.1.25.4.2.1.4.0 = STRING: "swapper"
> .1.3.6.1.2.1.25.4.2.1.4.1 = STRING: "init"
> .1.3.6.1.2.1.25.4.2.1.4.8 = STRING: "kmemdaemon"
> .1.3.6.1.2.1.25.4.2.1.4.9 = STRING: "ioconfigd"
> .1.3.6.1.2.1.25.4.2.1.4.10 = STRING: "ObjectThreadPool"
> .1.3.6.1.2.1.25.4.2.1.4.11 = STRING: "nfsktcpd"
> .1.3.6.1.2.1.25.4.2.1.4.12 = STRING: "autofskd"
> .1.3.6.1.2.1.25.4.2.1.4.13 = STRING: "lvmkd"
> .1.3.6.1.2.1.25.4.2.1.4.14 = STRING: "lvmkd"
> .1.3.6.1.2.1.25.4.2.1.4.15 = STRING: "lvmkd"
> .1.3.6.1.2.1.25.4.2.1.5.0 = ""
> .1.3.6.1.2.1.25.4.2.1.5.1 = ""
> .1.3.6.1.2.1.25.4.2.1.5.8 = ""
> ...
>
> What about all the other processes?   What can I do to get the full
> list?  I want to monitor the Oracle processes.
>
> Sincerely,
> Aleksey
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.