Search Results

Search: Posts Made By: marmellata
7,523
Posted By marmellata
ok as regard crontab I could solve the...
ok

as regard crontab I could solve the problem. Script now works but storing plain text password into the script is not so well done.

I'm not sure passwordless ssh can be used on cisco...
7,523
Posted By marmellata
thanks to reply my post, yes I'm using ssh ...
thanks to reply my post,

yes I'm using ssh

don't know how to use keys
7,523
Posted By marmellata
Save output to file - inside a script ?
I'm using the following script to check cisco router health and I'd like to save output to a file,

vty_runcmd.sh > /check/check-cisco-health

script works and output is saved to a file. However...
Forum: Solaris 07-21-2011
22,367
Posted By marmellata
you are right sorry I also should telnet +...
you are right sorry

I also should telnet + port with my loopback source address, is it possible with telnet ?


thank you
Forum: Solaris 07-21-2011
22,367
Posted By marmellata
ping with source address
Hello,

is there any way to ping with source address on Solaris ?
7,561
Posted By marmellata
ping and telnet timeout
Hello,
I need help, I have the following which save in the result file ping and telnet:port test.

Basically the script works but I should implement a check on ping and telnet command so that...
Forum: Solaris 07-17-2011
8,789
Posted By marmellata
thanks for your reply, ...
thanks for your reply,


WEB="www.google.it"
GW="192.168.1.1"
PORT="80"


if ping -c 5 -w 5 -n ${GW} | grep -q "bytes from"
then
echo ${GW} " is OK"
else
echo ${GW} " is DOWN"
fi
...
1,557
Posted By marmellata
thanks anyway
thanks anyway
1,557
Posted By marmellata
Exception to Private Message Limitation
Can you give me help so that I can send pms even though I have less then 10 post?

Thanks

Kind regards
Forum: Solaris 07-16-2011
4,837
Posted By marmellata
Hello, I found this post interesting...
Hello,



I found this post interesting cause I want to check some ip addresses throught ping, traceroute or telnet+port


1.I dont need



but an if condition so that I can



2....
Forum: Solaris 07-16-2011
8,789
Posted By marmellata
Sorry too difficult to me, need something simple...
Sorry too difficult to me, need something simple right now :(

ping -c 5 -w 5 -n 192.168.1.1 | grep -q "bytes from" && echo "Gateway , Ping is OK"
traceroute 10.22.1.6 | grep -q "10.22.1.6" &&...
Forum: Solaris 07-16-2011
8,789
Posted By marmellata
Ping trace telnet monitoring script
Hello, it is my first post :)
I need to implement some monitoring tools in a script, ping telnet traceroute

I found this one to ping, it works,

#!/bin/sh
for i in `cat /tmp/PingStatus.txt`...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 07:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy