nmon2rrd for lmon14a.c

Help
Marck
2010-11-05
2013-05-28
  • Marck

    Marck - 2010-11-05

    Hello,

    Is there an nmon2rrd for procesing nmon version 14a files I tried to process 14a files with nmon2rrd 12f  but see the errors:

    nmon2rrd version 12f
    progname=nmon
    nmonversion=14a
    host=malaja
    user=marck
    runname=malaja
    aix=unknown
    hardware=unknown
    kernel=unknown
    interval=120
    snapshots=20
    cpus=1 online out of a maximum of 1
    hour=23 minutes=42 seconds=37
    day=5 month=11 year=10
    Warning: actual snapshots=2 is less than the requested=21 so nmon finished early
    Warning: no network error line found
    Found 1 DISKBUSY Section(s)
    str2array skip failure <DGBUSY DiskGroupBusymalaja> skip=2

    Regards,

    Marck

     
  • Nigel Griffiths

    Nigel Griffiths - 2010-11-17

    You have the nmon2rrd source code and I am out of bandwidth.
    I thing you or others using nmon2rrd regularly should work a fix.
    Personally, the nmon analyser works well.

    Thanks Nigel Griffiths

     
  • Anonymous - 2011-01-17

    Hi Nigel, Marck

    I had the same problem -- seems the newest version of nmon adds these lines when there is no data for disk groups ->
    DGBUSY,Disk Group Busy n1
    DGREAD,Disk Group Read KB/s n1
    DGWRITE,Disk Group Write KB/s n1
    DGSIZE,Disk Group Block Size KB n1
    DGXFER,Disk Group Transfers/s n1

    But there are then no data for disk groups as I have none! Unfortunately this messes up nmon2rrd as it is looking for subsequent data…. So fix might be to filter nmon files to remove these lines before processing or if you want to hack nmon2rrd.c I changed these lines ->

            n = findfirst("DGBUSY,Disk");
            if(n != -1) dg_found=1;

    To

            n = findfirst("DGBUSY,Disk");
            dg_found=0;

    Fine if like me you have no disk groups or don't care about the info…. Would be better to make nmon2rrd handle it gracefully unfortunately I know enough C to hack this but not enough to make it actually work or time to learn -> maybe someone out there does?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks