NSClient++ Help (#1) - CheckCPU [time15] (#209) - Message List

CheckCPU [time15]

I used the example from the CheckCPU page to check loads in the same way as a unix system.

Example: checkCPU warn=100 crit=100 time=1 warn=95 crit=99 time=5 warn=90 crit=95 time=15 ShowAll=long

Config: [Check System] CPUBufferSize=1h

Error: Injecting: CheckCPU: warn=100, crit=100, time=1, warn=95, crit=99, time=5, wa rn=90, crit=95, time15, ShowAll=long Failed to get CPU value: Strange error buffer pointers are f*cked up Injected Result: WARNING 'ERROR: Could not get data for time15 perhaps we don 't collect data this far back?' Injected Performance Result: 1'=6;100;100; '5'=4;95;99; '

Response in Nagios: ERROR: Could not get data for time15 perhaps we don't collect data this far back?

Does anyone know where the problem lies?

Thanks

  • Message #586

    my guess would be that you have accidentaly left out the = in time=15 (ie typed time15).

    I should probably fixup this error message though since it is less then obvious now...

    the hint is:

    Error: Injecting: CheckCPU: warn=100, crit=100, time=1, warn=95, crit=99, time=5, warn=90, crit=95, time15,
    

    MickeM

    • Message #587

      Ahh!! Silly me...

      *sigh*, thanks for the pointer..!

Subscriptions