×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

shell script for verifying endpoints/gateways IP addresses

shell script for verifying endpoints/gateways IP addresses

shell script for verifying endpoints/gateways IP addresses

(OP)
Is there a shell script that could be written to verify a text file with the output of wep ls?

For instance, if I have a text file with all endpoints listed with their IP addresses and listed underneath their respective gateways, starting with wep ls - where would I go from there?

Please excuse me if this is an easy question since I am both new to Tivoli and new to this forum...

RE: shell script for verifying endpoints/gateways IP addresses

What is it you are looking to verify? Is it to ping the ip address that wep ls states to verify that the endpoint is at that address?

Martin Carnegie
GulfBreeze Software - http://www.gulfsoft.com
GulfBreeze Blog - http://www.gulfsoft.com/blog

RE: shell script for verifying endpoints/gateways IP addresses

(OP)
hey martincarnegie.

yeah, along those lines. i have a .txt file that hasn't been updated in over a year and i'm working in an enterprise environment, so may endpoints.

this .txt file has a list of gateways and the endpoints associated with and what i was hoping to do is verify if the information is correct without going endpoint by endpoint.

maybe doing a wep ls and pulling out the address and label and then performing an nslookup somehow and then match that up (possibly doing a diff) with what's in that .txt file.

am i way off base?

RE: shell script for verifying endpoints/gateways IP addresses

What you could do is use the command "wep ls -i label,address,last_login_time" to provide the endpoint labels, the last recorded ip address and the last time the endpoint logged in. This is a query to the endpoint manager and should be fairly accurate (but not 100%).

Martin Carnegie
GulfBreeze Software - http://www.gulfsoft.com
GulfBreeze Blog - http://www.gulfsoft.com/blog

RE: shell script for verifying endpoints/gateways IP addresses

(OP)
Thanks martincarnegie.

Appreciate it.

RE: shell script for verifying endpoints/gateways IP addresses

No problem.

BTW, if you are looking for more Tivoli help, probably the better place is to subscribe to the TME 10 mailing list at http://www-306.ibm.com/software/sysmgmt/products/support/TME10.html

or use the Developer works forum at http://www.ibm.com/developerworks/forums/tivoli_forums.jsp

As you can see, the activity on this forum is lacking. I just have a notification sent to me when something new is posted, but otherwise I never visit :)

Martin Carnegie
GulfBreeze Software - http://www.gulfsoft.com
GulfBreeze Blog - http://www.gulfsoft.com/blog

RE: shell script for verifying endpoints/gateways IP addresses

(OP)
I did notice that, thanks again...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close