Cisco Cisco Broadband Access Center Telco Wireless 3.8

Page of 267
 
8-33
Cisco Broadband Access Center for Cable Administrator’s Guide
OL-2445-02
Chapter 8      Broadband Access Center for Cable Support Tools and Advanced Concepts
Monitoring Available Disk Space
Starting the RDU SNMP Agent
This command starts the SNMP agent process on the RDU.
Syntax Description
To start the RDU SNMP agent process:
rduSnmpAgent.sh start
Stopping the RDU SNMP Agent
This command stops the SNMP agent process on the RDU.
Syntax Description
To stop the RDU SNMP agent process:
rduSnmpAgent.sh stop
Monitoring Available Disk Space
Monitoring available disk space is an important system administration task and you can use any number 
of custom written scripts or commercially available tools to do so. 
The disk_monitor.sh command, located in the <BPR_HOME>/rdu/sample/tools directory, sets 
threshold values for one or more file systems. When these thresholds are surpassed, an alert is generated 
through the Solaris syslog facility, at 60 second intervals, until additional disk space is available.
Note
Cisco recommends that, at a minimum, you use the disk_monitor.sh script to monitor the <BPR_DATA> 
and <BPR_DBLOG> directories.
To monitor available disk space:
# ./disk_monitor.sh (file system-directory) (x)
Where:
(file system-directory)—identifies any directory, in a file system, to monitor.
(x)—identifies the percentage threshold applied to the specified file system
Examples
Assume that you want to be notified when a file system (/var/CSCObpr for example) with database logs 
reaches 80% of its capacity. Enter the command using this syntax:
# ./disk_monitor.sh /var/CSCObpr 80
When the database logs disk space reaches 80% capacity, an alert similar to that shown below, is sent to 
the syslog file:
Dec 7 8:16:03 perf-u80-1 BPR: [ID 702911 local6.warning] File system /var/bpr usage is 81% 
(threshold is 80%)