6.0.0-beta1
10/17/25

[#1271] Router/Generic/Custom OID Addition
Summary Router/Generic/Custom OID Addition
Queue Nic
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester mbydalek (at) mobilemini (dot) com
Created 01/28/2005 (7567 days ago)
Due
Updated 02/03/2005 (7561 days ago)
Assigned
Resolved 02/03/2005 (7561 days ago)
Milestone
Patch No

History
02/03/2005 08:59:30 PM mbydalek (at) mobilemini (dot) com Comment #4 Reply to this comment
yay! I get that warm fuzzy feeling whenever something I do gets 
committed ;)  Anyways, just a small type-o on line 103 in 
Device/SNMP.php - function _cleanResponse() isn't spelled right.



Didn't think it was worth making a patch =x



Thanks!
02/03/2005 08:13:15 PM Chuck Hagenbuch Comment #3
State ⇒ Resolved
Reply to this comment
These changes have been committed with some minor tweaks - thanks!
01/28/2005 06:40:01 PM mbydalek (at) mobilemini (dot) com Comment #2
New Attachment: Router.patches.tar.gz Download
Reply to this comment
The files ...
01/28/2005 06:39:26 PM mbydalek (at) mobilemini (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Router/Generic/Custom OID Addition
Queue ⇒ Nic
Reply to this comment
This is the first part in my quest to add RRDTool as an option to 
graph data for Nic.  What these patches do is add the ability to 
specify which oid's you would like to monitor from the 
config/devices.php, rather than have them be statically defined.



I initially started by creating a 'Router' driver, but after thinking 
about it, there is probably a more fitting name for it because it's 
like a custom snmp driver.  So perhaps I should rename it to "Custom" 
or something, but I'm not sure.



One of the changes that I did make though was that 'storeable' was 
true unless otherwise stated.  Initially I did it the other way, but I 
thought that since you speficied to monitor an oid, you'd probably 
want it stored as well.



That's pretty much it.  What I plan on doing is adding in the 
devices.php a parameter like 'rrdtool' and if enabled will store the 
information to an RRD file as well to allow for nifty graphing! :)



-Mike

Saved Queries