10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a task to patch red hat servers and some servers have a corrupted rpm database and return the error:
Error: rpmdb open failed
I know how to fix this when it occurs. What I'm hoping to do is scan a list of servers by IP and report back which server have this error.
... (6 Replies)
Discussion started by: greavette
2. Shell Programming and Scripting
I did the following script to ping multiple servers, but I keep on receiveing duplicate emails for one server that is down:
cat /var/tmp/servers.list | while read output
ping -c 1 "$output" > /dev/null
if ; then
echo "node $output is up"
... (10 Replies)
Discussion started by: fretagi
3. Shell Programming and Scripting
I have a file containing server names and i can ssh to all these servers without password.
Could any body suggest me how to list out IP address of all the servers?
Now i am manually doing this, like ssh to each server and run "ifcong -a" command and copy the ipaddress to a excel sheet.... (5 Replies)
Discussion started by: kumar85shiv
4. Shell Programming and Scripting
Hey, It's me again! Still trying to learn to become a better scripter on the job :)
New challenge for assistance, if anyone cares to help, and its two parted! First part, I wanted to create a script at work that would ping a server that was supplied in an argument, then a count (amount of times)... (5 Replies)
Discussion started by: gkelly1117
5. Shell Programming and Scripting
I have a file serverlist in that all host names are placed.
i have written a small script
for i in `cat serverlist`
ping $i >> output.txt
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Discussion started by: madhudeva
6. Shell Programming and Scripting
We have some 300 servers in the Data center and some of them are running with AIX and some of them are running with Solaris.
I need a script which can be run in one of the server and that script should ping the hostname of all the 300 servers.
Also the script should notify if any server is... (9 Replies)
Discussion started by: newtoaixos
7. UNIX for Advanced & Expert Users
I want to create a shell script that would check the file "/etc/default/kbd" for the entry KEYBOARD_ABORT=alternate on a list of SUN Solaris servers.
If this entry is not uncommented (without #) then I should get a message/error report for the host which does not have the setting... (3 Replies)
Discussion started by: mahive
8. UNIX for Advanced & Expert Users
I would like to automate a script to ping all the unix servers perodically thru
Is there any script out there? If so Please give me.
Thanks in advance. (2 Replies)
Discussion started by: sriny
9. UNIX for Advanced & Expert Users
I am running my script in crontab and it is generating a file everyday.
And I have 10 different servers and i am running the same script in every server in crontab which generates a file in every server per day.
I want to retrieve those files from each server everyday.
I want to... (1 Reply)
Discussion started by: AshishK
I would like to ping a list of servers in a text file. Can anyone help? (1 Reply)
Discussion started by: gbarkhor