Site Interface Report

Homepage Clovertech Forums Cloverleaf Site Interface Report

  • Creator
    Topic
  • #115074
    Rich
    Participant

    I would like to produce an excel report of interfaces, connections, IP’s, and ports.  How do you do this with Cloverleaf?

Viewing 1 reply thread
  • Author
    Replies
    • #115077
      James Cobane
      Participant

      You can utilize the Cloverleaf APIs (CLAPI) to obtain this information (which I have not done, so I don’t have a clue how to do it via CLAPI).  I have utilized Tcl with the functions available in ncitlib to extract information from NetConfig for different things.  Attached is a script to extract TCP/IP threads from all the sites NetConfig(s) and list them out (in port order).  This might give you something to start with to create your own and format in a .csv format to import into Excel.

      Note that we are on AIX.

       

      (remove the .txt extension of the attachment)

      Jim Cobane

      Henry Ford Health System

      • This reply was modified 4 years, 8 months ago by James Cobane.
      Attachments:
      You must be logged in to view attached files.
    • #115118
      Tim Pancost
      Participant

      We’ve done something similar here.  We’re using it for importing the thread info into a support database used by our Operations staff when monitoring our interfaces.  It creates a .csv file that has a header row with the names of the fields we’re interested in.  Might be more than what you’re looking for, so feel free to trim down.  To use it, change the “set siteList” step to a space-delimited list of the sites that you want to run the script over(currently a couple from our environment; adt_hubi and adt_hubo).  Also not that the script only supports protocol types of pdl*, tcpip*, file, http*, and fileset*.  If you have other protocol types, you’ll need to add a section for them in the switch statement and pull the protocol-type specific items that you want.

      We are on 6.2.4 on AIX, BTW, so you may need to edit the first line as well to reflect your environment.

      HTH,

      TIM

      Attachments:
      You must be logged in to view attached files.

      Tim Pancost
      Trinity Health

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

Forum Statistics

Registered Users
5,129
Forums
28
Topics
9,301
Replies
34,447
Topic Tags
288
Empty Topic Tags
10