[tkined] Addition of HTTP to the ip_monitor.tcl script

From: John Karsten (john.karsten@home.com)
Date: Sun May 13 2001 - 05:51:17 MET DST


Most of the devices these days have imbedded web servers for management so I
added the option to the IP monitor menu. To install insert the following
text in order to the files indicated. If anyone has any suggestions let me
know.

John

IP_monitor.tcl line 220

##
## Open a web session with Netscape for every selected node.
##

proc HTTP {list} {
    global env

    set netscape "/usr/bin/netscape"

    if {[info exists env(PATH)]} {
        foreach d [split $env(PATH) :] {
            if {[file exists $d/netscape]} {
                set netscape $d/netscape
            }
        }
    }

    ForeachIpNode id ip host $list {
        catch {exec $netscape $ip &}
    }
}

line 842

            HTTP Telnet Rlogin Daytime Finger \

and then modify line 111 in tkined.defaults

tkined.IP-Trouble: HTTP Telnet Finger "Trace Route" "DNS Info" "Whois Info"
"TCP Services" "RPC Services"

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:26 MET