Unsolved
This post is more than 5 years old
138 Posts
0
1802
AM-PM Discovery DLink device
Hello All.
I have a question about discovery process for DLink device, i have DLink DES 2108 device, but i can't to discover this device in Smarts.
When i discover , i get message:
Indicates that an error occured while discovering the system. DiscoveryError is notified under the following circumstances: - SNMP requests times out - SNMP agent encounters a loop - system is unreachable (Down) - Qualified access address not found
So, i start walk and get error:
Error: OID not increasing: IP-MIB::ipNetToMediaIfIndex.604.x.x.x
So, a problem is OID not increasing, in snmpwalk i can solve this with snmpwalk -Cc parameter:
c: do not check returned OIDs are increasing
How can i solve this issue in Smarts?
Did not find any relevant parameter in discovery.conf
Thanks
I have a question about discovery process for DLink device, i have DLink DES 2108 device, but i can't to discover this device in Smarts.
When i discover , i get message:
Indicates that an error occured while discovering the system. DiscoveryError is notified under the following circumstances: - SNMP requests times out - SNMP agent encounters a loop - system is unreachable (Down) - Qualified access address not found
So, i start walk and get error:
Error: OID not increasing: IP-MIB::ipNetToMediaIfIndex.604.x.x.x
= IP-MIB::ipNetToMediaIfIndex.604.x.x.x
So, a problem is OID not increasing, in snmpwalk i can solve this with snmpwalk -Cc parameter:
c: do not check returned OIDs are increasing
How can i solve this issue in Smarts?
Did not find any relevant parameter in discovery.conf
Thanks
Hemulll
138 Posts
0
February 11th, 2009 05:00
How can i solve this issue ?
TCorcoran
53 Posts
0
February 18th, 2009 19:00
I can't find a driver that should be polling that MIB. Did you create a custom driver?
- TC
TCorcoran
53 Posts
1
February 18th, 2009 20:00
I am having similar problems with CISCO WS-6509 switches and bridge MIB polling. The agent ends up spinning on a MIB and discovery gets stuck, whereas sm_snmp can will just error out.
I think you should open up an enhancement request with support, or at least a trouble ticket.
The oddest thing with your issue is that I still cannot find a driver that polls the MIB you are having problems with.
- TC
Hemulll
138 Posts
0
February 18th, 2009 20:00
This is standart Generic-Switch driver.
# Case 14728495: D-Link DES-3526
.1.3.6.1.4.1.171.10.64.1 {
TYPE = Switch
VENDOR = D-Link
MODEL = DES-3526
CERTIFICATION = CERTIFIED
CONT = Generic-Switch
VLAN = Dot1q
HEALTH = DLink
INSTRUMENTATION:
Environment = DLinkEnvMon:DeviceID
Interface-Fault = MIB2
Interface-Performance = MIB2
Port-Fault = MIB2
Port-Performance = MIB2
}
But i have same problem with many devices.
I think that should be parameter that disable OID increasing errors.
But have no found it in discovery.conf .
Hemulll
138 Posts
0
February 18th, 2009 20:00
I have another question for you.
For example i have some device that not CERTIFIED in Smarts.
I create Discovery Process for this device, but now need to create Instrumentation for Pooling specific OIDs.
Now i can see that in oid2Type file in INSTRUMENTATION uses CiscoRouter:Device ID.
INSTRUMENTATION:
CPU/Memory = CiscoRouter:DeviceID
Interface-Fault = MIB2
Interface-Performance = MIB2
}
A question is:
1) what is CiscoRouter:DeviceID?
2) How can i set my OID and Indexes for automatic polling without load accessor.asl on demand.
P.s
In Setting Group i see Rule Set parameter, that contain asl script, for example /health/env-setting.asl that do group and do makeInstrumentation.
This script uses 3 GA Tables:
poller = object(getInstances("SNMP_AccessorInterface")[0]);
envMap = object("INSTR-Environment");
indexMap = object("INSTR-Environment-Index");
OPSDataSet = object("AM-Override-Polling-Element-DataSet");
How can i use this tables for automatic insert my Instrumentaion to polling.
FredericMeunier_0588be
143 Posts
1
February 19th, 2009 06:00
personally, I'm doing the instrumentation at discovery time (using the custom/device-end-system.asl rule). This is really not _the_ solution (as the instrumentation won't be created before discovery -for ex. after a restart of the AM, and not at the first reconfigure) but this is an acceptable solution as for this I don't want to spend times trying to hack around ASL scripts each time there is a new patch/SP/release...
My 2 cents,
--Fred
== Monitor your Smarts environment using APG ReportPack for Smarts health ==
Frederic Meunier
Solutions Watch4Net Inc
APG & Smarts InCharge integration
http://www.watch4net.com
Hemulll
138 Posts
0
February 19th, 2009 07:00
I know this solution with custom-end-post.asl.
now I investigate the issue of make automatic instumentation for custom parameter.
For this issue you should cteate 2 steps.
1) Create Instrumentation class, for example Card_Fault_VendorCard with specific oids
2) Create in oid2Type_x.cof INSTRUMENTATION like
Card-Fault = xVendorCard:DeviceID
Now i debuging env-setting.asl and cpu-setting.asl, still have no luck in this issue.
It's realy crazy , for poll specific OID you must be genius
If someone know about this please share this knowledge is really needed.