On This Page
Configure Thresholds and Services - Sample Code
# configure_os_monitoring
[ OS Monitoring Control Panel ]
===============================
(1) Recipient Settings
(2) SMTP Settings
(3) SNMP Settings
(4) Threshold Settings
To change the settings, enter the item number to change.
To quit, enter q: 4
/ --> [ Threshold Settings ]
=============================
(1) CPU Usage 10%
(2) Memory Usage 70%
(3) Disk Usage 70%
(4) Services Settings
To change the settings, enter the item number to change.
To quit, enter q. To return to the previous menu enter r: 4
/ --> Thresholds Settings --> [ Services Settings ]
===================================================
(1) Application Server Enabled
(2) Cron Enabled
(3) Database Enabled
(4) JMS Tunnel Disabled
(5) Stunnel Disabled
(6) Syslog Enabled
(7) Web Server Enabled
To change the service monitoring status, enter the item number to change.
To quit, enter q. To return to the previous menu enter r.
Change Service > 6
/ --> Thresholds Settings --> [ Services Settings ]
===================================================
(1) Application Server Enabled
(2) Cron Enabled
(3) Database Enabled
(4) JMS Tunnel Disabled
(5) Stunnel Disabled
(6) Syslog Disabled
(7) Web Server Enabled
To change the service monitoring status, enter the item number to change.
To quit, enter q. To return to the previous menu enter r.
Change Service > r
/ --> [ Threshold Settings ]
=============================
(1) CPU Usage 10%
(2) Memory Usage 70%
(3) Disk Usage 70%
(4) Services Settings
To change the settings, enter the item number to change.
To quit, enter q. To return to the previous menu enter r: 1
To change threshold, enter the threshold in percentage 0-99.
To quit, enter q. To return to the previous menu, enter r.
To disable monitoring on the resource, press ENTER.
CPU Usage > 30
/ --> [ Threshold Settings ]
=============================
(1) CPU Usage 30%
(2) Memory Usage 70%
(3) Disk Usage 70%
(4) Services Settings
To change the settings, enter the item number to change.
To quit, enter q. To return to the previous menu enter r: 2
To change threshold, enter the threshold in percentage 0-99.
To quit, enter q. To return to the previous menu, enter r.
To disable monitoring on the resource, press ENTER.
Memory Usage > <Enter>
/ --> [ Threshold Settings ]
=============================
(1) CPU Usage 30%
(2) Memory Usage Disabled
(3) Disk Usage 70%
(4) Services Settings
To change the settings, enter the item number to change.
To quit, enter q. To return to the previous menu enter r: q
[root@TufinOS ~]#