Re: cpu usage through UCD-SNMP-MIB::systemStats

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 28/02/07, toc2 techie <[email protected]> wrote:
>  bash$ snmpwalk -d -v1 -c public <ip> UCD-SNMP-MIB::systemStats
>
>  Sending 43 bytes to <ip>
>  0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A1 1C 02
>  0016: 04 6D 95 B8  81 02 01 00  02 01 00 30  0E 30 0C 06
>  0032: 08 2B 06 01  04 01 8F 65  0B 05 00

That's a GETNEXT request for
   .1.3.6.1.4.1.2021.11    (i.e. systemStats)


>  Received 46 bytes from <ip>
>  0000: 30 2C 02 01  00 04 06 70  75 62 6C 69  63 A2 1F 02
>  0016: 04 6D 95 B8  81 02 01 00  02 01 00 30  11 30 0F 06
>  0032: 0A 2B 06 01  04 01 8F 65  64 01 00 02  01 01

That's RESPONSE for
   .1.3.6.1.4.1.2021.100.1.0   (i.e. versionIndex.0)

This lies outside the requested subtree, so
snmpwalk discards it.


>  Sending 43 bytes to <ip>
>  0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A0 1C 02
>  0016: 04 6D 95 B8  82 02 01 00  02 01 00 30  0E 30 0C 06
>  0032: 08 2B 06 01  04 01 8F 65  0B 05 00

That's a GET request for systemStats

>  Received 43 bytes from <ip>
>  0000: 30 29 02 01  00 04 06 70  75 62 6C 69  63 A2 1C 02
>  0016: 04 6D 95 B8  82 02 01 02  02 01 01 30  0E 30 0C 06
>  0032: 08 2B 06 01  04 01 8F 65  0B 05 00

and the response that says "no"

Basically, the agent doesn't seem to implement the
systemStats tree - or else the access configuration
doesn't allow you to query it.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.