!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/lib/netdata/conf.d/health.d/   drwxrwxr-x
Free 13.03 GB of 57.97 GB (22.47%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     disks.conf (4.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
# you can disable an alarm notification by setting the 'to' line to: silent


# -----------------------------------------------------------------------------
# low disk space

# checking the latest collected values
# raise an alarm if the disk is low on
# available disk space

 template: disk_space_usage
       on: disk.space
    class: Utilization
     type: System
component: Disk
       os: linux freebsd
    hosts: *
 families: !/dev !/dev/* !/run !/run/* *
     calc: $used * 100 / ($avail + $used)
    units: %
    every: 1m
     warn: $this > (($status >= $WARNING ) ? (80) : (90))
     crit: $this > (($status == $CRITICAL) ? (90) : (98))
    delay: up 1m down 15m multiplier 1.5 max 1h
     info: disk $family space utilization
       to: sysadmin

 template: disk_inode_usage
       on: disk.inodes
    class: Utilization
     type: System
component: Disk
       os: linux freebsd
    hosts: *
 families: !/dev !/dev/* !/run !/run/* *
     calc: $used * 100 / ($avail + $used)
    units: %
    every: 1m
     warn: $this > (($status >= $WARNING)  ? (80) : (90))
     crit: $this > (($status == $CRITICAL) ? (90) : (98))
    delay: up 1m down 15m multiplier 1.5 max 1h
     info: disk $family inode utilization
       to: sysadmin


# -----------------------------------------------------------------------------
# disk fill rate

# calculate the rate the disk fills
# use as base, the available space change
# during the last hour

# this is just a calculation - it has no alarm
# we will use it in the next template to find
# the hours remaining

# template: disk_fill_rate
#       on: disk.space
#       os: linux freebsd
#    hosts: *
# families: *
#   lookup: min -10m at -50m unaligned of avail
#     calc: ($this - $avail) / (($now - $after) / 3600)
#    every: 1m
#    units: GB/hour
#     info: average rate the disk fills up (positive), or frees up (negative) space, for the last hour


# calculate the hours remaining
# if the disk continues to fill
# in this rate

# template: out_of_disk_space_time
#       on: disk.space
#       os: linux freebsd
#    hosts: *
# families: *
#     calc: ($disk_fill_rate > 0) ? ($avail / $disk_fill_rate) : (inf)
#    units: hours
#    every: 10s
#     warn: $this > 0 and $this < (($status >= $WARNING)  ? (48) : (8))
#     crit: $this > 0 and $this < (($status == $CRITICAL) ? (24) : (2))
#    delay: down 15m multiplier 1.2 max 1h
#     info: estimated time the disk will run out of space, if the system continues to add data with the rate of the last hour
#       to: sysadmin


# -----------------------------------------------------------------------------
# disk inode fill rate

# calculate the rate the disk inodes are allocated
# use as base, the available inodes change
# during the last hour

# this is just a calculation - it has no alarm
# we will use it in the next template to find
# the hours remaining

# template: disk_inode_rate
#       on: disk.inodes
#       os: linux freebsd
#    hosts: *
# families: *
#   lookup: min -10m at -50m unaligned of avail
#     calc: ($this - $avail) / (($now - $after) / 3600)
#    every: 1m
#    units: inodes/hour
#     info: average rate at which disk inodes are allocated (positive), or freed (negative), for the last hour

# calculate the hours remaining
# if the disk inodes are allocated
# in this rate

# template: out_of_disk_inodes_time
#       on: disk.inodes
#       os: linux freebsd
#    hosts: *
# families: *
#     calc: ($disk_inode_rate > 0) ? ($avail / $disk_inode_rate) : (inf)
#    units: hours
#    every: 10s
#     warn: $this > 0 and $this < (($status >= $WARNING)  ? (48) : (8))
#     crit: $this > 0 and $this < (($status == $CRITICAL) ? (24) : (2))
#    delay: down 15m multiplier 1.2 max 1h
#     info: estimated time the disk will run out of inodes, if the system continues to allocate inodes with the rate of the last hour
#       to: sysadmin


# -----------------------------------------------------------------------------
# disk congestion

# raise an alarm if the disk is congested
# by calculating the average disk utilization
# for the last 10 minutes

 template: 10min_disk_utilization
       on: disk.util
    class: Utilization
     type: System
component: Disk
       os: linux freebsd
    hosts: *
 families: *
   lookup: average -10m unaligned
    units: %
    every: 1m
     warn: $this > 98 * (($status >= $WARNING)  ? (0.7) : (1))
    delay: down 15m multiplier 1.2 max 1h
     info: average percentage of time $family disk was busy over the last 10 minutes
       to: silent


# raise an alarm if the disk backlog
# is above 1000ms (1s) per second
# for 10 minutes
# (i.e. the disk cannot catch up)

 template: 10min_disk_backlog
       on: disk.backlog
    class: Latency
     type: System
component: Disk
       os: linux
    hosts: *
 families: *
   lookup: average -10m unaligned
    units: ms
    every: 1m
     warn: $this > 5000 * (($status >= $WARNING)  ? (0.7) : (1))
    delay: down 15m multiplier 1.2 max 1h
     info: average backlog size of the $family disk over the last 10 minutes
       to: silent

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0056 ]--