Sponsored Content
Top Forums Shell Programming and Scripting Need Some guidance on scripting Post 302886021 by supercops on Wednesday 29th of January 2014 11:51:31 AM
Old 01-29-2014
Error Need Some guidance on scripting

Hey All,

I am newbie on scripting and need some guidance from all the experts here.

I am working on one project where I will check the status/health of around ten (10) solaris 10 servers.

I have one central server from where I have already setup the passwordless SFTP and setup the cron so that I dont have to do this manually.

What I want is like this.

From this central server, log in to all the target servers periodically and then check the status of the server ( like the memory, diskspace, number of users/connections ) and so on and then send a report to my email

If anyone have any ideas, please let me know

Again i am new to this and will need some help from the seniors.

any scripts that you are aware off can do this for me
 

10 More Discussions You Might Find Interesting

1. AIX

NIM Guidance

I've just started to explore NIM and I'm looking for additional information on how to set it up and configure it. I've read through the "NIM A-Z" and have many unanswered questions. One question is how can I have the NIM server pull a mksysb of the clients and can I schedule this to happen... (1 Reply)
Discussion started by: scottsl
1 Replies

2. What is on Your Mind?

Career Guidance

Hi, I am a newbie to Unix, I was introduced to UNIX 8 months back during my Training, I was attracted to Unix as they give complete freedom. I would like to ask how can a OS Admin can go into development field of Unix. Currently I am working in a MNC in Backup- Storage Admin Domain I am... (1 Reply)
Discussion started by: sufi_431
1 Replies

3. Shell Programming and Scripting

A little guidance needed :)

Hi guys, I'm learning the ropes of BASH and am doing a few exercises to see if its sinking in but have gotten stuck on something I KNOW is looking at me right in the face but just isn't registering. I'm creating a script that needs to get specific strings from a line. So using the "ls -l... (9 Replies)
Discussion started by: shadow0001
9 Replies

4. UNIX for Dummies Questions & Answers

Need guidance on RHEL patch

Hi, I am new with updates in RHEL especially servers. The question is: 1. Do I need to register to RHEL in order for me to use the up2date? 2. For updates in RHEL need to use up2date, but what is the thing that I need to do before the patches? I mean what should I backup in case my patches... (0 Replies)
Discussion started by: flekzout
0 Replies

5. Solaris

Career Guidance in solaris

Hi, Can someone Please Suggest me, if there are any opportunities in solaris field Apart from being Admin or Working in Support Domain. (3 Replies)
Discussion started by: laxmi Sharma
3 Replies

6. Shell Programming and Scripting

guidance required: feed load search & display in shell scripting

Hi All, I am fairly new to Shell Scripting, however learning fast ;-) I have been asked to do the below basic shell script :confused: There are few feed files we are recieving in the server from multiple locations spread out during the day, rite now we are checking manually each file... (2 Replies)
Discussion started by: sachaan
2 Replies

7. AIX

Need guidance on VMStat

I need some guidance on the differences in observations, not sure how significantly different are they. Also, It would be nice to hear on the values and what the obvious tuning for performance missing. Observation 1 ending vmstat -v 3948544 memory pages ending vmstat -v ... (1 Reply)
Discussion started by: Snipper
1 Replies

8. UNIX for Dummies Questions & Answers

Just need some guidance on this nawk

Hi, I am trying to debug some KSH script and it has the nawk portion below. I just want to confirm whether I understand what it does correctly. Example usage of the nawk line is run as below: nawk '/^#/ {next} $1~/^'testp.cfg'$|^'testp.cfg'\.testdb\.com\.ph$/ { c=0 while... (1 Reply)
Discussion started by: newbie_01
1 Replies

9. AIX

New to AIX. Need Guidance

Hi There, I am new to AIX. I am eager to learn the AIX System administration or if there is any other prerequisite before this. Please can anyone help me or guide how to start with AIX, what all courses and certifications do I need to do. I have basic knowledge of UNIX. Please guide as I am... (3 Replies)
Discussion started by: rahulat302
3 Replies

10. What is on Your Mind?

Regarding guidance to learn *NIX more and more

Hello All, This Poll/thread is for views of all forum user regarding following point: There are many people in this forum who are actually not actually working on *NIX(admin or real scripting/automation part) but they are/have learnt scripting and trying to help/guide/advice/sharing... (11 Replies)
Discussion started by: RavinderSingh13
11 Replies
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_temp_lower_limit=string OCF_RESKEY_temp_upper_limit=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 [/var/run//health-smart-{OCF_RESOURCE_INSTANCE}.state] State file Location to store the resource state in. OCF_RESKEY_drives = string [sda] Drives to check The drives to check as a SPACE separated list. Enter only the part after the "/dev/" i.e. "sda". At the moment /dev/sda is hard coded. Sorry. OCF_RESKEY_temp_lower_limit = string [0] Lower limit for the temperature of the drive(s) Lower limit of the temperature in deg C of the drive(s). Below this limit there status will be red. The yellow limit is 5 deg C more than this value. 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. The yellow limit is 5 deg C below this value. AUTHOR
Andrew Beekhof <andrew@beekhof.net> Author. Pacemaker Configuration 07/05/2010 OCF_PACEMAKER_HEALTH(7)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy