04-20-2010
i dont have exp in AIX and HP-UX. Please tell me what are all commands i can include to create helath check script?
Is there any default script available for the same ?
10 More Discussions You Might Find Interesting
1. HP-UX
Dear Gentelmen
I need command for display to me the following statement:
-battery state
-The application if working or not
-The cpu is working or not
-The power supply is working or not
-The Data base is workig or not (2 Replies)
Discussion started by: magasem
2 Replies
2. Shell Programming and Scripting
I am working on a project, which need to constantly watch the process, and check its status, if it was dead, it should be restart automatically.
Please kindly refer me to URL which teach how to write this kind of script, or service.
Thanks. (1 Reply)
Discussion started by: dragondad
1 Replies
3. AIX
Hi All,
I would like to know if there is a downloadable AIX health check script available from IBM that would print a report of a servers health status.
I've been working on a number of Sun Solaris servers and Sun provide a sun checkup script which can give you an ORI figure as well as a list... (3 Replies)
Discussion started by: backslash
3 Replies
4. AIX
Hi Everyone,
Can you please help me put together a aix health check script that will check the status of CPU,Memory,Adapter, Filesystems (threshold 80%) and Disks.Im thinking of deploying a script to gather the required data in all the 22 servers and probably send out a mail if anything needs... (3 Replies)
Discussion started by: R!C
3 Replies
5. Shell Programming and Scripting
There are 3 servers . I want to fire commands df -kh and mpstat -P ALL on those individual servers and retrieve particular values to genrate reports. This part is almost done. But i am facing issue when i need to compile the reports from all three servers on to one server in order to generate a... (1 Reply)
Discussion started by: pratikm23
1 Replies
6. HP-UX
Hi Experts,
I want to check health of hp-ux box.
Basically I want to check if there are possibilities of network/memory/cpu bottleneck?
Are there are any commands available other than glance in hp-ux for the same? (11 Replies)
Discussion started by: sai_2507
11 Replies
7. Shell Programming and Scripting
Hi
I am still learning how to write shell scripts, so I started to write a script like this:
#!/bin/sh
date
echo
outputOK () {
echo $1 ""
}
outputOK () {
echo $1 ""
}
for vol in `/usr/bin/grep -E 'hfs|vxfs|nfs|cifs' /etc/fstab | egrep -v '^#' | awk '{ print $3 }'`
do
if... (7 Replies)
Discussion started by: fretagi
7 Replies
8. Shell Programming and Scripting
need a script to check the health of a session server database. It must read the data base and send an alert if the database is unavailable. If its unavailable, we will want to bring down the database listener to force failover.
can u guyz help me in doing this. what information do i need... (1 Reply)
Discussion started by: remo999
1 Replies
9. Shell Programming and Scripting
Hi Team,
I am writing a small script in that I want collect all servers of /opt and /stage.
Below is my small script
#!/bin/ksh
#checking Media server opt_Disk_Space_logs
myclient=`cat media_server.txt`
> opt_logs.txt
printf " Server Name\tsize\tused\tavail\tcapacity\tMounted... (12 Replies)
Discussion started by: bashi77
12 Replies
10. AIX
Hi everyone, I am new to the Unix admin position, needed some help. My management wants to report how their over all AIX servers / environment is doing so far. I've been researching and found multiple commands to run on each LPAR, well I have few questions and also wanted to share the commands Im... (12 Replies)
Discussion started by: Adnans2k
12 Replies
LEARN ABOUT CENTOS
ocf_pacemaker_healthsmart
OCF_PACEMAKER_HEALTH(7) Pacemaker Configuration OCF_PACEMAKER_HEALTH(7)
NAME
ocf_pacemaker_HealthSMART - SMART health status
SYNOPSIS
OCF_RESKEY_state=string OCF_RESKEY_drives=string OCF_RESKEY_devices=string OCF_RESKEY_temp_lower_limit=string
OCF_RESKEY_temp_upper_limit=string OCF_RESKEY_temp_warning=string HealthSMART [start | stop | monitor | meta-data | validate-all]
DESCRIPTION
Systhem health agent that checks the S.M.A.R.T. status of the given drives and updates the #health-smart attribute.
SUPPORTED PARAMETERS
OCF_RESKEY_state = string [/HealthSMART-{OCF_RESOURCE_INSTANCE}.state]
State file
Location to store the resource state in.
OCF_RESKEY_drives = string [/dev/sda]
Drives to check
The drive(s) to check as a SPACE separated list. Enter the full path to the device, e.g. "/dev/sda".
OCF_RESKEY_devices = string
Device types
The device type(s) to assume for the drive(s) being tested as a SPACE separated list.
OCF_RESKEY_temp_lower_limit = string [0]
Lower limit for the red smart attribute
Lower limit of the temperature in deg C of the drive(s). Below this limit the status will be red.
OCF_RESKEY_temp_upper_limit = string [60]
Upper limit for red smart attribute
Upper limit of the temperature if deg C of the drives(s). If the drive reports a temperature higher than this value the status of
#health-smart will be red.
OCF_RESKEY_temp_warning = string [5]
Deg C below/above the upper limits for yellow smart attribute
Number of deg C below/above the upper/lower temp limits at which point the status of #health-smart will change to yellow.
AUTHOR
Andrew Beekhof <andrew@beekhof.net>
Author.
Pacemaker Configuration 06/10/2014 OCF_PACEMAKER_HEALTH(7)