Re: as400 & snmp - SNMP

This is a discussion on Re: as400 & snmp - SNMP ; In article , "Chad Whitten" wrote: > anyone here have any experience with snmp on an as400? im trying to > monitor things like disk usage/memory usage/cpu usage using mrtg and > have some questions about some of the OID's. ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: as400 & snmp

  1. Re: as400 & snmp

    In article <3e96d88f@heresy>, "Chad Whitten" wrote:

    > anyone here have any experience with snmp on an as400? im trying to
    > monitor things like disk usage/memory usage/cpu usage using mrtg and
    > have some questions about some of the OID's. ive posted to as400
    > newsgroups and mrtg mailing lists but havent gotten much response.



    I would be very interested if you got any information on this. I am
    currently monitoring traffic on some of the interfaces of our as400.
    Basically, I do:

    io=`snmpget $as400addr xxxxx .1.3.6.1.2.1.2.2.1.10.$1 | cut -d ':' -f 2 | tr -d ' '`
    oo=`snmpget $as400addr xxxxx .1.3.6.1.2.1.2.2.1.16.$1 | cut -d ':' -f 2 | tr -d ' '`

    ticks=`snmpget $as400addr xxxxx 1.3.0 | cut -d '(' -f 2 | cut -d ')' -f 1 | tr -d ' '`
    echo -n -e "$io\n$oo\n$ticks\n0\n"

    In a shell script to pass the information to MRTG.

    But, I, like you, would like to monitor other things. Do you have a MIB
    for the as400?

    Thanks,

    Sean

    --
    Sean W. Ellis - CNE 3.x,5.1 - RHCE #807202159704715
    Senior Network Service Specialist, sellis@fvnb.com
    First Victoria National Bank, PO Box 1338, Victoria, TX 77902
    (361) 574-8490, (361) 574-8484 fax

  2. Re: as400 & snmp

    We have a Product for the AS/400 that may be of interest. Check our
    website at www.comtek.biz.

    Don Winans

    nba@users.sourceforge.net (Niels Baggesen) wrote in message news:<1060842952.550993@pc769.statsbiblioteket.dk>...
    > Sean W. Ellis wrote:
    > > Basically, I do:

    >
    > > io=`snmpget $as400addr xxxxx .1.3.6.1.2.1.2.2.1.10.$1 | cut -d ':' -f 2 | tr -d ' '`

    >
    > I know nothing of AS/400, but with a current net-snmp the above reduces
    > to just
    >
    > io=`snmpget -Oqv $as400addr xxxxx .1.3.6.1.2.1.2.2.1.10.$1`
    >
    > /Niels


+ Reply to Thread