Chris Tallerico | 18 Apr 19:54 2014
Picon

surveillance link error

Hello all….Happy Easter!

 

Still haven’t been able to figure this out….Any ideas?  This is the error I get when clicking the surveillance link in the web UI.

 

As always…Thanks in advance!

CT

 

 

 

System Details

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

OpenNMS Version: 1.12.5

Java Version: 1.6.0_24 Sun Microsystems Inc.

Java Virtual Machine: 19.1-b02 Sun Microsystems Inc.

Operating System: Linux 2.6.32-431.11.2.el6.x86_64 amd64

Servlet Container: jetty/7.6.12.v20130726 (Servlet Spec 2.5)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36

 

 

Request Details

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

Locale: en_US

Method: GET

Path Info: null

Path Info (translated): null

Protocol: HTTP/1.1

URI: /opennms/errors/unknownexception.jsp

URL: http://XXX.XXX.XXX.XXX:8980/opennms/errors/unknownexception.jsp

Scheme: http

Server Name: XXX.XXX.XXX.XXX

Server Port: 8980

 

Exception Stack Trace

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

org.springframework.orm.ObjectRetrievalFailureException

                at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getOnmsCategoriesFromViewCategories(DefaultSurveillanceService.java:277)

                at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getCategoriesForColumn(DefaultSurveillanceService.java:264)

                at org.opennms.web.svclayer.support.DefaultSurveillanceService$VeryLowMemCellStatusStrategy.calculateCellStatus(DefaultSurveillanceService.java:206)

                at org.opennms.web.svclayer.support.DefaultSurveillanceService.createSurveillanceTable(DefaultSurveillanceService.java:333)

                at sun.reflect.GeneratedMethodAccessor825.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)

                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

                at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

                at $Proxy91.createSurveillanceTable(Unknown Source)

                at org.opennms.web.controller.SurveillanceViewController$1.run(SurveillanceViewController.java:132)

 

 

 

 

 

 

Chris Tallerico

Sr. Consultant

 

Technology Manager for Premier Commercial Buildings Nationally

Office 866.824.8362 | Cell 415.509.0567 | ctallerico <at> montgomerytech.net

 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Chris Tallerico | 12 Apr 21:21 2014
Picon

Surveillance Error

In the web UI, when I click the “Surveillance” button, I get this error:

 

org.springframework.orm.ObjectRetrievalFailureException

                at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getOnmsCategoriesFromViewCategories(DefaultSurveillanceService.java:277)

                at org.opennms.web.svclayer.support.DefaultSurveillanceService$SurveillanceView.getCategoriesForColumn(DefaultSurveillanceService.java:264)

                at org.opennms.web.svclayer.support.DefaultSurveillanceService$VeryLowMemCellStatusStrategy.calculateCellStatus(DefaultSurveillanceService.java:206)

                at org.opennms.web.svclayer.support.DefaultSurveillanceService.createSurveillanceTable(DefaultSurveillanceService.java:333)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

                at java.lang.reflect.Method.invoke(Method.java:597)

                at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)

                at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

                at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)

                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

                at $Proxy91.createSurveillanceTable(Unknown Source)

                at org.opennms.web.controller.SurveillanceViewController$1.run(SurveillanceViewController.java:132)

 

 

It suggests that I report the bug to the ONMS Bug Tracker….Thought I’d put it to the list first and see if anyone else had seen this.

 

 

 

 

Chris Tallerico

Sr. Consultant

 

Technology Manager for Premier Commercial Buildings Nationally

Office 866.824.8362 | Cell 415.509.0567 | ctallerico <at> montgomerytech.net

 

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Chris Tallerico | 12 Apr 16:58 2014
Picon

Update

All-

 

Thanks again for all the responses…You’ve been an awesome resource.

 

My “Null” error was caused by a drop down setting in the escalation box under notifications; the default was “Null”….Once I changed the value I was error free.

 

