Monitoring Server Resources: Memory Usage, Thread Count and Database Connections
Since
Codebeamer release 9.3, a
Monitor application is available for monitoring
Codebeamer server resources.
Warning Emails About Low Available Disk Space
Codebeamer has a built in functionality that periodically checks the free disk space where the Codebeamer instance is running. If the disk space goes low, it sends an email to System Administrators.
The goal is to avoid running out of disk space since it can cause serious problems and data loss.
The periodic low disk check works as follows:
• It checks if the disk space is below 10 Gigabytes or below 5% of total disk space where Codebeamer is installed on.
• If either one of the above happens, System Administrators will receive a warning email, with the following content:
• This warning email is sent once a day to avoid spamming the System Administrators.
• The feature is configurable in the > menu, by adding the following:
"interactive" : {
"warnLowDiskSpace" : {
"emailTo" : "administrator@example.com",
"enabled" : true,
"minFreeDisk" : 90000,
"minPercentage" : 50,
"emailFrequency" :
}
},
"diskSpaceVolumes" : {
"name" : "linux",
"path" : "/dev/nvme0n1p6",
"threshold" : 90000
},
• The attributes of the warnLowDiskSpace section are:
name | meaning | default value |
---|
enabled | If the email sending is enabled? | true |
minFreeDisk | Minimum free disk in MB when warning starts. | 10240 (=10 Gigabytes) |
minPercentage | Minimum percentage of the disk space. | 5 |
emailTo | ; separated list of email addresses to send warning email to. If empty then System Administrators will be notified by default. | empty: means that System Administrators will get emails |
emailFrequency | How often the email is sent in seconds. | 86400 (=1 day), minimum is 3600 (= 1hour) |
diskSpaceVolumes (Codebeamer 10.0)
Multiple disk volumes can be monitored with this property. It has to be used together with warnLowDiskSpace.
The attributes of the diskSpaceVolumes section are:
name | meaning | default value |
---|
name | The disk's name in the warning email. | Mandatory, has no default value |
path | Path of disk to be monitored. | Mandatory, has no default value |
threshold | Minimum free space in MB that triggers the warning email. | Default: 10240 MB |
Example for Windows
"diskSpaceVolumes" : [ {
"name" : "diskC",
"path" : "C:\\",
"threshold" : 10240
}, {
"name" : "diskE",
"path" : "E:\\",
"threshold" : 20480
}, {
"name" : "diskF",
"path" : "F:\\"
} ],
Example for Linux
"diskSpaceVolumes" : [ {
"name" : "disk1",
"path" : "/dev/sda1",
"threshold" : 10240
}, {
"name" : "disk2",
"path" : "/dev/sda2",
"threshold" : 20480
}, {
"name" : "disk3",
"path" : "/dev/sda3"
} ],