HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //lib/netdata/conf.d/health.d/hdfs.conf
# Common

 template: hdfs_capacity_usage
       on: hdfs.capacity
    class: Utilization
     type: Storage
component: HDFS
     calc: ($used) * 100 / ($used + $remaining)
    units: %
    every: 10s
     warn: $this > (($status >= $WARNING)  ? (70) : (80))
     crit: $this > (($status == $CRITICAL) ? (80) : (98))
    delay: down 15m multiplier 1.5 max 1h
  summary: HDFS datanodes space utilization
     info: summary datanodes space capacity utilization
       to: sysadmin


# NameNode

 template: hdfs_missing_blocks
       on: hdfs.blocks
    class: Errors
     type: Storage
component: HDFS
     calc: $missing
    units: missing blocks
    every: 10s
     warn: $this > 0
    delay: down 15m multiplier 1.5 max 1h
  summary: HDFS missing blocks
     info: number of missing blocks
       to: sysadmin


 template: hdfs_stale_nodes
       on: hdfs.data_nodes
    class: Errors
     type: Storage
component: HDFS
     calc: $stale
    units: dead nodes
    every: 10s
     warn: $this > 0
    delay: down 15m multiplier 1.5 max 1h
  summary: HDFS stale datanodes
     info: number of datanodes marked stale due to delayed heartbeat
       to: sysadmin


 template: hdfs_dead_nodes
       on: hdfs.data_nodes
    class: Errors
     type: Storage
component: HDFS
     calc: $dead
    units: dead nodes
    every: 10s
     crit: $this > 0
    delay: down 15m multiplier 1.5 max 1h
  summary: HDFS dead datanodes
     info: number of datanodes which are currently dead
       to: sysadmin


# DataNode

 template: hdfs_num_failed_volumes
       on: hdfs.num_failed_volumes
    class: Errors
     type: Storage
component: HDFS
     calc: $fsds_num_failed_volumes
    units: failed volumes
    every: 10s
     warn: $this > 0
    delay: down 15m multiplier 1.5 max 1h
  summary: HDFS failed volumes
     info: number of failed volumes
       to: sysadmin