Vibin Manavalan | 23 Apr 17:12 2014
Picon

Embedded Jetty blocking HTTP requests due to "Max threads" settings

Embedded Jetty blocking HTTP requests due to "Max threads" settings.


Due to this i get a blank page while accessing admin portal.


A wget output log is following:-

$ wget -vv http://server:8980/opennms/

--2014-04-22 10:57:54--  http://server1:8980/opennms/

Connecting to server:8980... connected.

HTTP request sent, awaiting response...


I am using a solaris 10 (sparc) box having more CPU's


Logs:

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

$ psrinfo|wc -l

     512


$ psrinfo -pv

The physical processor has 128 virtual processors (0-127)

  SPARC-T5 (chipid 0, clock 3600 MHz)

The physical processor has 128 virtual processors (128-255)

  SPARC-T5 (chipid 1, clock 3600 MHz)

The physical processor has 128 virtual processors (256-383)

  SPARC-T5 (chipid 2, clock 3600 MHz)

The physical processor has 128 virtual processors (384-511)

  SPARC-T5 (chipid 3, clock 3600 MHz)


:~$ psrinfo -p

4

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



Logs: (webapps)

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

2014-04-22 11:25:58,136 DEBUG [qtp9560790-560 Selector124] nio: Starting Thread[qtp9560790-560 Selector124,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1 <at> 1d024c

2014-04-22 11:25:58,137 DEBUG [qtp9560790-561 Selector125] nio: Starting Thread[qtp9560790-561 Selector125,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1 <at> 1449e03

2014-04-22 11:25:58,137 DEBUG [Main] AbstractLifeCycle: STARTED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager <at> fba78b

2014-04-22 11:25:58,137 DEBUG [qtp9560790-562 Selector126] nio: Starting Thread[qtp9560790-562 Selector126,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1 <at> 1e206cb

2014-04-22 11:25:58,140 DEBUG [qtp9560790-563 Selector127] nio: Starting Thread[qtp9560790-563 Selector127,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1 <at> 34e0db

2014-04-22 11:25:58,181 WARN  [Main] AbstractConnector: insufficient threads configured for SelectChannelConnector <at> 0.0.0.0:8980

2014-04-22 11:25:58,203 INFO  [Main] AbstractConnector: Started SelectChannelConnector <at> 0.0.0.0:8980

2014-04-22 11:25:58,203 DEBUG [Main] AbstractLifeCycle: STARTED SelectChannelConnector <at> 0.0.0.0:8980

2014-04-22 11:25:58,203 DEBUG [Main] AbstractLifeCycle: STARTED org.eclipse.jetty.server.Server <at> 192c0

+++++++++++++++++++++++++++++++++++++++++++++++




I suspect this is due to maxthread limits not matching number of CPU cores in my system.


How do set this maxthreads value in integrated jetty server in OpenNMS? Please advise.

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
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
Courtney, Wrolf | 21 Apr 22:12 2014

Collecting Data on Cisco 7200

I am trying to collect interface statistics on a pair of Cisco 7200 routers that I just added to my OpenNMS.

sysObjectID	.1.3.6.1.4.1.9.1.223
Description	Cisco IOS Software, 7200 Software (C7200P-ADVIPSERVICESK9-M), Version 12.4(15)T7,
RELEASE SOFTWARE (fc3)..Technical Support: http://www.cisco.com/techsupport..Copyright (c)
1986-2008 by Cisco Systems, Inc...Compiled Thu 14-Aug-08 03:50 by prod_rel_team

OpenNMS version 1.12.5-1

/opt/opennms/etc/datacollection-config.xml, collectd-configuration.xml, and
/opt/opennms/etc/datacollection/ all defaults from the install, no modifications.

The only Resource Graphs for these two routers are ICMP response time - no interface statistics, BGP
statistics, nothing. I get interface statistics through SNMP when I use MRTG, but no SNMP statistics in
OpenNMS. Community string is right - it pulled the sysObjectID, Name, Description, interfaces. The
interfaces are selected for collection via Admin -> Configure SNMP Data Collection per Interface.

Various statistics were gathered just fine on my now decommissioned OpenNMS 1.8.13-1 box from these two routers.

Any ideas?

Wrolf Courtney

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
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 | 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

Gmane