1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Interface load graphs now inherit SNMP properties from object.

This commit is contained in:
Poul-Henning Kamp 1997-03-03 14:29:03 +00:00
parent 1b7821e1ad
commit 62c9cb2ef0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5817
3 changed files with 45 additions and 0 deletions

View File

@ -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
}

15
net/scotty/files/patch-ac Normal file
View File

@ -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
}

View File

@ -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
}