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 CENTOS
eeprog
eeprog(8) System Administration eeprog(8)NAME
eeprog - reads and writes 24Cxx EEPROMs connected to I2C serial bus.
SYNOPSIS
eeprog [-fqxdh] [-16|-8] [-r addr[:count]|-w addr] <device> <i2c-addr>
DESCRIPTION
eeprog uses the SMBus protocol used by most of the recent chipsets.
NOTE
Don't forget to load your i2c chipset and the i2c-dev drivers.
The following environment variables could be set instead of the command line arguments:
EEPROG_DEV device
EEPROG_I2C_ADDR i2c-addr
PARAMETERS
Address modes
-8 Use 8bit address mode for 24c0x...24C16 [default]
-16 Use 16bit address mode for 24c32...24C256
Actions
-r addr[:count]
Read count (1 if omitted) bytes from addr and print them to the standard output
-w addr
Write input (stdin) at address addr of the EEPROM
-h Print this help
Options
-x Set hex output mode
-d Dummy mode, display what *would* have been done
-f Disable warnings and don't ask confirmation
-q Quiet mode
Bus
device Device file representing the I2C bus (eg. /dev/i2c-0)
i2c-addr
I2C bus address of the EEPROM (eg. 0x3A)
EXAMPLES
Read 64 bytes from the EEPROM at address 0x54 on bus 0 starting at address 123 (decimal)
eeprog /dev/i2c-0 0x54 -r 123:64
Print the hex codes of the first 32 bytes read from bus 1 at address 0x22
eeprog /dev/i2c-1 0x51 -x -r 0x22:0x20
Write the current timestamp at address 0x200 of the EEPROM on bus 0 at address 0x33
date | eeprog /dev/i2c-0 0x33 -w 0x200
SEE ALSO eeprom(8)eepromer(8)AUTHOR
Stefano Barbato <stefano@codesink.org>
i2c-tools Jul 2013 eeprog(8)