RE: [cricket-users] multi-row snmp responses?

From: Hugo Gayosso (qztf7k@powertrain.mpg.gm.com)
Date: Wed Jan 05 2000 - 05:33:07 PST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I monitor the CPU of HP-UX machines this way:

OID cpu1min 1.3.6.1.4.1.11.2.3.1.1.3.0
OID cpu5min 1.3.6.1.4.1.11.2.3.1.1.4.0
OID cpu15min 1.3.6.1.4.1.11.2.3.1.1.5.0
OID freemem 1.3.6.1.4.1.11.2.3.1.1.7.0

datasource cpu1min ds-source = snmp://%snmp%/cpu1min
datasource cpu5min ds-source = snmp://%snmp%/cpu5min
datasource freemem ds-source = snmp://%snmp%/freemem

targetType HP-UX
        ds = "cpu1min, cpu5min, freemem"
        view = "cpu: cpu1min cpu5min, memory: freemem"

graph cpu1min
    units = "loads"
    color = dark-green
    draw-as = AREA
    y-axis = "Machine Load"
    legend = "1 minute Load"
    scale = "100,/"

graph cpu5min
    units = "loads"
    color = blue
    y-axis = "Machine Load"
    legend = "5 minute Load"
    scale = "100,/"

graph freemem
    color = blue
    draw-as = LINE2
    y-axis = "Bytes"
    legend = "Free Memory"
    bytes = true
    scale = "1024,*"

Hope it helps

On 04-Jan-2000 Marg Suarez wrote:
> 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>
>
> ------------------------------------------------------------------------

- --
Hugo Gayosso | The ultimate result is that some
Controls Process Support | innovations that would truly
Electronics Integration and Software | benefit consumers never occur
GM Powertrain | for the sole reason that they
Brighton, MI | do not coincide with Microsoft's
USA | self-interest.
                                        |
E-Mail: qztf7k@powertrain.mpg.gm.com | Thomas Penfield Jackson
 Phone: (810) 220-2635 | U.S. District Judge
   Fax: (810) 220-2663 |

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4c0gTx2JZtTN6co8RApGlAKCSpLyjSl+taZ9dYJEMYORNnNoYzwCg4Qmx
1FfZcUSlG6Tt65fKUxFE7+Y=
=hRG7
-----END PGP SIGNATURE-----

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

Independent contractors: Find your next project gig through JobSwarm!
        You can even make money by referring friends.
<a href=" http://clickme.onelist.com/ad/jobswarm2 ">Click Here</a>

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

--

======================================================================== To UNSUBSCRIBE from this community, send an email to: cricket-users-unsubscribe@onelist.com and reply to the confirmation email we send you. ========================================================================



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