Hmm.. the bash script is not working..
But this one is usefull, thanks for that!
And now the second part: the below script will ping the given ip adress:
How can I ping from $host to $host2 in the below script??
Something else then [..] must be filled in, so I can ping from beginnin ip (something like 192.168.1.1) till ending ip (something like 192.168.1.100)
Alright, I have being checking out various posting here trying to hack together something for a friend
Needed:
A script that can run in cron doing:
ping of several hosts and notifying via email when they are unavailable.
I am not going to post my non working messes (I am a basic... (11 Replies)
I have Digital UNIX V4.0B (Rev. 564) on alpha machine.
I'm trying to acces network in subnet (192.168.1.x).
Ip on Alpha comp. is from 192.168.3.X subnet. My default gateway on this network is 192.168.3.1 and it working OK from other machines. This machine is visible from same subnet... (2 Replies)
Hi,
My project needs to migrate the existing Subnet (255.255.255.0) to a new subnet and change the ipaddresses (currently C class). How can I do that. I need some information.
John (0 Replies)
Hello:
I have this script:
#!/bin/bash
#for loop
for ip in `cat ips`
do
ping $ip | grep "is alive">>pingtestlog
done
And its working properly with this input:
ericadm@amxcruas1> cat ips
10.196.60.4
10.196.61.210
10.196.62.73
10.196.61.152 (5 Replies)
Hello All,
We have added a windows host and its config files to Nagios master server and wanted to do a ping check alone at the moment however, the nagios master server identifies the host in its GUI and immediately disappears can anyone let me know the right approach to this one, We want to... (2 Replies)
HI,
I have a file serverlist in that all host names are placed.
i have written a small script
#./testping
#! /bin/bash
for i in `cat serverlist`
do
ping $i >> output.txt
done
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Hi all,
New to this forum.
I have just been reading through a historical thread about some issues with IPMP.
Some tips from "Peasant" where very useful. Please see below
"Just couple of more hints regarding VM.
For VDS, use one VDS - one guest LDOM, don't put everything in primary-vds.... (9 Replies)
Bash script to subdivide a given subnet into a pre-defined number of smaller subnets. Show network/broadcast address, number of hosts and assign gateway.
For example:
Input:
./subnetter.sh 192.168.0.0/24 3 Output:
192.168.0.0/128 subnet 192.168.0.0 broadcast 192.168.0.127 gateway... (1 Reply)
Bash script to subdivide a given subnet into a pre-defined number of smaller subnets. Show network/broadcast address, number of hosts and assign gateway.
For example:
Input:
./subnetter.sh 192.168.0.0/24 3 Output:
192.168.0.0/128 subnet 192.168.0.0 broadcast 192.168.0.127 gateway... (1 Reply)
Running 3650 switch. I have this odd issue where I cannot get 4 new Centos 7 boxes pinging out on public IPs (nor pinging in), only gateway .1 and first public IP .2
This is what I see, which doesn't look normal. How do I fix this?
The server itself is configured fine (Centos 7)
# cat... (0 Replies)
Discussion started by: Bashed
0 Replies
LEARN ABOUT REDHAT
amoverview
AMOVERVIEW(8) System Manager's Manual AMOVERVIEW(8)NAME
amoverview - display file systems processed by Amanda over time
SYNOPSIS
amoverview [[ -config ] config ] [ [-hostwidth width] ] [ [-diskwidth width] ] [ -verbose ]
DESCRIPTION
Amoverview displays a chart showing hosts and file systems processed by Amanda along with the backup level performed each day.
See the amanda(8) man page for more details about Amanda.
OPTIONS
[-config config]
Use configuration config instead of DailySet1.
[-hostwidth width]
Set host field column width to width characters instead of eight.
[-diskwidth width]
Set disk field column width to width characters instead of 20.
-verbose
Amoverview can take a long while on large systems. This option reports intermediate steps while it is working.
EXAMPLE
This shows the /home file system on host2 was backed up at level 3 on the 8th, 9th and 10th of December, had a full backup on the 11th, a
level 1 on the 12th and a level 2 on the 13th.
# amoverview
date 12 12 12 12 12 12
host disk 08 09 10 11 12 13
host1 / 0 1 1 1 1 1
host1 /var 0 1 1 1 1 1
host2 / 1 1 1 1 1 0
host2 /home 3 3 3 0 1 2
host2 /opt 1 1 1 1 1 1
host2 /var 1 1 0 1 1 1
SEE ALSO amadmin(8), amanda(8)AMOVERVIEW(8)