--------------------------------------
__________________________________________
I am getting following error by running this script. Any help will be appreciated
I commented out "Filesys::DiskSpace"
"Filesys::DiskSpace"
any other alternative?
I do not have access to download "Filesys::DiskSpace".
I commented out this but getting following error now;
Hello,
I am trying to find a shell script to monitor diskspace. When the script encounteres a disk which above the treashold, I want an email notification.
My system runs on a Sun Solaris.
Is there anybode around who can help me with such a script?
Norbert (3 Replies)
Hello,
I am trying to find a shell script to monitor diskspace of all the directories in the server. When the script
encounteres a disk which above the treashold, I want an email
notification.
My system runs on AIX.
Is there anybody around who can help me with such a script?
... (3 Replies)
Some times my disk space is used upto 100% due to the application logs .
So this script is to monitor the disk space usage and wall message to the users about the disk space usage if it exceeds the limit set in the script. Here for example the limit is set to 80%. This job is added in cron to... (2 Replies)
Hi,
I need help to write a script which will monitor disk utilization.
Please suggest the best approach to achive this.
I am thinking of having sleep inside the script which will run for(eg.) 60 secs and then disk utilization will be checked and depends on the % usage of disk mail will... (1 Reply)
snmpget -v 1 -c COMMUNITYSTR hostname OID
what OIDs would I use to get information on all the processes and disk space information that are on a particular host.
where can i find out information on all of this?
thanks (3 Replies)
in red hat 4, 5 any one know any commands or any scritps to monitor HP DL 380 G5/6 server and trigger alarm when hard disk failed.
thanks for all support
---------- Post updated at 02:45 PM ---------- Previous update was at 12:00 PM ----------
does HP ProLiant Support Pack support is... (4 Replies)
Hi,
I need to monitor the disk space details in HP-UX . I need a command on how to display the information on below format
File System Total_Space_KB Used_Space_KB Available_Space_KB %Used
/u05 524288000 376235344 138799427 73%
/u02 ... (0 Replies)
Hi ,
during 2 weeks i´ve been trying to find them.
i need DCMU packets for managing internal disks on sun fire x4500 and sun fire x4600 on rhel. i have opened to tickets to myoraclesupport but no answer.
please anybody could tell me a link or anythiing?? i´ve been searching and searching... (1 Reply)
Hi,
I have searched the forum and found that there are many scripts that need the path i.e. /tmp, /opt, /var etc to be provided or hard coded for it to calculate the disk space free percentage.
What i need is a script that shows the free disk space for all partitions on my HPUX itanium... (5 Replies)
Discussion started by: mohtashims
5 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_sfex
OCF_HEARTBEAT_SFEX(7) OCF resource agents OCF_HEARTBEAT_SFEX(7)NAME
ocf_heartbeat_sfex - Manages exclusive access to shared storage using Shared Disk File EXclusiveness (SF-EX)
SYNOPSIS
sfex [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Resource script for SF-EX. It manages a shared storage medium exclusively .
SUPPORTED PARAMETERS
device
Block device path that stores exclusive control data. (required, string, no default)
index
Location in block device where exclusive control data is stored. 1 or more is specified. Default is 1. (optional, integer, default 1)
collision_timeout
Waiting time when a collision of lock acquisition is detected. Default is 1 second. (optional, integer, default 1)
monitor_interval
Monitor interval(sec). Default is 10 seconds (optional, integer, default 10)
lock_timeout
Valid term of lock(sec). Default is 100 seconds. The lock_timeout is calculated by the following formula. .sp lock_timeout =
monitor_interval + "The expiration time of the lock" .sp We suggest 90 seconds as a default value of the "The expiration time of the
lock", but you should change it in consideration of access delay to the shared disk and the switch time of the multipath driver. .sp
The lock timeout have an impact on start action timeout because start action timeout value is calculated by the following formula. .sp
start timeout = collision_timeout + lock_timeout + "safety margin" .sp The "safety margin" is decided within the range of about 10-20
seconds(It depends on your system requirement). (optional, integer, default 100)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 120s.
stop
Stops the resource. Suggested minimum timeout: 20s.
monitor
Performs a detailed status check. Suggested minimum timeout: 10s. Suggested interval: 10s.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5s.
EXAMPLE
The following is an example configuration for a sfex resource using the crm(8) shell:
primitive p_sfex ocf:heartbeat:sfex
params
device=string
op monitor depth="0" timeout="10s" interval="10s"
SEE ALSO
http://www.linux-ha.org/wiki/sfex_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_SFEX(7)