I tried every possible combination of SMTP relay settings and 2 different providers.  Even though I could telnet to the suggested ports, and was able to test SSL ok, I could never get mail to send.  I ended up using Jango with IP authentication and it worked without issue.  I’ll dig deeper into the email issue after I do a little more reading.

 

On to discovery!

 

 

 

 

Chris Tallerico

Sr. Consultant

 

Technology Manager for Premier Commercial Buildings Nationally

Office 866.824.8362 | Cell 415.509.0567 | ctallerico <at> montgomerytech.net

 

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Chris Tallerico | 11 Apr 15:50 2014
Picon

Null issue

I found the null issue………It’s a drop down box in the notification section…..DONE!

 

Notifd.log is now clear………But email still not sending……..Can telnet to all suggested ports at the SMTP relay though.

 

Gotta run to SF for a rooftop job walk so back to this around lunch time.

 

Thanks again to everyone!!!!!!!

 

 

 

 

Chris Tallerico

Sr. Consultant

 

Technology Manager for Premier Commercial Buildings Nationally

Office 866.824.8362 | Cell 415.509.0567 | ctallerico <at> montgomerytech.net

 

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Chris Tallerico | 9 Apr 17:28 2014
Picon

Mail settings and Error Log help request

Trying to get email working and have the following errors:

 

[root <at> montgomertech daemon]# vi notifd.log

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.scheduleNoticesForEvent(BroadcastEventProcessor.java:592)

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.onEvent(BroadcastEventProcessor.java:184)

        at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$EventListenerExecutor$2.run(EventIpcManagerDefaultImpl.java:173)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at org.opennms.core.concurrent.LogPreservingThreadFactory$2.run(LogPreservingThreadFactory.java:90)

        at java.lang.Thread.run(Thread.java:662)

2014-04-09 07:42:54,211 ERROR [Notifd:BroadcastEventProcessor-Thread] BroadcastEventProcessor: notice not scheduled due to error:

java.lang.NumberFormatException: For input string: "null"

        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222)

        at java.lang.Float.valueOf(Float.java:388)

        at java.lang.Float.<init>(Float.java:489)

        at org.opennms.core.utils.TimeConverter.convertToMillis(TimeConverter.java:120)

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.processEscalations(BroadcastEventProcessor.java:857)

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.scheduleNoticesForEvent(BroadcastEventProcessor.java:592)

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.onEvent(BroadcastEventProcessor.java:184)

        at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$EventListenerExecutor$2.run(EventIpcManagerDefaultImpl.java:173)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at org.opennms.core.concurrent.LogPreservingThreadFactory$2.run(LogPreservingThreadFactory.java:90)

        at java.lang.Thread.run(Thread.java:662)

2014-04-09 07:46:20,044 ERROR [Notifd:BroadcastEventProcessor-Thread] BroadcastEventProcessor: notice not scheduled due to error:

java.lang.NumberFormatException: For input string: "null"

        at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222)

        at java.lang.Float.valueOf(Float.java:388)

        at java.lang.Float.<init>(Float.java:489)

        at org.opennms.core.utils.TimeConverter.convertToMillis(TimeConverter.java:120)

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.processEscalations(BroadcastEventProcessor.java:857)

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.scheduleNoticesForEvent(BroadcastEventProcessor.java:592)

        at org.opennms.netmgt.notifd.BroadcastEventProcessor.onEvent(BroadcastEventProcessor.java:184)

        at org.opennms.netmgt.eventd.EventIpcManagerDefaultImpl$EventListenerExecutor$2.run(EventIpcManagerDefaultImpl.java:173)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at org.opennms.core.concurrent.LogPreservingThreadFactory$2.run(LogPreservingThreadFactory.java:90)

        at java.lang.Thread.run(Thread.java:662)

 

This is my current mail setting:

 

################################################################################

# This file is the configuration for the the JavaMailer class.  It is used to

# specify the details of the JavaMailer system properties

################################################################################

#

# Properties are defined but commented out indicating the default values.

#

 

#

# This property defines system sender account.

#

# The default setting is root <at> [127.0.0.1]

#org.opennms.core.utils.fromAddress=network <at> montgomerytech.net

 

