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:
parent
1b7821e1ad
commit
62c9cb2ef0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5817
15
net-mgmt/scotty3/files/patch-ac
Normal file
15
net-mgmt/scotty3/files/patch-ac
Normal 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
15
net/scotty/files/patch-ac
Normal 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/scotty3/files/patch-ac
Normal file
15
net/scotty3/files/patch-ac
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user