Benjamin Reed | 31 May 21:21 2016
Gravatar

This Week in OpenNMS: May 31st, 2016

It's time for This Week in OpenNMS!

In the last week we worked on Minion, the database backend, topology maps and BSM, and Bamboo.


Github Project Updates

  • Minion
    Chandra has continued working on improving the minion code that communicates with OpenNMS. Jesse has been working on supporting location-aware SNMP requests that can transparently proxy to remote minion systems. Seth has been working on evaluating and updating the syslog branch including improving throughput of syslog messages from Minions.
    • Database Access
    Alejandro and I did some work on updating database code (JDBC drivers and C3P0 pooling). We have also introduced a new alternative pool library, HikariCP, which promises much better database performance.
    • Topology Maps and Business Service Monitor
    Markus, Dustin, and Jesse have also continued to work on Project Atlas, with the goal of improving navigation through support of topology layers, and support for moving node map functionality to the topology UI.
    • Bamboo Updates
    I’ve been spending more time on our smoke test infrastructure, porting Jesse’s Minion System Tests to be a more generic test framework for spawning tests to run against a dockerized OpenNMS install.


    Upcoming Events and Appearances

    The OpenNMS Group has moved the next training session in Pittsboro, NC to August 15th through 19th. For more details on OpenNMS training and signing up, see The OpenNMS.com training page: http://www.opennms.com/training

    Dev-Jam 2016 is sneaking up on is, but there is still plenty of time to join us in Minnesota. For more information, see The Dev-Jam 2016 wiki page: https://www.opennms.org/wiki/Dev-Jam_2016

    Mike Huot has written up a proposal letter you can use to help explain to management why attending Dev-Jam is a good idea. Feel free to copy this letter and join us in Minnesota this year: https://docs.google.com/document/d/1VerZYe5LwMT_1j5ISAsNU9-ZGcwY_zdA_4DODNlBpYg/edit?usp=sharing


    Until Next Week…

    If there’s anything you’d like me to talk about in a future TWiO, or you just have a comment or criticism you’d like to share, don’t hesitate to say hi.


    – Ben


    Resolved Issues Since Last TWiO

    • HZN-655: Add a Camel context to applicationContext-pollerd.xml to route monitor calls
    • HZN-656: Create a Minion blueprint.xml for features/poller/monitors/core
    • HZN-658: Integrate opennms-poller-monitors-core into the Minion RPM build
    • HZN-707: IBM TSRM ticket creation gives “exceeds the maximum field length exception”
    • HZN-719: Allow administatrors to know which Minions are currently active
    • HZN-736: Prevent the user to change the icon from the Topology UI when a GraphML Topology Provider is selected
    • HZN-754: Generalize the GenericInfoPanelItem
    • HZN-760: Write smoke tests for the GraphML topology provider
    • HZN-769: Recommend Cassandra 3.0.x instead of 2.1.x
    • HZN-785: Navigating to the “regions” layer should show all of the regions by default
    • HZN-798: Fix problems in MonitoredServiceTask.calculateTaskTimeout()
    • NMS-6331: When using storeByFS a provisioning group cannot contain whitespace
    • NMS-8400: Classloader issues with queuingservice
    • NMS-8432: GraphMLMetaTopologyFactory does not cleanup properly when “unregistering”
    • NMS-8438: Upgrade PostgreSQL Driver and C3P0
    • NMS-8448: Forecast metrics using Backshift
    • NMS-8450: Topology redirects to localhost (127.0.0.1)
    ------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
    patterns at an interface-level. Reveals which users, apps, and protocols are 
    consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
    J-Flow, sFlow and other flows. Make informed decisions using capacity 
    planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    Antonio Russo | 31 May 16:22 2016
    Picon
    Gravatar

    Cannot get status from user different then root

    Dear OpenNMS geeks,
     
     I’m facing a problem related to I guess permissione for getting opennms status using a user different then root.
     The opennms script for stoppini and statini opennms needs root privilegi for the icml support we need.
     But for the status to have root privilegi is not needed.

     So I had in the path the following way of getting statutes on opennms…


    java  -Djava.home=/usr/lib/jvm/java-8-oracle/jre/  -Dopennms.home=/usr/share/opennms -jar /usr/share/opennms/lib/opennms_bootstrap.jar -u service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi  -v status

    I got the right answer…

    OpenNMS.Eventd         : running
    OpenNMS.Trapd          : running
    OpenNMS.Queued         : running
    OpenNMS.Dhcpd          : running
    OpenNMS.Notifd         : running
    OpenNMS.Scriptd        : running
    OpenNMS.Rtcd           : running
    OpenNMS.Pollerd        : running
    OpenNMS.EnhancedLinkd  : running
    OpenNMS.Ticketer       : running
    OpenNMS.Collectd       : running
    OpenNMS.Discovery      : running
    OpenNMS.Vacuumd        : running
    OpenNMS.EventTranslator: running
    OpenNMS.Statsd         : running
    OpenNMS.Provisiond     : running
    OpenNMS.Reportd        : running
    OpenNMS.Alarmd         : running
    OpenNMS.Ackd           : running
    OpenNMS.JettyServer    : running

    I guess in such a way the Manager is queting the jmxrmi built in java to get the status of mmx services.

    If I run the p[reviuos commando with a different user I got the following…

    Could not connect to the OpenNMS JVM (OpenNMS might not be running or could be starting up or shutting down): Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi


    This is veri difficult to be explained by me, but this is an issue in 17.1.1.

    Thanks

    Antonio

    Antonio Russo
    OGP



    ------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
    patterns at an interface-level. Reveals which users, apps, and protocols are 
    consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
    J-Flow, sFlow and other flows. Make informed decisions using capacity 
    planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    Tarun | 27 May 12:34 2016

    Jetty Server is showing starting

    Dear Team,
    
    I have restarted opennms, but jetty server is showing as starting and i am
    also unable to open the web browser. Kindly help me to rectify the issue.
    
    --
    View this message in context: http://opennms.530661.n2.nabble.com/Jetty-Server-is-showing-starting-tp7593797.html
    Sent from the OpenNMS - discuss mailing list archive at Nabble.com.
    
    ------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
    patterns at an interface-level. Reveals which users, apps, and protocols are 
    consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
    J-Flow, sFlow and other flows. Make informed decisions using capacity 
    planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    
    
    onmstester onmstester | 30 May 07:15 2016

    incease rrd steps

    Hi,
     i want to increase number of stores rows in rrds, but after restarted opennms, collectd stops collecting data, by removing rrds or adding new node problem solved.
    is this the only way to increase the rrds rows , what about preciously collected data?
    Thanks

    Sent using Zoho Mail


    ------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
    patterns at an interface-level. Reveals which users, apps, and protocols are 
    consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
    J-Flow, sFlow and other flows. Make informed decisions using capacity 
    planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    onmstester onmstester | 28 May 16:32 2016

    thresholding on unchanged data

    Hi,

    How can i set a threshold which triggers, when some data source has no change in comparison with last value?
    for example when tcpActiveOpens got 1569 twice in a row, opennms should trigger threshold event.

    Sent using Zoho Mail


    ------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
    patterns at an interface-level. Reveals which users, apps, and protocols are 
    consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
    J-Flow, sFlow and other flows. Make informed decisions using capacity 
    planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    SINGH Anju -EXT | 27 May 09:10 2016

    Device add in OpenNMS

    Hi,

     

    I need help in adding devices with snmp v3 configuration.

    Please suggest.  

     

    Thanks and Regards

    Anju Singh

    Alstom Grid |NMS| Engineer

    Phone: 9990999829 | E-mail: anju.singh <at> alstom.com

    Office address: A-7, Sector-65, Noida

    Site: www.alstom.com_

     


    CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
    ------------------------------------------------------------------------------
    What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
    patterns at an interface-level. Reveals which users, apps, and protocols are 
    consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
    J-Flow, sFlow and other flows. Make informed decisions using capacity 
    planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    Jason Long | 26 May 19:52 2016
    Gravatar

    OpenNMS 18 doesn't start with Syslogd enabled (Debian)

    Hi, I'm testing a fresh install of OpenNMS 18 on Debian and after enabling the Syslogd service and restarting OpenNMS, the daemons do not start. The only output is in manager.log. I found NMS-7921 which looks the same but was resolved as not reproducible. Just to make sure I didn't mis-configure something, I launched another Debian 8 VM and installed OpenNMS 18, only enabling Syslogd, and this is the result.

    Does anyone have OpenNMS 18 running with Syslogd enabled on Debian? Any ideas why it's not starting?

    2016-05-26 17:26:58,012 ERROR [RMI TCP Connection(37)-127.0.0.1] o.o.n.v.Invoker: An error occurred loading the mbean OpenNMS:Name=Syslogd of type org.opennms.netmgt.syslogd.jmx.Syslogd it will be skipped
    javax.management.InstanceNotFoundException: OpenNMS:Name=Syslogd
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) ~[?:1.8.0_45]
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getObjectInstance(DefaultMBeanServerInterceptor.java:462) ~[?:1.8.0_45]
        at com.sun.jmx.mbeanserver.JmxMBeanServer.getObjectInstance(JmxMBeanServer.java:564) ~[?:1.8.0_45]
        at org.opennms.netmgt.vmmgr.Invoker.getObjectInstances(Invoker.java:158) [org.opennms.core.daemon-18.0.0.jar:?]
        at org.opennms.netmgt.vmmgr.Manager.status(Manager.java:147) [org.opennms.core.daemon-18.0.0.jar:?]
        at org.opennms.netmgt.vmmgr.Manager.status(Manager.java:133) [org.opennms.core.daemon-18.0.0.jar:?]
        at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
        at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) [?:1.8.0_45]
        at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
        at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275) [?:1.8.0_45]
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) [?:1.8.0_45]
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) [?:1.8.0_45]
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) [?:1.8.0_45]
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) [?:1.8.0_45]
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) [?:1.8.0_45]
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [?:1.8.0_45]
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [?:1.8.0_45]
        at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466) [?:1.8.0_45]
        at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76) [?:1.8.0_45]
        at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307) [?:1.8.0_45]
        at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1399) [?:1.8.0_45]
        at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828) [?:1.8.0_45]
        at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
        at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
        at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323) [?:1.8.0_45]
        at sun.rmi.transport.Transport$1.run(Transport.java:200) [?:1.8.0_45]
        at sun.rmi.transport.Transport$1.run(Transport.java:197) [?:1.8.0_45]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_45]
        at sun.rmi.transport.Transport.serviceCall(Transport.java:196) [?:1.8.0_45]
        at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568) [?:1.8.0_45]
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826) [?:1.8.0_45]
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$241(TCPTransport.java:683) [?:1.8.0_45]
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$8/1990379751.run(Unknown Source) [?:1.8.0_45]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_45]
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682) [?:1.8.0_45]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_45]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_45]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]


    Jason

    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition of MDM
    restrictions. Mobile Device Manager Plus allows you to control only the
    apps on BYO-devices by containerizing them, leaving personal data untouched!
    https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    Madden, Joe | 26 May 17:26 2016

    Ignoring a specific file system from threahold warning.

    Hi All,
    
    Quick question that I hope someone is able to answer!
    
    We have a system which has a mount point /var/lib/nfs/rpc_pipefs which is constantly 100% full. 
    
    As such OpenNMS will randomly raise messages stating that the this drive is above a threshold. 
    
    Is there a way to configure the threshold to ignore this specific drive?
    
    I think the threshold is:
    
            <expression
                description="Trigger an alert when the percentage of disk space used reaches or goes above 90% for two
    consecutive measurement intervals (only for disks of type hrStorageFixedDisk, such as a locally
    attached or USB-attached hard disk)"
                type="high" ds-type="hrStorageIndex" value="90.0"
                rearm="75.0" trigger="2" ds-label="hrStorageDescr"
                filterOperator="or" expression="hrStorageUsed / hrStorageSize * 100.0">
                <resource-filter field="hrStorageType">^\.1\.3\.6\.1\.2\.1\.25\.2\.1\.4$</resource-filter>
            </expression>
    
    Or is there a better way to go about this?
    
    Thanks
    
    Joe
    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition of MDM
    restrictions. Mobile Device Manager Plus allows you to control only the
    apps on BYO-devices by containerizing them, leaving personal data untouched!
    https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    
    
    Benjamin L Strohm | 25 May 14:50 2016

    Sluggish Service

    Greetings Group!

    I've got a situation with our OpenNMS install that I can't seem to figure out. Every few days, the opennms service seems to start to become sluggish and unresponsive to the point that we have to restart the service to make it "happy" again. By sluggish, I mean that it could take a minute plus to click a link and for it to come up.

    I've drilled down through the tuning guide, and while I have improved the general performance of the server, this still happens. I'm not really seeing any blaring problems in the rtc, notifd, manager, output or eventd logs aside from a few malformed entries in the database to clean up. I've run top while using the site, and don't really see any particular PID pegging the system, but to be safe we bumped the RAM up (it still happens).

    The OpenNMS server is a VM running version 17.1.1 on CentOS 7 with 24GB RAM, 10 vCPUs, 100GB HDD, and an NFS mount for the RRD data (checked the Isilon logs, no errors were reported with this mount). The DB server is located on the same host as the OpenNMS server and has been tuned. Aside from updating to 17.1.1, there haven't been system updates done in 25(ish) days. Has anyone had any issues moving to 8u73? We are currently at 8u60. 

    Any suggestions for avenues of exploration would be greatly appreciated.

    Thanks in advance,

    -Ben

    **************************************
    Benjamin L Strohm
    IT Analyst
    Information Technology Services
    Louisiana State University
    **************************************
    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition of MDM
    restrictions. Mobile Device Manager Plus allows you to control only the
    apps on BYO-devices by containerizing them, leaving personal data untouched!
    https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    MJ | 21 May 15:58 2016
    Picon

    OpenNMS installation failure on OSX

    I am trying to install OpenNMS on OSX 10.11 (El Capitan) and have followed the guide here: https://www.opennms.org/wiki/Installation:MacOSX however it is not possible to build based on current versions.

    Environment 
    OSX: 10.11.4
    Java: jdk1.8.0_91.jdk
    openNMS: opennms-1.8.16
    postgresql: 9.11
    fink: 0.39.3
    Xcode.app: 7.3.1
    Xcode command-line tools: 7.3.1.0.1.1461711523

    Error
    Caused by: /sw/src/fink.build/opennms-1.8.16-32/opennms-1.8.16-1/source/build.xml:18: Your Java version (java.version = 1.8.0_91 java.vm.version = 25.91-b14) is not supported.  The build system is currently designed and tested to work with Java versions 1.5 and 1.6.  You can try to work around this error by modifying the java.check target in the build.xml file.

    Questions
    1) Is there a way to update this to work with latest Java versions? For security reasons I do not want to downgrade, but also there are no versions of JDK6 for OSX available on the Oracle website
    2) Given the install mechanism for OSX is fink, I do not see how I can modify the build.xml before it looks to build
    3) Is there an alternative build approach? I have looked at building from source but this just has hours of hastle written all over it (based on my skillset)

    Thanks in advance for any help

    View this message in context: OpenNMS installation failure on OSX
    Sent from the OpenNMS - discuss mailing list archive at Nabble.com.
    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition of MDM
    restrictions. Mobile Device Manager Plus allows you to control only the
    apps on BYO-devices by containerizing them, leaving personal data untouched!
    https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss
    onmstester onmstester | 24 May 14:41 2016

    Re: snmpdata collection won't collect oid

    thanks christy,

    setting maxVarsPerPdu = "1" + timeout="3000" + retry="3" solved the problem.
    but i'm wondering why always some sepecific datasource was missing?! if it was network problem, missing datasources should be random while adding the same node again and again, right?
    an important question is how much this new config would cost me in case of performance, now the data that has been collected in one request in default config, is collecting in 30 request!
    and another important one "is there anything that i could do at agent side to let big bulkrequest pass through?

    Sent using Zoho Mail



    ============ Forwarded message ============


    -------------- next part --------------
    An HTML attachment was scrubbed...

    ------------------------------

    Message: 2
    Date: Mon, 23 May 2016 12:13:04 -0600
    From: Christy Cooper <christy.m.cooper <at> gmail.com>
    Subject: Re: [opennms-discuss] snmpdata collection won't collect oid
    To: General OpenNMS Discussion <opennms-discuss <at> lists.sourceforge.net>
    Message-ID:
    Content-Type: text/plain; charset="utf-8"

    If there's no jrb being created, your datacollection config isn't correct,
    or your client isn't returning expected data. Since you didn't mention a
    datacollection config, just that you compiled a MIB, that was my first
    assumption.

    > debug through collectd.log shows nothing but that oid of groups with no
    > graph had been passed to some DefaultUdpSender but no response reported

    no response would assume a timeout/non-response on the client end. Is your
    snmp agent on the equipment returning the expected values when you do an
    snmpgetbulk from the command line?

    How busy is your equipment? Busy enough that snmpd gets niced into
    oblivion?
    How many hops do you have to go through to get the data? UDP could be
    dropped at a busy router/switch (assuming v2c since not otherwise
    specified).

    > every scheme of restart/rescan/update snmp had been tested.

    I don't know what this means in relation to the snmp config screen. You've
    tried changing the timeout, AND the retries, AND the max pdu size, AND the
    max vars per pdu, AND the number of repetitions? If the client doesn't like
    ONMS asking for large amounts of data at a time, one of these should have
    made a difference. Either changing how long ONMS waits, or asking for the
    data more times, or changing the max pdu smaller with fewer vars and more
    repetitions, or changing the max pdu larger with more vars and fewer
    repetitions.

    --c


    On Mon, May 23, 2016 at 10:21 AM, onmstester onmstester <onmstester <at> zoho.com
    > wrote:

    > I've mentioned that i am able to see most of the oids in opennms graphs!
    > so I am familiar with the basics of snmp data collection config.
    > Thats so strange, the only difference between oid's which had been
    > collected successfuly by opennms and the ones that did'nt, the only one is
    > that it was "something.8.1" and "theotherOne.9.1".
    >
    > /////////////////////////////////////////////////////////////////////
    > FWD:
    > From: Christy Cooper <christy.m.cooper <at> gmail.com>
    > Subject: Re: [opennms-discuss] snmpdata collection won't collect oid
    > which could be walked
    > To: General OpenNMS Discussion <opennms-discuss <at> lists.sourceforge.net>
    > Message-ID:
    > <CA+tykUVBx5Br3inO6yJhMDC3Yh=0w-YsJM8N2nP3wbo=zUdUXw <at> mail.gmail.com>
    > Content-Type: text/plain; charset="utf-8"
    >
    > You compiled the MIB, did you create a datacollection-config for your oids?
    >
    >
    > On Mon, May 23, 2016 at 9:48 AM, onmstester onmstester <
    > wrote:
    >
    > > Hi,
    > > I had created a custom mib file which reporting some custom metrics about
    >
    > > my applications. i have some custom resource type which had been defined
    >
    > > exactly identically.
    > > After compiling the mib, i could have seen all resource types in opennms
    >
    > > except two of the groups (index and value). they all are exactly similar
    >
    > > except in oid number and all of the oid's successfuly walked through
    > > snmpwalk.
    > > debug through collectd.log shows nothing but that oid of groups with no
    > > graph had been passed to some DefaultUdpSender but no response reported.
    >
    > > no jrb for the group is available.
    > > alias names < 19 chars.
    > > every scheme of restart/rescan/update snmp had been tested.
    > > its hopeless!
    >
    > Sent using Zoho Mail <https://www.zoho.com/mail/>
    >
    >
    >
    > ------------------------------------------------------------------------------
    > Mobile security can be enabling, not merely restricting. Employees who
    > bring their own devices (BYOD) to work are irked by the imposition of MDM
    > restrictions. Mobile Device Manager Plus allows you to control only the
    > apps on BYO-devices by containerizing them, leaving personal data
    > untouched!
    > _______________________________________________
    > Please read the OpenNMS Mailing List FAQ:
    >
    > opennms-discuss mailing list
    >
    > To *unsubscribe* or change your subscription options, see the bottom of
    > this page:
    >
    -------------- next part --------------
    An HTML attachment was scrubbed...

    ------------------------------

    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition of MDM
    restrictions. Mobile Device Manager Plus allows you to control only the
    apps on BYO-devices by containerizing them, leaving personal data untouched!

    ------------------------------

    _______________________________________________
    opennms-discuss mailing list


    End of opennms-discuss Digest, Vol 121, Issue 22
    ************************************************

    ------------------------------------------------------------------------------
    Mobile security can be enabling, not merely restricting. Employees who
    bring their own devices (BYOD) to work are irked by the imposition of MDM
    restrictions. Mobile Device Manager Plus allows you to control only the
    apps on BYO-devices by containerizing them, leaving personal data untouched!
    https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
    _______________________________________________
    Please read the OpenNMS Mailing List FAQ:
    http://www.opennms.org/index.php/Mailing_List_FAQ
    
    opennms-discuss mailing list
    
    To *unsubscribe* or change your subscription options, see the bottom of this page:
    https://lists.sourceforge.net/lists/listinfo/opennms-discuss

    Gmane