From 5331c7b4e9cedae142d4089cc9afe002b7d0373d Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 3 Mar 1997 14:29:03 +0000 Subject: Interface load graphs now inherit SNMP properties from object. --- net/scotty/files/patch-ac | 15 +++++++++++++++ net/scotty3/files/patch-ac | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 net/scotty/files/patch-ac create mode 100644 net/scotty3/files/patch-ac (limited to 'net') diff --git a/net/scotty/files/patch-ac b/net/scotty/files/patch-ac new file mode 100644 index 000000000000..fea4b9f9de78 --- /dev/null +++ b/net/scotty/files/patch-ac @@ -0,0 +1,15 @@ +--- ../tkined/apps/snmp_monitor.tcl Mon Sep 2 18:30:19 1996 ++++ ..//tkined/apps/snmp_monitor.tcl Mon Mar 3 14:43:52 1997 +@@ -482,8 +482,11 @@ + + set args $ip + set i 0 ++ set snmpconfig [ined attribute $id "SNMP:Config"] + foreach if $iflist { +- lappend args [CreateChart $id [expr 30+$i] [expr 30+$i]] ++ set nid [CreateChart $id [expr 30+$i] [expr 30+$i]] ++ lappend args $nid ++ ined -noupdate attribute $nid "SNMP:Config" $snmpconfig + lappend args $if + incr i + } diff --git a/net/scotty3/files/patch-ac b/net/scotty3/files/patch-ac new file mode 100644 index 000000000000..fea4b9f9de78 --- /dev/null +++ b/net/scotty3/files/patch-ac @@ -0,0 +1,15 @@ +--- ../tkined/apps/snmp_monitor.tcl Mon Sep 2 18:30:19 1996 ++++ ..//tkined/apps/snmp_monitor.tcl Mon Mar 3 14:43:52 1997 +@@ -482,8 +482,11 @@ + + set args $ip + set i 0 ++ set snmpconfig [ined attribute $id "SNMP:Config"] + foreach if $iflist { +- lappend args [CreateChart $id [expr 30+$i] [expr 30+$i]] ++ set nid [CreateChart $id [expr 30+$i] [expr 30+$i]] ++ lappend args $nid ++ ined -noupdate attribute $nid "SNMP:Config" $snmpconfig + lappend args $if + incr i + } -- cgit