#

# These properties define the SMTP Host.

#

#org.opennms.core.utils.mailHost=ssrs.reachmail.net

#org.opennms.core.utils.mailer=smtpsend

#org.opennms.core.utils.transport=smtp

#org.opennms.core.utils.debug=true

#org.opennms.core.utils.smtpport=587

#org.opennms.core.utils.smtpssl.enable=false

#org.opennms.core.utils.quitwait=true

#

# This property controls the use of the JMTA

# if it is true, mailHost will be ignored

org.opennms.core.utils.useJMTA=false

#

# These properties define the Mail authentication.

#

#org.opennms.core.utils.authenticate=plain

#org.opennms.core.utils.authenticateUser=(myusername)

#org.opennms.core.utils.authenticatePassword=(mypassword)

#org.opennms.core.utils.starttls.enable=false

"javamail-configuration.properties" 41L, 1391C

 

 

 

Chris Tallerico

Sr. Consultant

 

Technology Manager for Premier Commercial Buildings Nationally

Office 866.824.8362 | Cell 415.509.0567 | ctallerico <at> montgomerytech.net

 

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Darren Burrows | 5 Apr 23:07 2014
Picon

Need help with a new install

Hi, 

Hoping someone can help me with this. 

Ran a fresh install on a CentOS VM. 
On launching OpenNMS the service starts than almost instantly stops. 

The output at the time of the errors shows the following:

[root <at> us etc]# /sbin/service opennms start
Starting OpenNMS: /etc/init.d/opennms: line 484: 11740 Killed                  $CMD >> "$REDIRECT" 2>&1
Started OpenNMS, but it stopped running: for details see /opt/opennms/logs/daemon/output.log                                                           [FAILED]


output log shows no hard errors that I can see. 

Sat Apr  5 16:36:46 EDT 2014
begin ulimit settings:
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 3778
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 20480
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 3778
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
end ulimit settings
Executing command: /opt/opennms/bin/runjava -r  -- -Djava.endorsed.dirs=/opt/opennms/lib/endorsed   -Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx512m -XX:+HeapDumpOnOutOfMemoryError  -XX:MaxPermSize=256m -Djava.io.tmpdir=/opt/opennms/data/tmp -jar /opt/opennms/lib/opennms_bootstrap.jar  start  
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[DEBUG] System property 'opennms.library.jicmp' set to '/usr/lib64/libjicmp.so.  Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.
[DEBUG] System property 'opennms.library.jicmp6' set to '/usr/lib64/libjicmp6.so.  Attempting to load jicmp6 library from this location.
[INFO] Successfully loaded jicmp6 library.


The particular line mentioned in the initial error (/etc/init.d/opennms: line 484) gives away nothing in terms of what could be causing the issue. 

doStatus(){

Which is followed by 


        if [ $VERBOSE -gt 0 ]; then
                STATUS_VERBOSE="-v"
        else
                STATUS_VERBOSE=""
        fi

        if [ -z "$NOEXECUTE" ]; then
                APP_VM_PARMS="$CONTROLLER_OPTIONS"
                APP_PARMS_BEFORE="-u $INVOKE_URL $STATUS_VERBOSE status"
                $JAVA_CMD $APP_VM_PARMS -jar $BOOTSTRAP $APP_PARMS_CONTROLLER $APP_PARMS_BEFORE "$ <at> " $APP_PARMS_AFTER
        fi
}


Any ideas? 

Thanks, 
Darren.

------------------------------------------------------------------------------
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Lorenzo Balan | 5 Mar 21:44 2014
Picon

Opennms return to default config

Hi All,

 

I Had OpenNMS working, monitoring and capturing data on my network; I was tweaking what information I wanted to capture (interfaces of my router’s, switch’s, etc.) but I have done something wrong and I’m not able to capture any data. Even though I can see that the interface are selected, when I go to the graph resource it does not display the interfaces, only the main ip of the box (Router or Switch).

 

My question are

 

Can I default the OpenNMS, since it was capturing data before, if so how can I do it?

