VDCF - Virtual Datacenter Cloud Framework: Monitoring
VDCF - Virtual Datacenter Cloud Framework: Monitoring
Falkensteinstr. 54a
9000 St. Gallen
Switzerland
Monitoring
Version 4.0
12 November 2024
Table of Contents
1 Introduction.................................................................................................................................................... 4
1.1 Overview................................................................................................................................................ 4
1.2 Hardware Monitoring.............................................................................................................................. 4
1.2.1 Alarming............................................................................................................................................................ 4
1.2.2 Requirements................................................................................................................................................... 4
1.3 Resource Monitoring.............................................................................................................................. 5
1.3.1 Requirements................................................................................................................................................... 5
1.4 Operating System (OS) Monitoring........................................................................................................ 6
1.5 VDCF Dashboard web application......................................................................................................... 8
2 Installation...................................................................................................................................................... 9
2.1 Prerequisites.......................................................................................................................................... 9
2.2 Installation.............................................................................................................................................. 9
3 Configuration............................................................................................................................................... 10
3.1 Granting User Access.......................................................................................................................... 10
3.2 Customizing Monitoring eMail.............................................................................................................. 10
3.2.1 Alarming.......................................................................................................................................................... 10
3.3 Customizing Hardware Monitoring....................................................................................................... 11
3.3.1 Check Interval................................................................................................................................................. 11
3.3.2 Alarming.......................................................................................................................................................... 11
3.4 Customizing Resource Monitoring....................................................................................................... 12
3.4.1 Usage interval................................................................................................................................................. 12
3.4.2 Usage delivery................................................................................................................................................ 12
3.4.3 Collector and aggregator interval...................................................................................................................12
3.5 Customizing OS Monitoring................................................................................................................. 13
3.5.1 Check Interval................................................................................................................................................. 13
3.5.2 Enable/disable components...........................................................................................................................14
3.5.3 Warning Threshold......................................................................................................................................... 14
3.5.4 Alarming.......................................................................................................................................................... 15
3.5.5 OS Security Compliance benchmarks...........................................................................................................16
3.5.6 OS Security hardening profiles....................................................................................................................... 16
3.6 Customizing VDCF Dashboard web application...................................................................................17
3.6.1 Initial setup..................................................................................................................................................... 17
3.6.2 VDCF user for the web application.................................................................................................................17
3.6.3 Firewall Rules................................................................................................................................................. 17
4 Usage.......................................................................................................................................................... 18
4.1 Hardware Monitoring............................................................................................................................ 18
4.1.1 Check Node manually.................................................................................................................................... 18
4.1.2 System Locator LED...................................................................................................................................... 18
4.1.3 Display Hardware state.................................................................................................................................. 19
4.1.4 Clear hardware state history.......................................................................................................................... 21
4.2 Server Power Usage............................................................................................................................ 22
4.2.1 Configuration of different datacenter locations..............................................................................................22
4.2.2 Power Usage 'History'.................................................................................................................................... 22
4.3 Resource Monitoring............................................................................................................................ 23
4.3.1 Enable resource monitoring...........................................................................................................................23
4.3.2 Usage Collector.............................................................................................................................................. 23
4.3.3 Usage Aggregator.......................................................................................................................................... 23
4.3.4 Disable resource monitoring..........................................................................................................................24
4.3.5 Update Node data manually...........................................................................................................................24
4.3.6 Show resource consumption data..................................................................................................................25
4.4 OS Monitoring...................................................................................................................................... 27
4.4.1 Enabling / Disabling........................................................................................................................................ 27
4.4.2 Check Node manually.................................................................................................................................... 27
4.4.3 Individual warning threshold for filesystems, datasets, swap, ram and cpu..................................................28
4.4.4 Individual 'Target Path Count' for a node........................................................................................................29
4.4.5 Display Filesystem usage...............................................................................................................................30
4.4.6 Display Dataset usage................................................................................................................................... 31
4.4.7 Display SWAP usage..................................................................................................................................... 32
4.4.8 Display SMF services..................................................................................................................................... 33
4.4.9 Display Disk Path Count................................................................................................................................. 34
4.4.10 Display physical network interface states....................................................................................................35
4.4.11 Display RAM/CPU usage..............................................................................................................................36
4.4.12 VDCF Monitoring Report.............................................................................................................................. 37
4.5 OS Security.......................................................................................................................................... 38
[email protected] VDCF - Monitoring 4.0 2 / 44
JomaSoft GmbH
Falkensteinstr. 54a
9000 St. Gallen
Switzerland
1 Introduction
This documentation describes the Monitoring features of the Virtual Datacenter Cloud Framework (VDCF)
for the Solaris Operating System and explains how to use this features.
See these documents for more information about the related VDCF products:
1.1 Overview
VDCF Monitoring is a VDCF extension available to VDCF Standard and Enterprise customers.
- Resource Monitoring (rcmon) to collect and display resource usage of global and local Solaris zones
- Operating System Monitoring (osmon) to enable alerts when filesystems, datasets, swap, SMF services,
core files, network interfaces, virtual memory, disk paths, faults, RAM or CPU reach critical resource
usage or state
While VDCF Resource Monitoring collects and displays resource usage, VDCF Resource Management is
used to configure resource limits.
1.2.1 Alarming
If the VDCF Hardware Monitoring detects hardware failures the user may be informed in two ways:
- sending e-Mails
- executing a script to integrate other software products
1.2.2 Requirements
As the Hardware Monitor is based on information from the system controller it's required to configure a
'console' for each Node within VDCF.
A cron job called 'Usage Data Collector' on the Management Server is importing the collected data
periodically into the VDCF database.
A second cron job 'Usage Data Aggregator' is used to generate aggregated resource information.
The aggregated data can be displayed on a daily, weekly, monthly or yearly base.
A third cron job is started / stopped together with the 'Usage Data Collector' cron job. This cron job is
evaluating the current average resource usage of Nodes and vServers in the last 24 hours.
This information may be used later by the HA monitor Node evacuation feature.
1.3.1 Requirements
The VDCF Resource Monitoring implementation is based on Solaris 10 8/07 (Update 4) features. To use
this feature the target Nodes must run Solaris 10 8/07 or later. It is supported to use an older Solaris 10
Release (Update1,2,3) with Kernel Patch 120011-14 (sparc) or 120012-14 (i386) or later.
If the filesystem usage exceeds the defined WARNING threshold an alert eMail is sent or a RECOVERED
eMail if the filesystem goes below the threshold.
If the dataset usage exceeds the defined WARNING threshold or a SMF service has a critical state
(maintenance/degraded) an alert eMail is sent. A RECOVERED eMail is sent if the dataset usage goes
below the threshold or the SMF service is back online. OS Monitoring does also send an alarm, if the
zpool has a critical state (degraded or failed).
Additionally this Release introduces Security Compliance Assessments, where Nodes and vServer are
checked against predefined Security Benchmarks. Solaris 11.3 is required for this feature.
Compliance reports are generated as html files and can be viewed with the VDCF Dashboard web
application.
Additionally the node and vserver commands got a new function for hardening the OS to fix
non-compliant systems. See Chapter 4.5.3 for details.
filesystem/minimal is the default, because it may fail from time to time at boot because of busy
filesystems.
Physical network interface states are now checked and can be viewed using osmon -c show_net
SWAP Monitoring was enhanced. In old versions only the SWAP on disk was monitored. With this release
the use of Virtual Memory is monitored additionally.
Resource usage is stored in the VDCF repository using the rcmon tool since several years. Now alarming
was added to detect and report high resource usage over a defined period. The default limit is 80% and
the default duration period is 15 minutes. The limit can be configured individually for each server where
required.
zpool autoclear
Suspended zpools are automatically cleared by the osmon update job. This optional features improves
application and server availability and is very helpful for short storage outages at night.
Using the new 'VDCF dashboard' web application you can access the Compliance reports by some clicks
in your browser. Furthermore VDCF dashboard gives access to your VDCF Repository objects: Node,
CDom, Gdom, vServers and Dataset lists are available.
2 Installation
2.1 Prerequisites
The JSvdcf-monitor package requires the following VDCF packages to be installed on the
VDCF Management Server:
2.2 Installation
a) sparc platform
cd <download-dir>
pkgadd -d ./JSvdcf-monitor_<version>_sparc.pkg
b) i386 platform
cd <download-dir>
pkgadd -d ./JSvdcf-monitor_<version>_i386.pkg
3 Configuration
3.2.1 Alarming
The Hardware Monitoring and OS Monitoring are able to send e-Mails, if a Hardware fault is detected or a
OS Monitor threshold is reached.
To enable this feature you have to set the following variables in VDCF's customize.cfg:
export HWMON_EVENT=true
export OSMON_EVENT=true
export MONITOR_EVENT_EMAIL_LIST="[email protected] [email protected]"
export MONITOR_EVENT_EMAIL_FROM="[email protected]"
For the OS Monitor you can add additional eMail addresses per node using
By default the Hardware Monitoring cronjob is executed once an hour to check the state of all Nodes.
$ hwmon -c status
Central Monitor Component Status
HW Monitor: enabled
To change this setting configure the cron timespec in customize.cfg using this variable:
If the Hardware Monitor was already enabled before, you have to re-enable the cron job using these
commands:
$ hwmon -c disable
HW Monitor: disabled
$ hwmon -c enable
HW Monitor: enabled
3.3.2 Alarming
Additionally to send eMails it is supported to configure a script, which is called at every event. This feature
allows you to forward events to your event management or ticketing system.
export MONITOR_EVENT_SCRIPT=/opt/company/bin/my_vdcf_hwmon_script
The 'MONITOR_EVENT_SCRIPT' will be executed if a monitor event occurs. The script may use the
following 5 input arguments:
With this variable you may set the interval used to get zone usage information on the Compute Node in
seconds. Using the default value of 60 produces a usage record every minute.
export MONITOR_ZONE_USAGE_INTERVAL=60
The number of samples accumulated before delivery to the VDCF Management Server happens.
The actual time between delivery of zone usage information is computed by
MONITOR_ZONE_USAGE_INTERVAL * MONITOR_ZONE_USAGE_DELIVERY.
export MONITOR_ZONE_USAGE_DELIVERY=60
You may display the current cron timespec setting with this command:
To change this settings configure the cron timespec in customize.cfg using these variables:
If resource monitoring was already enabled before, you have to re-enable the cron jobs using these
commands. (The 24h average cron job is controlled together with the collector cron job):
By default the OS Monitoring cronjob is executed once an hour to check the usage and states of
filesystems, datasets, swap usage, SMF services, disks paths, network interface states, faults and
cpu/ram usage.
$ osmon -c status
Central Monitor Component Status
OS Monitor: enabled
OS Monitor Report: enabled
To change this setting configure the cron timespecs in customize.cfg using this variables:
If the OS Monitor was already enabled before, you have to re-enable the cron job using these commands:
$ osmon -c disable
OS Monitor: disabled
$ osmon -c enable
OS Monitor: enabled
export
OSMON_DEFAULT_UPDATE_STATE=dataset,fs,swap,smf,cores,disk,net,res,faults
After changing this variable you have to disable/enable the osmon cronjob using
osmon -c disable and osmon -c enable.
The feature zpool autoclear is disabled by default. You enable this features to automatically clear
SUSPENDED zpool using
export OSMON_ZPOOL_AUTOCLEAR=TRUE
The default warning threshold for filesystems and datasets is set to 80 (%).
export OSMON_FS_WARNING=70
export OSMON_DATASET_WARNING=70
export OSMON_SWAP_WARNING=70
For the CPU/RAM resource usage alarming the default warning threshold is set to 80 (%).
The default duration period is 15 minutes. Both settings can be changed by adding the variables in
customize.cfg
export OSMON_CPU_LIMIT=70
export OSMON_RAM_LIMIT=90
export OSMON_CPU_DURATION=10
export OSMON_RAM_DURATION=20
export OSMON_FAULTS=SUNOS-8000-KL,DISK-8000-VP,DISK-8000-WA
Individual warning threshold may be set for filesystems, datasets, swap and cpu/ram. See Chapter 4.4.3
for details
3.5.4 Alarming
To receive eMails when a mirror operation starts and ends you can optionally add
“RESILVERING” to the OSMON_ZPOOL_STATE_OF_INTEREST
- MPxIO or ISCSI disks fail to reach the defined Target Path Count
- RAM or CPU usage reach the defined threshold during the defined period
Solaris 11.3 includes 3 predefined standard benchmarks 'baseline', 'recommended' and 'pci-dss'.
VDCF delivers additional tailorings named 'default' and 'cdom' both based on the 'baseline' benchmark.
These tailorings are stored in this configuration directory:
$ ls -l /var/opt/jomasoft/vdcf/conf/compliance/*.tailor
-rw-r--r-- 1 root root 1314 Sep 11 15:31 cdom.tailor
-rw-r--r-- 1 root root 1321 Sep 11 15:31 default.tailor
Customers can define additional benchmarks by copying and modifying the tailor files.
For system individual benchmarks the files can be named <vserver>.tailor or <node>.tailor.
Use the 'node -c harden help' command to get a list of available hardening rules and the available
hardening profiles. You can create your own hardening profiles matching your security guidelines.
$ ls -l /var/opt/jomasoft/vdcf/conf/compliance/*.hardening
-rw-r--r-- 1 root other 578 Oct 23 14:22 baseline.hardening
VDCF dashboard is a python based web application. Integrated into your Apache http server.
To setup the Apache Server config you have to run this command once:
The web application requires user authentication. Users are authenticated against their local Solaris User
Account. For security reasons the web application is running SSL-enabled.
The setup script configures Apache with a self-signed test server certificate! Please replace it by a
valid server certificate. The certificate is configured in this apache file:
The web application is using the read-only vdcf user vdcfgui to access the VDCF repository.
Using the VDCF vpool command you can define what data you want to show to vdcfgui user and i.e.
display in the VDCF dashboard.
If your system environment contains firewalls you may have to add a firewall rule to access the webserver
on the VDCF management Server:
4 Usage
$ hwmon -c enable
$ hwmon -c disable
Use the status command to display the current state of hardware monitoring:
$ hwmon -c status
Central Monitor Component Status
HW Monitor: enabled
It's also possible to disable or enable specific Nodes from being monitored:
If the hwmon is enabled a cron job is checking periodically the state of all Nodes. To check a Node
manually you may issue this command:
The hardware monitoring feature let you also control the system locator LED.
$ hwmon -c show
Using the Node attribute and/or verbose flag the state history and details from the system controller is
shown.
--------------------------------------------------------------------------------
System Temperatures (Temperatures in Celsius):
--------------------------------------------------------------------------------
Sensor Status Temp LowHard LowSoft LowWarn HighWarn HighSoft HighHard
--------------------------------------------------------------------------------
MB/T_AMB OK 24 -10 -5 0 45 50 55
MB/CMP0/T_TCORE OK 40 -10 -5 0 85 90 95
MB/CMP0/T_BCORE OK 39 -10 -5 0 85 90 95
MB/IOB/T_CORE OK 37 -10 -5 0 95 100 105
--------------------------------------------------------
System Indicator Status:
--------------------------------------------------------
SYS/LOCATE SYS/SERVICE SYS/ACT
OFF OFF ON
--------------------------------------------------------
----------------------------------------------------------
Fans (Speeds Revolution Per Minute):
----------------------------------------------------------
Sensor Status Speed Warn Low
----------------------------------------------------------
FT0/F0 OK 9166 2240 1920
FT0/F1 OK 8776 2240 1920
FT0/F2 OK 8967 2240 1920
FT0/F3 OK 8967 2240 1920
--------------------------------------------------------------------------------
Voltage sensors (in Volts):
--------------------------------------------------------------------------------
Sensor Status Voltage LowSoft LowWarn HighWarn HighSoft
--------------------------------------------------------------------------------
MB/V_VCORE OK 1.32 1.20 1.24 1.36 1.39
MB/V_VMEM OK 1.78 1.69 1.72 1.87 1.90
MB/V_VTT OK 0.87 0.84 0.86 0.93 0.95
MB/V_+1V2 OK 1.18 1.09 1.11 1.28 1.30
MB/V_+1V5 OK 1.48 1.36 1.39 1.60 1.63
MB/V_+2V5 OK 2.50 2.27 2.32 2.67 2.72
MB/V_+3V3 OK 3.29 3.06 3.10 3.49 3.53
MB/V_+5V OK 4.99 4.55 4.65 5.35 5.45
MB/V_+12V OK 12.18 10.92 11.16 12.84 13.08
MB/V_+3V3STBY OK 3.31 3.13 3.16 3.53 3.59
-----------------------------------------------------------
System Load (in amps):
-----------------------------------------------------------
Sensor Status Load Warn Shutdown
-----------------------------------------------------------
MB/I_VCORE OK 23.360 80.000 88.000
MB/I_VMEM OK 6.420 60.000 66.000
-----------------------------------------------------------
----------------------
Current sensors:
----------------------
Sensor Status
----------------------
MB/BAT/V_BAT OK
------------------------------------------------------------------------------
Power Supplies:
------------------------------------------------------------------------------
Supply Status Underspeed Overtemp Overvolt Undervolt Overcurrent
------------------------------------------------------------------------------
PS0 OK OFF OFF OFF OFF OFF
A history record is generated for every hardware state change discovered by the
periodical (or manually initiated) system check.
The actual Usage (Watts) is collected during the health check of the hardware (by default once an hour).
Use this command to show the current power usage of all nodes and a summary for each datacenter
location:
$ hwmon -c show_power
By default there is no datacenter location configured for a server. If you need the power usage
summarized by the datacenter location, you must enable the datacenter location feature first:
In this file you list all your physical datacenter locations. For example:
$ cat /var/opt/jomasoft/vdcf/conf/datacenter.cfg
#NODE DataCenters
#DCName,default -> Default Datacenter
#DCName -> additional DataCenter
#DCName allowed characters and number, no special characters
ZUERICH,default
NEWYORK
SINGAPORE
The datacenter attribute is displayed using nodecfg -c show, but only if you add 'DATACENTER' to the
NODECFG_SHOW_ATTR variable in customize.cfg.
The recording of resource usage information may be activated individually for each Node. By enabling a
Node a usage_collect service is started on the Node. After the defined interval
(MONITOR_ZONE_USAGE_INTERVAL)a usage record is saved locally on the Node. After a defined
number of records (MONITOR_ZONE_USAGE_DELIVERY)are saved the usage_collect service transfers
the data to the VDCF management server.
To display the status of resource monitoring for all Nodes use this command:
The usage data transferred from the Nodes is imported periodically into the VDCF repository using the
'Usage Data Collector' cron job.
When enabling the collector a further cron job is enabled: The 'Usage Data 24h average' cron job is a
summary function to calculate the average resource usage of all Nodes and vServers in the last 24 hours.
To display that average data use the rcmon -c summary command.
To avoid using up too much space on the VDCF management server VDCF offers a 'Usage Data
Aggregation'. This cron job aggregates old data.
Usage records older than a week are aggregated to a record per hour.
Usage records older than a month are aggregated to a record per day.
You may request an update of the database with the newest usage data available.
This command restarts the usage collector service on the Node and transfers back the current usage data
file to the VDCF management server. Followed by an import into the VDCF repository.
To show the collected usage information for a vServer or a Node use the show operation.
[ gz_total | gzt ]
For explanation of the command flags and output, please see manpage 'rcmon -H show' for detailed
information. Some examples:
The following command lists the available CPU usage information of the last hour with no further
aggregation:
This command lists a Nodes memory consumption during the last month. It includes summed up resource
values of the global and the non global zones:
---- RamTot ----- ---- RamKern ---- ---- RamFree ---- ---- RamUse -----
---- RamUtil ---- ----- VmUse ----- ----- VmUtil ----
DateTime Min / Avg / Max Min / Avg / Max Min / Avg / Max Min / Avg / Max
Min / Avg / Max Min / Avg / Max Min / Avg / Max Name
2010-07-26 23:59:07 - 1920M - - 1625M - - 427M - - 455M -
- 24% - - 367M - - 18% - s0003
2010-07-27 23:59:36 - 1920M - - 1628M - - 423M - - 456M -
- 24% - - 367M - - 18% - s0003
...
The following command lists the used memory resources of a vServer of the last 5 hours:
---- RamKern ---- ---- RamUse ----- ---- RamUtil ---- ----- VmUse -----
----- VmUtil ----
DateTime Min / Avg / Max Min / Avg / Max Min / Avg / Max Min / Avg / Max
Min / Avg / Max Name
2010-08-26 14:59:51 1614M 1614M 1615M - 48M - - 12% - - 42M -
2.0% 2.0% 2.0% s0180
2010-08-26 15:59:37 1614M 1615M 1615M - 48M - - 12% - - 42M -
2.0% 2.0% 2.0% s0180
2010-08-26 16:59:23 1615M 1615M 1616M 48M 48M 48M 12% 12% 12% - 42M -
2.0% 2.0% 2.0% s0180
2010-08-26 17:59:39 1615M 1616M 1618M 48M 49M 55M 12% 12% 14% 42M 43M 49M
2.0% 2.0% 2.3% s0180
2010-08-26 18:59:25 1617M 1617M 1618M 49M 49M 49M 12% 12% 12% - 42M -
- 2.0% - s0180
2010-08-26 19:47:04 1617M 1618M 1618M - 49M - - 12% - - 42M -
- 2.0% - s0180
Use this summary operation to display the average resource usage data of the last 24 hours.
Results may be ordered by ram, cpu or server name in ascending or descending order.
Default ordering is ram descending:
Node Total RAM Free RAM Total CPU Free CPU LastUpdate Comment
s0003 768 40 (5.2%) 800 795 (99.4%) 2011-10-11 23:00:28 Sol 11
s0006 2048 135 (6.6%) 658 612 (93.0%) 2011-12-06 23:00:20 Sol 10
s0009 1024 615 (60.1%) 193 188 (97.4%) 2011-12-06 23:00:17 Bank01
The data shown for free ram and free cpu are reduced by a percentage reserved for the global zone
(Node). This reserved percentage of the total ram/cpu can be configured using these framework
variables:
The data of the summary operation is also used by the Node evacuation feature. The configured
percentage is used to prevent overloading a Node with to many vServers.
4.4 OS Monitoring
The OS Monitor is used to monitor the following components
$ osmon -c enable
$ osmon -c disable
Use the status command to display the current state of the OS monitoring:
$ osmon -c status
If the osmon is enabled a cron job is checking periodically the state and usage of all OS Monitor objects.
To update monitoring values in the database manually you may issue this command:
4.4.3 Individual warning threshold for filesystems, datasets, swap, ram and cpu
You can set an individual threshold for a specific filesystem, dataset or node swap.
To update the threshold for the swap usage (disk), issue the following command:
To update the threshold for the swap usage (virtualmemory), issue the following command:
To update the threshold for the cpu usage, issue the following command:
To update the threshold for the ram usage, issue the following command:
By default, the 'Target Path Count' is based on the total configured path (listed by mpathadm) or from the
variable DISK_DEFAULT_PATH_COUNT.
You can set an individual 'Target Path Count' for a specific or all LUNs assigned to a node.
To update the 'Target Path Count' for one LUN assigned to a node, issue the following command:
To update the 'Target Path Count' for all LUNs assigned to a node, issue the following command:
The filesystem usage is displayed on the vserver and node show detail command and a list of all critical
filesystems can be displayed using the 'osmon -c show_fs' command.
$ osmon -c show_fs
Use the summary flag to display additionally a usage summary of the most utilized filesystems or the root
flag to only show root filesystems:
Used Count
100% 1
90%-99% 1
To view filesystems with another usage than defined in 'OSMON_FS_WARNING' you can give a value
directly on the command line by the option 'over'.
A list of all critical datasets can be displayed using the 'osmon -c show_dataset' command.
$ osmon -c show_dataset
Use the summary flag to display additionally a usage summary of the most utilized datasets or the root
flag to only show Node rootpools:
State Count
DEGRADED 1
Used Count
50%-59% 1
To view datasets with another usage than defined in 'OSMON_DATASET_WARNING' you can give a value
directly on the command line by the option 'over'.
A list of critical swap usage can be displayed using the 'osmon -c show_swap' command.
$ osmon -c show_swap
Use the summary flag to display additionally a usage summary of the most utilized swap areas:
Used Count
70%-79% 1
60%-69% 2
To view the swap usage with another usage than defined in 'OSMON_SWAP_WARNING' you can give a
value directly on the command line by the option 'over'.
A list of all critical SMF services can be displayed using the 'osmon -c show_smf' command.
$ osmon -c show_smf
Use the summary flag to additionally display a summary of the critical SMF services:
SMF-State Count
maintenance 2
To view SMF services other than 'degraded,maintenance' you can define states on the command line
by the option 'state'.
A list of all disks without enough paths online can be displayed using the 'osmon -c show_disk' command.
$ osmon -c show_disk
Use the summary flag to additionally display a summary of the current path count:
CurrentPathCount Count
1 4
You can list the current path count for each node the disk is assigned by using the following command:
A list of all critical network interfaces can be displayed using the 'osmon -c show_net' command.
High cpu and ram usage can be listed using show_ram and show_cpu.
The flag 'hourly' lists the usage in the past hour and 'daily' lists the usage in the past 24 hours.
The osmon -c show provides a full report about all critical objects.
--------------------------------------------------------------------------------------
VDCF Monitoring Report from g0069
Date: 25.03.2019 07:57:28
--------------------------------------------------------------------------------------
OS-Monitor
-------------------------------------------------------------------------------------
HW-Monitor (with State FAULTED or N/A)
–------------------------------------------------------------------------------------
Use the status command to display the current state of the OS monitoring components:
$ osmon -c status
4.5 OS Security
Security Compliance Assessments can be run against Nodes and vServer running on Solaris 11.3 or later.
The benchmark to be used can be defined individually per system. For systems without a defined benchmark
the VDCF 'default' benchmark is used. You can configure your default Benchmark by adding the
COMPLIANCE_DEFAULT_BENCHMARK variable to customize.cfg.
The assessments may be running for several minutes, therefore they are not executed by 'osmon -c update'
operation. Use the assess operation to initiate a Security Compliance Assessment:
For convenience the assess operation is also available in the node and vserver commands:
A detailed report in HTML can be found in the compliance html report directory:
/var/opt/jomasoft/vdcf/compliance_reports/html
These reports can be displayed with your preferred browser using the VDCF Dashboard.
See Chapter 4.6 for details.
4.5.3 OS Hardening
To resolve the security findings discovered by the assess operation you may use the hardening operations
on the node and vserver commands. These commands do apply OS hardening using a dedicated
hardening profile:
$ node -c harden profile=<hardening profile>
Use the 'node -c harden help' or 'vserver -c harden help' to get a list of all available hardening profiles. You
may define your own hardening profiles (see Chapter 3.5.6)
Since VDCF Monitoring 3.6 and later you can execute hardening based on the last compliance report,
without creating a hardening profile manually.
The web application is running as a apache daemon process and therefore it can be controlled by the
normal apache restart commands. The web application is deployed in a separate virtual host.
It's enabled by default (after running the setup_gui tool, see Chapter 3.6).
To disable the web application just remove this file from the apache conf.d directory:
/etc/apache2/2.*/conf.d/vdcf_django_httpd_2*.conf
and restart Apache.
4.6.2 Logfiles
Web application logfiles are located in the normal VDCF log directory:
$ ls -l /var/opt/jomasoft/vdcf/log/vdcfgui_*
-rw-r--r-- 1 root root 304 Sep 19 15:44 vdcfgui_access.log
-rw-r--r-- 1 vdcfgui webservd 92 Sep 19 15:43 vdcfgui_django.log
-rw-r--r-- 1 root root 465 Sep 19 15:17 vdcfgui_error.log
Start your preferred browser and navigate to the dashboard url: https://<yourserver>:<your port>
(depends on your apache configuration).
After authentication you get redirected to the front page of the application:
From here you can select the different reports. For example the compliance overview: