View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
526 | RackTables | SNMP | public | 2012-02-08 22:32 | 2012-02-11 07:01 |
Reporter | biffhero | Assigned To | adoom42 | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.19.10 | ||||
Target Version | 0.20.0 | Fixed in Version | 0.20.0 | ||
Summary | 526: SNMP: Unknown OID '9.1.471' | ||||
Description | This is a cisco 2651XM from "show hard" Cisco 2651XM (MPC860P) processor (revision 4.1) with 253952K/8192K bytes of memory. | ||||
Tags | No tags attached. | ||||
You need to submit the SNMP data described in the wiki: https://sourceforge.net/apps/mediawiki/racktables/index.php?title=FAQ#Why_does_the_SNMP_sync_feature_return_Unknown_OID_.28n.n.n.n.n.29 Also, please consider creating a patch. |
|
Here is what I changed. $ rcsdiff -r1.1 dictionary.php =================================================================== RCS file: RCS/dictionary.php,v retrieving revision 1.1 diff -r1.1 dictionary.php 1673a1674,1675 > 1607 => array ('chapter_id' => 12, 'dict_value' => 'Cisco%GPASS%2651XM'), $ rcsdiff -r1.1 snmp.php =================================================================== RCS file: RCS/snmp.php,v retrieving revision 1.1 diff -r1.1 snmp.php 853a854,865 > '9.1.471' => array > ( > 'dict_key' => 1607, > 'text' => '2561XM: 2 RJ-45/10-100TX', > 'processors' => array ('catalyst-chassis-any-100TX'), > ), 1513a1526,1529 > $swstring = $device->snmpget ('1.3.6.1.2.1.1.1.0'); > // only for routers > if (preg_match ('/Cisco IOS Software, C2600/', $swstring)) > commitAddPort ($objectInfo['id'], 'aux0', '1-29', 'auxillary', ''); // RJ-45 RS-232 aux port I also made the database entry into the Dictionary table. |
|
oops. > '9.1.471' => array > ( > 'dict_key' => 1607, > 'text' => '2651XM: 2 RJ-45/10-100TX', > 'processors' => array ('catalyst-chassis-any-100TX'), > ), It is a 2651, not a 2561. |
|
You were very close. I changed the dictionary entry to 270 as the 2651 model already exists. Please search dictionary.php for device models before adding new ones. Also, I removed the $swstring snmpget as the sysDescr has already been grabbed. See r4956 for details. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-08 22:32 | biffhero | New Issue | |
2012-02-08 22:32 | biffhero | Status | new => assigned |
2012-02-08 22:32 | biffhero | Assigned To | => adoom42 |
2012-02-09 03:14 | adoom42 | Note Added: 0000585 | |
2012-02-09 03:14 | adoom42 | Status | assigned => feedback |
2012-02-11 06:35 | biffhero | Note Added: 0000604 | |
2012-02-11 06:42 | biffhero | Note Added: 0000605 | |
2012-02-11 07:01 | adoom42 | Note Added: 0000606 | |
2012-02-11 07:01 | adoom42 | Status | feedback => closed |
2012-02-11 07:01 | adoom42 | Resolution | open => fixed |
2012-02-11 07:01 | adoom42 | Fixed in Version | => 0.20.0 |
2012-02-11 07:01 | adoom42 | Target Version | => 0.20.0 |