I have followed the guide to change  the whether you want to capture all or to select what you want to capture, can someone have step’s other than the guide that I can cross reference and correct my problem.

 

Thanks in advance.

Lorenzo

 

 

 

 

 

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
silvio mink | 5 Mar 15:59 2014
Picon

Page-Sequence-Monitor documentation and questions

Hi,
 
i am trying to setup the PSM, but there are many many questions...And the most of it, are not covered by http://www.opennms.org/wiki/Page_Sequence_Monitor_(PSM)_Setup :-(

My first problem: how is the syntax of the XML structure?  I was trying to save a session variable:
 
                  <page scheme="https" host="${ipaddr}" port="443"
                        path="/rest/service/0"
                        virtual-host="www.example.de"
                        successMatch="Weiter" http-version="1.1">
                        <session-variable name="JSESSIONID" match-group="1" />
                        <session-variable name="_idp_session" match-group="1" />
                    </page>
 
then :
 
                <page scheme="https" method="POST"
                        host="${ipaddr}" port="443"
                        path="/idp/Authn/UserPassword"
                        virtual-host="www.example.de"
                        successMatch=""
                        failureMessage="Login failed: ${1}"
                        http-version="1.1">
                        <parameter key="JSESSIONID" value="${JSESSIONID}" />
                        <parameter key="_idp_session" value="${_idp_session}" />
                     </page>
 
But this results in:
 
logs/daemon/stds.log:
 
java.lang.IndexOutOfBoundsException: No group 1
        at java.util.regex.Matcher.group(Matcher.java:487)
        at org.opennms.netmgt.poller.monitors.PageSequenceMonitor$HttpPage.updateSequenceProperties(PageSequenceMonitor.java:451)
        at org.opennms.netmgt.poller.monitors.PageSequenceMonitor$HttpPage.execute(PageSequenceMonitor.java:412)
        at org.opennms.netmgt.poller.monitors.PageSequenceMonitor$HttpPageSequence.execute(PageSequenceMonitor.java:207)
 
 
Why? The only sentence i found to the session-variable match-group parameter is:
 
"The match groups correspond to the parenthesized sub-expressions in the expression, highlighted here:
(?s)User:.*&lt;strong&gt;(.*?)&lt;/strong&gt;.*?Password:.*?&lt;strong&gt;(.*?)&lt;/strong&gt;"
 
 
But i dont understand this..... Why im getting a "no group 1", where I must define this group? In the example of http://www.opennms.org/wiki/Page_Sequence_Monitor_%28PSM%29_Setup is no group defined...Only a "failureMessage="Login Failed: ${1}" but only for group one, if this reference "${1}" is correspond to match-group="1"...I think the example of the wiki page is working?
 
The goal of this is a sign-in in a SSO ring with schibboleth (to test the service and identity-provider).
 
 
Regards
 
 
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Scott Johnson | 28 Feb 22:20 2014
Picon

update install

Hi Everyone,

 

I am using Ubuntu 10.04.3 as my server with Virtualmin 1.675. I did a software update through Virtualmin and it updated OpenNMS. Now once I start the service. I just get a blank login page.

 

Has anyone else done this and is there a fix?

 

Thanks,

 

Scott.

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
silvio mink | 26 Feb 18:09 2014
Picon

Get an SNMP OID and save it to rrd directory dont work

Hi,
 
im want to get a custom OID with opennms, but it doesn work.
 
I want that opennms do this command and save the output (opennms is installed on this machine, its a ubuntu, the dbms machine is a SLES, suse linux enterprise server):
 
networking:/etc/opennms/datacollection# snmpget -On -v2c -c public dbms ".1.3.6.1.4.1.2021.8.1.101.1"
.1.3.6.1.4.1.2021.8.1.101.1 = STRING: "294"
 
What i can do, to poll this value?! Nothing is working for me. :-( I have read all the howtos and wiki pages available....
 
My actually configuration:
 
extend ../datacollection/netsnmp.xml:
 
      <group name="exp_app" ifType="ignore">
        <mibObj oid=".1.3.6.1.4.1.2021.8.1.101.1" instance="0" alias="expApp" type="string" />
      </group>

And in all sysemDef's:
 
<includeGroup>exp_app</includeGroup>
 
But the collectd.log nothing says to this group and OID... Only this line appears:
"2014-02-26 17:56:59,175 DEBUG [Collectd-Thread-18-of-50] DefaultDataCollectionConfigDao: processGroupName: OIDs from group 'exp_app:all' are included for ifType: -2"
 
Nothing more... no "expApp" rrd file...No informations about this OID.... Some other snmp values like "SysContext.jrb" or "memTotalFree.meta", "tcpOutSegs.jrb", "CpuRawNice.jrb" are saved...
 
What im maybe doing wrong? I have tried to compile some MIBs over the WebUI (ucd-snmp-mib and net-snmp-extend from the sles machine), but its change nothing... :-(
 
 
Any help is very welcome
Regards
 
 
Silvio
 
 
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
Robert L Craig | 23 Feb 19:14 2014

Issue with brand new install

I’m trying to follow the guide on the OpenNMS wiki, but I’m running into errors on the last part. Anyone have any idea of what I need to do to get past the below error? Thanks for any help.

 

/opt/opennms/bin/install -dis

==============================================================================

OpenNMS Installer

==============================================================================

 

Configures PostgreSQL tables, users, and other miscellaneous settings.

 

- searching for libjicmp.so:

  - trying to load /usr/lib64/libjicmp.so: OK

- searching for libjicmp6.so:

  - trying to load /usr/lib64/libjicmp6.so: OK

- searching for libjrrd.so:

  - trying to load /usr/lib64/libjrrd.so: NO

  - trying to load /usr/lib64/libjrrd.so: NO

  - trying to load /libjrrd.so: NO

  - trying to load /opt/opennms/lib/libjrrd.so: NO

  - trying to load /opt/opennms/lib/linux64/libjrrd.so: NO

  - trying to load /usr/java/packages/lib/amd64/libjrrd.so: NO

  - trying to load /usr/lib64/libjrrd.so: NO

  - trying to load /lib64/libjrrd.so: NO

  - trying to load /lib/libjrrd.so: NO

  - trying to load /usr/lib/libjrrd.so: NO

  - trying to load /usr/lib/jni/libjrrd.so: NO

  - trying to load /usr/lib/libjrrd.so: NO

  - trying to load /usr/local/lib/libjrrd.so: NO

  - trying to load /opt/NMSjicmp/lib/32/libjrrd.so: NO

  - trying to load /opt/NMSjicmp/lib/64/libjrrd.so: NO

  - trying to load /opt/NMSjicmp6/lib/32/libjrrd.so: NO

  - trying to load /opt/NMSjicmp6/lib/64/libjrrd.so: NO

- Failed to load the optional jrrd library.

  - This error is not fatal, since jrrd is only required for optional features.

  - For more information, see http://www.opennms.org/index.php/jrrd

- using SQL directory... /opt/opennms/etc

- using create.sql... /opt/opennms/etc/create.sql

* using 'postgres' as the PostgreSQL user for OpenNMS

* using 'opennms' as the PostgreSQL database name for OpenNMS

Exception in thread "main" org.opennms.core.schema.MigrationException: an error occurred creating the OpenNMS database

        at org.opennms.core.schema.Migrator.createDatabase(Migrator.java:429)

        at org.opennms.core.schema.Migrator.prepareDatabase(Migrator.java:445)

        at org.opennms.install.Installer.install(Installer.java:237)

        at org.opennms.install.Installer.main(Installer.java:960)

Caused by: org.postgresql.util.PSQLException: ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)

  Hint: Use the same encoding as in the template database, or use template0 as template.

        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)

        at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)

        at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)

        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)

        at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)

        at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)

        at org.opennms.core.schema.Migrator.createDatabase(Migrator.java:426)

        ... 3 more

 

 

Robert

 

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install

Gmane