On 11/5/09 5:27 AM, "Michael Seibold" <
[hidden email]> etched on
stone tablets:
> Hi Klaus,
>
>> It has two interfaces on the same network
>
> Can you set a host route on this device pointing to your management interface
> on this machine to force it to send all answers to your management server
> through the same interface?
>
I don't believe so, no ... the network stack is implemented in VxWorks, and
is somewhat brittle in nature. The UI it presents only allows setting a
default gateway, although oddly enough the way this information is entered,
it gives the appearance that the default gateway applies only to the
management interface, not the data interface.
>
>> 1. how do I monitor the machine, so that OpenNMS doesn't try to query the
>> management interface for any services but still tracks it via ICMP for node
>> up/down status, i.e. which interface do I want to query, and which one do I
>> ignore, or should I just let OpenNMS figure that out?
>
> I think service discovery should be configured in capsd-configuration.xml and
> service (icmp...) polling in poller-configuration.xml. Discovering the
> services won't harm normally, so just disable polling for them.
>
What seems to happen is OpenNMS eventually concludes that the management
interface is actually associated with the node for the data interface, and
treats it as a part of the data interface node, rather than as a separate
node. I'm not sure if this is by design or a side-effect, but if it's by
design, I think it's a good design, so cheers on that. :-)
>
> ...
>
>> 3. what would cause OpenNMS to fail to collect more data than just basic
>> response time from a node that's exporting the IF, IP, and SNMPv2-SMI MIBs?
>
> It has to find a package in datacollection-config.xml where it can match the
> sysoid from your device! No match -> no data.
>
Okay, that makes sense. I have a couple of disparate systems that also use a
sysObjectID of .0.0 -- there's an Apple XRAID enclosure that's similarly
brain-dead. I added this to the systems section of datacollection-config.xml
and re-scanned, but then the node stopped showing the 'Update SNMP' link
altogether so I'm still confused:
-- cut --
<systemDef name="Broken SNMP Implementations">
<sysoid>.0.0</sysoid>
<collect>
<includeGroup>mib2-host-resources-system</includeGroup>
<includeGroup>mib2-host-resources-memory</includeGroup>
<includeGroup>mib2-host-resources-storage</includeGroup>
<includeGroup>net-snmp-disk</includeGroup>
<includeGroup>net-snmp-proc</includeGroup>
<includeGroup>ucd-loadavg</includeGroup>
<includeGroup>ucd-memory</includeGroup>
<includeGroup>ucd-sysstat</includeGroup>
<includeGroup>ucd-sysstat-raw</includeGroup>
<includeGroup>ucd-sysstat-raw-more</includeGroup>
</collect>
</systemDef>
-- cut --
Additionally, I now see this message in the collectd.log (sorry for the
crappy linewrap):
-- cut --
2009-11-05 23:49:19,374 WARN [CollectdScheduler-50 Pool-fiber2]
CollectableService: Unable to initialize 10.99.42.93 for SNMP collection,
reason: Interface 10.99.42.93 is not the primary SNMP interface for nodeid
161
2009-11-05 23:49:19,447 WARN [CollectdScheduler-50 Pool-fiber4]
CollectableService: Unable to initialize 10.99.42.93 for SNMP collection,
reason: Interface 10.99.42.93 is not the primary SNMP interface for nodeid
161
2009-11-05 23:50:30,966 WARN [btpool0-9] IfLabel: Interface
(nodeId/ipAddr=161/10.99.42.93) has no ifName and no ifDescr...setting to
label to 'no_ifLabel'.
-- cut --
10.99.42.93 is the IP address of the data interface, i.e., the one that
answers SNMP queries -- should I change the way the systemDef is matched or
should using '<sysoid>.0.0</sysoid>' match these broken implementations that
don't properly assign an enterprise OID number to the sysObjectID? Is more
information needed in datacollection-config.xml to get OpenNMS to gather
SNMP data from these nodes?
thanks,
Klaus
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQopennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss