02-24-2004
What type of 'help' do you need ? Do you have something written that does not work or just want something someone else has done (a quick search on the Internet will bring many hits such as
this one )
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks,
Lately my RS 6000 server is giving some problems.
Needs a reboot from time to time (4-8 days):mad:
Specs:
IBM/RS6000
Unix 4.3
3 gigabyte memory
I keep getting messages like :
" The fork function failed "
I have raised the paging space from 1 gigabyte to 3 gigabyte,... (2 Replies)
Discussion started by: Erik Rooijmans
2 Replies
2. Solaris
First post :) ...
Here is a script for automatic labeling of previously unlabeled disks.
Other methods exist (format -f cmd_file), but I like this because it's all in one place.
#!/bin/ksh
#----------------------
# format_label
# Automatic labeling of previously unlabeled disks
#... (1 Reply)
Discussion started by: kwachtler
1 Replies
3. Filesystems, Disks and Memory
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)
Discussion started by: anuradha
3 Replies
4. Shell Programming and Scripting
I would like to monitor disk space on solaris system.Need script which will send email if the disk space exceeds 90%.
Thanks
-sam (3 Replies)
Discussion started by: sam786
3 Replies
5. Shell Programming and Scripting
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)
Discussion started by: amitranjansahu
2 Replies
6. Shell Programming and Scripting
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)
Discussion started by: sunilmenhdiratt
1 Replies
7. Infrastructure Monitoring
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)
Discussion started by: SkySmart
3 Replies
8. Programming
#!/usr/bin/perl
use strict;
use warnings;
use Filesys::DiskSpace;
# file system to monitor
my $dir = "/opt";
# warning level
my $warning_level=10;
# email setup
my $to='mail@mail.com';
my $subject='Low Disk Space';
# get df
my ($fs_type, $fs_desc, $used, $avail, $fused,... (1 Reply)
Discussion started by: sdhn1900
1 Replies
9. Shell Programming and Scripting
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)
Discussion started by: ali560045
0 Replies
10. Hardware
Hi, I am experiencing troubles with dual monitors in fedora 16. During boot time both monitors are working, but when system starts one monitor automatically shut down. It happend out of the blue. Some time before when I updated system this happend but then I booted older kernel release and... (0 Replies)
Discussion started by: wakatana
0 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_ids
OCF_HEARTBEAT_IDS(7) OCF resource agents OCF_HEARTBEAT_IDS(7)
NAME
ocf_heartbeat_ids - Manages an Informix Dynamic Server (IDS) instance
SYNOPSIS
ids [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
OCF resource agent to manage an IBM Informix Dynamic Server (IDS) instance as an High-Availability resource.
SUPPORTED PARAMETERS
informixdir
The value the environment variable INFORMIXDIR has after a typical installation of IDS. Or in other words: the path (without trailing
'/') where IDS was installed to. If this parameter is unspecified the script will try to get the value from the shell environment.
(optional, string, no default)
informixserver
The value the environment variable INFORMIXSERVER has after a typical installation of IDS. Or in other words: the name of the IDS
server instance to manage. If this parameter is unspecified the script will try to get the value from the shell environment.
(optional, string, no default)
onconfig
The value the environment variable ONCONFIG has after a typical installation of IDS. Or in other words: the name of the configuration
file for the IDS instance specified in INFORMIXSERVER. The specified configuration file will be searched at '/etc/'. If this parameter
is unspecified the script will try to get the value from the shell environment. (optional, string, no default)
dbname
This parameter defines which database to use in order to monitor the IDS instance. If this parameter is unspecified the script will use
the 'sysmaster' database as a default. (optional, string, default sysmaster)
sqltestquery
SQL test query to run on the database specified by the parameter 'dbname' in order to monitor the IDS instance and determine if it's
functional or not. If this parameter is unspecified the script will use 'SELECT COUNT(*) FROM systables;' as a default. (optional,
string, default SELECT COUNT(*) FROM systables;)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 120.
stop
Stops the resource. Suggested minimum timeout: 120.
status
Performs a status check. Suggested minimum timeout: 60.
monitor
Performs a detailed status check. Suggested minimum timeout: 30. Suggested interval: 10.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
methods
Suggested minimum timeout: 5.
usage
Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a ids resource using the crm(8) shell:
primitive p_ids ocf:heartbeat:ids
op monitor depth="0" timeout="30" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/ids_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_IDS(7)