Ad Widget

Collapse

PATCH: 1.4.4 OSF1 (Tru64)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amadriga
    Junior Member
    • Apr 2007
    • 20

    #1

    PATCH: 1.4.4 OSF1 (Tru64)

    In the file /src/libs/zbxsysinfo/osf/cpu.c

    //////////////////////////REPLACE////////////////////////////////////////////

    zbx_snprintf(cpuname, sizeof(cpuname)"all");

    }

    if(strncmp(cpuname, "all", sizeof(cpuname)))

    {

    return SYSINFO_RET_FAIL;

    }



    if(get_param(param, 2, type, sizeof(type)) != 0)

    {

    type[0] = '\0';

    }

    if(type[0] == '\0')

    {

    /* default parameter */

    zbx_snprintf(type, sizeof(tupe), "user");

    }


    /////////////////////////////WITH////////////////////////////////////

    zbx_snprintf(cpuname, sizeof(cpuname),"all");

    }

    if(strncmp(cpuname, "all", sizeof(cpuname)))

    {

    return SYSINFO_RET_FAIL;

    }



    if(get_param(param, 2, type, sizeof(type)) != 0)

    {

    type[0] = '\0';

    }

    if(type[0] == '\0')

    {

    /* default parameter */

    zbx_snprintf(type, sizeof(type), "user");

    }
  • jgordor
    Junior Member
    • Dec 2006
    • 19

    #2
    Allready in support site

    I allready fill a bug/fix report on:

    Comment

    Working...