diff options
-rw-r--r-- | health/health.d/load.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health.d/load.conf b/health/health.d/load.conf index ccfa97b3bd..75989c57f8 100644 --- a/health/health.d/load.conf +++ b/health/health.d/load.conf @@ -11,7 +11,7 @@ component: Load os: linux hosts: * - calc: ($active_processors < 2) ? ( 2 ) : ( $active_processors ) + calc: ($active_processors == nan or $active_processors == 0) ? (nan) : ( ($active_processors < 2) ? ( 2 ) : ( $active_processors ) ) units: cpus every: 1m info: number of active CPU cores in the system |