[cricket-users] multi-row snmp responses?

From: Marg Suarez (marg@columbia.edu)
Date: Tue Jan 04 2000 - 12:48:07 PST


From: Marg Suarez <marg@columbia.edu>

hi all,

i tried to search the archives, but i find the search engine at onelist
to be pretty unwieldy. so i apologize if this question has been
answered already...

i'm trying to make cricket graph performance stats for my UNIX
workstations. i have UCD-SNMP-4.0.1 running on my Solaris 2.7 box and i
am able to pull out various data, e.g., # of users, # of procs,
available memory, and available swap.

however, i am having trouble pulling out the load average. it seem that
the load average is reported as 3 numbers (3 rows):

  # snmpwalk localhost pooblick .1.3.6.1.4.1.2021.10.1.6
  enterprises.ucdavis.loadTable.laEntry.laLoadFloat.1 = Opaque: Float: 0.171875
  enterprises.ucdavis.loadTable.laEntry.laLoadFloat.2 = Opaque: Float: 0.230469
  enterprises.ucdavis.loadTable.laEntry.laLoadFloat.3 = Opaque: Float: 0.187500

in the MIB, laLoadFloat is defined as follows:

        laLoadFloat OBJECT-TYPE
                SYNTAX Float
                ACCESS read-only
                STATUS mandatory
                DESCRIPTION
                        "The 1,5 and 10 minute load averages as an opaquely
                        wrapped floating point number."
                ::= { laEntry 6 }

cricket does not like this. if i try to run the collector using OID
1.3.6.1.4.1.2021.10.1.6.0, the data retrieved shows up as
"#<unprintable" (output of collector).

does anybody know how i can graph the load successfully? better yet,
has anyone already written a Defaults file for UNIX hosts running
UCD-SNMPD that they would be willing to share?

thanks
marg

--------------------------- ONElist Sponsor ----------------------------

  Hey Freelancers: Find your next project through JobSwarm!
  You can even make money in your sleep by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:07 PST