Opennms Remote Poller Solution

35 messages Options
Embed this post
Permalink
1 2
Jeff Gehlbach

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
On Sep 5, 2008, at 12:20 PM, Matt Losee wrote:

> No i do not. I tested it both on a ubuntu OS machine and a win xp
> machine. Both showed nothing in the viewer.

Try this for me on the XP machine.

0. Create a new user.  Reboot.  Log in as the new user.
1. Wait a few minutes for all the launch-at-login items to start up.  
Then open the task manager and look at the "processes" tab, showing  
processes from all users; sort by image name and make a note of all  
"javaws" or "javaw" processes that are running.
2. Launch http://opennms-server:8980/opennms/webstart/app.jnlp
3. Accept all the prompts and click "Run" to start the GUI poller

Since you're logging in as a brand new user, it may take a while for  
web start to get itself set up and to start downloading and launching  
the poller app.  Give it time -- at least five minutes -- before  
declaring that nothing is going to happen.

Now, if the poller window still does not appear after that wait time,  
then open the task mangler again and note whether there are any  
"javaws" or "javaw" processes running that were not running before.

> Is there something that i'm just missing in the configurations. Below
> are the configurations that i have.

I don't see any obvious problems in your configs.  It would be great  
if you could tar them up and send them as an attachment so that I can  
test them on my own system.

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
mlosee

Re: [opennms-discuss] Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
The webstart app, starts and downloads like its supposed to. Then i asks
to run with the opennms certificate. Then after that it closes out and
the only task left running is javaw.exe. I have left it running now for
about 15 minutes to see if something will come up. Nothing has come up.
This time i tried it using Internet Explorer thinking that might be an
issue. I was using mozilla 2.0+ and then tried Mozilla 3.0. no change.

Sincerely,
Matthew Losee

On Fri, 2008-09-05 at 09:54 -0700, Jeff Gehlbach wrote:

> On Sep 5, 2008, at 12:20 PM, Matt Losee wrote:
>
> > No i do not. I tested it both on a ubuntu OS machine and a win xp
> > machine. Both showed nothing in the viewer.
>
> Try this for me on the XP machine.
>
> 0. Create a new user.  Reboot.  Log in as the new user.
> 1. Wait a few minutes for all the launch-at-login items to start up.
>  
> Then open the task manager and look at the "processes" tab, showing  
> processes from all users; sort by image name and make a note of all  
> "javaws" or "javaw" processes that are running.
> 2. Launch http://opennms-server:8980/opennms/webstart/app.jnlp
> 3. Accept all the prompts and click "Run" to start the GUI poller
>
> Since you're logging in as a brand new user, it may take a while for
>  
> web start to get itself set up and to start downloading and launching
>  
> the poller app.  Give it time -- at least five minutes -- before  
> declaring that nothing is going to happen.
>
> Now, if the poller window still does not appear after that wait time,
>  
> then open the task mangler again and note whether there are any  
> "javaws" or "javaw" processes running that were not running before.
>
> > Is there something that i'm just missing in the configurations.
> Below
> > are the configurations that i have.
>
> I don't see any obvious problems in your configs.  It would be great
>  
> if you could tar them up and send them as an attachment so that I can
>  
> test them on my own system.
>
> -jeff
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>
>
> ______________________________________________________________________
> Subscribed to Nabble @
> http://n2.nabble.com/Opennms-Remote-Poller-Solution-tp760449p760449.html 
> To unsubscribe, click here.
>
--

Johan Edstrom

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Javaw is java windowless, so it is a non-dos box app, it sounds
right actually. I'd look at how the remote poller is configured?

/je

On Sep 5, 2008, at 11:47 AM, mlosee wrote:

The webstart app, starts and downloads like its supposed to. Then i asks
to run with the opennms certificate. Then after that it closes out and
the only task left running is javaw.exe. I have left it running now for
about 15 minutes to see if something will come up. Nothing has come up.
This time i tried it using Internet Explorer thinking that might be an
issue. I was using mozilla 2.0+ and then tried Mozilla 3.0. no change.

Sincerely,
Matthew Losee

On Fri, 2008-09-05 at 09:54 -0700, Jeff Gehlbach wrote:

> On Sep 5, 2008, at 12:20 PM, Matt Losee wrote:
>
> > No i do not. I tested it both on a ubuntu OS machine and a win xp
> > machine. Both showed nothing in the viewer.
>
> Try this for me on the XP machine.
>
> 0. Create a new user.  Reboot.  Log in as the new user.
> 1. Wait a few minutes for all the launch-at-login items to start up.
>  
> Then open the task manager and look at the "processes" tab, showing  
> processes from all users; sort by image name and make a note of all  
> "javaws" or "javaw" processes that are running.
> 2. Launch http://opennms-server:8980/opennms/webstart/app.jnlp
> 3. Accept all the prompts and click "Run" to start the GUI poller
>
> Since you're logging in as a brand new user, it may take a while for
>  
> web start to get itself set up and to start downloading and launching
>  
> the poller app.  Give it time -- at least five minutes -- before  
> declaring that nothing is going to happen.
>
> Now, if the poller window still does not appear after that wait time,
>  
> then open the task mangler again and note whether there are any  
> "javaws" or "javaw" processes running that were not running before.
>
> > Is there something that i'm just missing in the configurations.
> Below
> > are the configurations that i have.
>
> I don't see any obvious problems in your configs.  It would be great
>  
> if you could tar them up and send them as an attachment so that I can
>  
> test them on my own system.
>
> -jeff
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
>
>
>
> ______________________________________________________________________
> Subscribed to Nabble @
> http://n2.nabble.com/Opennms-Remote-Poller-Solution-tp760449p760449.html 
> To unsubscribe, click here.
>
--



View this message in context: Re: [opennms-discuss] Opennms Remote Poller Solution
Sent from the OpenNMS - discuss mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
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

Johan Edstrom






-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
Jeff Gehlbach

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
In reply to this post by mlosee
On Sep 5, 2008, at 1:47 PM, mlosee wrote:

> The webstart app, starts and downloads like its supposed to. Then i  
> asks
> to run with the opennms certificate. Then after that it closes out and
> the only task left running is javaw.exe.

And you're 100% certain that the webstart URL you used ended in  
"app.jnlp", not "headless.jnlp"?

Look in the profile directory of the users that you've been logged in  
as when trying to launch the remote poller.  Does any of those  
directories contain a ".opennms" subdirectory?  If so, does any of  
those .opennms subdirectories contain a file called "remote-
poller.properties"?

For grins, do one more thing on the XP box.  From a DOS window, run:

javaws -uninstall
javaws -verbose http://opennms-server:8980/opennms/webstart/app.jnlp

The first command will clear out the current user's web start cache.  
The second will do exactly what visiting that URL in a browser should  
do, except that a window will pop up telling you the command line that  
web start is using to launch the app.  Get a screenshot of that window  
and attach it to your reply.

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
David Hustace

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
In reply to this post by mlosee
Some javascript/style in this post has been disabled (why?)

On Sep 5, 2008, at 1:47 PM, mlosee wrote:

Then after that it closes out

Can you run this query?:


     SELECT ifs.id, ifs.nodeid, ifs.ipaddr 
       FROM ifservices ifs 
       JOIN ipinterface ip 
         ON ip.id=ifs.ipinterfaceid 
      WHERE ifs.ipaddr != ip.ipaddr;


If you run the command line version, there should be some logs you can provide us, as well.  I haven't seen any log details on this thread, if there were, my apologies.


David Hustace
The OpenNMS Group, Inc.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
mlosee

Re: [opennms-discuss] Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
That would be because no logs are being generated by the central or
remote servers. All that can be seen is the download of the app.jnlp.
Other than that there is no errors or anything to help with any
problems. I have parsed the database's and logs for anything to help
with this. Nothing has shown up. I really wish there was an error in the
logs to show me as to why this is working. As it is right now i'm going
to have to drop the entire project if i can't get this working.

Sincerely,
Matthew Losee
Network Technician.

On Mon, 2008-09-08 at 04:43 -0700, David Hustace wrote:

>
> On Sep 5, 2008, at 1:47 PM, mlosee wrote:
>
> > Then after that it closes out
>
>
> Can you run this query?:
>
>
>
>
>      SELECT ifs.id, ifs.nodeid, ifs.ipaddr
>        FROM ifservices ifs
>        JOIN ipinterface ip
>          ON ip.id=ifs.ipinterfaceid
>       WHERE ifs.ipaddr != ip.ipaddr;
>
>
>
>
> If you run the command line version, there should be some logs you can
> provide us, as well.  I haven't seen any log details on this thread,
> if there were, my apologies.
>
>
>
> David Hustace
> The OpenNMS Group, Inc.
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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 
>
>
> ______________________________________________________________________
> View message @
> http://n2.nabble.com/Opennms-Remote-Poller-Solution-tp760449p1057515.html 
> To unsubscribe from Opennms Remote Poller Solution, click here.
>
--

Jeff Gehlbach

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
On Sep 8, 2008, at 9:54 AM, mlosee wrote:

> That would be because no logs are being generated by the central or
> remote servers. All that can be seen is the download of the app.jnlp.

I think David meant the command line version of the remote poller.  
You can get that by installing the "opennms-remote-poller" package  
from the YUM repo.

> Other than that there is no errors or anything to help with any
> problems. I have parsed the database's and logs for anything to help
> with this. Nothing has shown up.

Back on the web start front, have you tried enabling tracing and/or  
logging to the Java console in web start itself?

-jeff

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
Jimisola Laursen

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jeff Gehlbach
Hi,

I'm experiencing the same, or at least very similar, problems with Java Webstart as other users in this thread.

I've followed the instruction on http://www.opennms.org/index.php/Remote_Poller .

Edit:

 1. monitoring-locations.xml
 2. poller-configuration.xml
 3. service-configuration.xml
 4. opennms.properties

I've also defined an application for this purpose.

I'm trying to get a OpenNMS Remote Poller working on Windows XP Pro.
However, the OpenNMS Remote Poller GUI never shows nor does the "Current monitoring location" dialog (Picture 1.png).

 1. javaw -viewer shows the application but no GUI shows
 2. javaw -uninstall to start from scratch
 3. verified that no javaw process is running (using Task Manager)
 4. pointed browser to http://XXX/opennms/webstart/app.jnlp (XXX is hostname, same as java.rmi.server.hostname specified in opennms.properties.
 5. Start->Run: javaws -verbose http://XXX/opennms/webstart/app.jnlp
 6. same as 1.

We have firewalls between the Remote Poller and the OpenNMS, but I've tried from within the same network as the OpenNMS as well - with the same result.

Not sure whether this is firewall related, but I doubt it considering testing from outside and within the network. Any other ideas whereas to why the GUI does not show?

BTW, read about there hopefully being a non-RMI version (http). Is this work in progress or?

Best regards,
Jimisola








Jeff Gehlbach wrote:
Here's what you should see when you browse to OPENNMS_SERVER:8980/
opennms/webstart/app.jnlp -- a Java Web Start downloader:


 



You may be asked whether to trust a signing certificate, after which  
the remote poller GUI window should appear and prompt you to register  
to an available monitoring location:


 


After registering, the remote poller window will refresh to look like  
this:


 



You should also see the new remote location monitor listed in the page  
at http://OPENNMS_SERVER:8980/opennms/distributed/ 
locationMonitorList.htm.


 



How far down this walk-through are you getting?

-jeff
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
Jimisola Laursen

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jeff Gehlbach
Hi again,

Used javaw -viewer to view the .jnlp file and found something that might be of interest.
Also, forgot to say before that we're using OpenNMS 1.6.1.

<jnlp spec="1.5+" codebase="http://opennms/opennms/webstart/" href="http://opennms/opennms/webstart/app.jnlp">
  <information>
    <title>OpenNMS Remote Poller (GUI)</title>
    <vendor>The OpenNMS Group</vendor>
    <homepage href="null"/>
    <shortcut online="false">
      <desktop/>
      <menu submenu="OpenNMS"/>
    </shortcut>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java version="1.5+"/>
    <jar href="http://opennms/opennms/webstart/opennms-remote-poller-jar-with-dependencies.jar" version="1.6.1" download="eager" main="true"/>
  </resources>
  <application-desc main-class="org.opennms.poller.remote.Main">
    <argument>--gui</argument>
    <argument>--url</argument>
    <argument>http://opennms/opennms</argument>
  </application-desc>
</jnlp>


I noticed that the jar is specified as "http://opennms/opennms/webstart/opennms-remote-poller-jar-with-dependencies.jar" in the jnlp file. However, that file does not exist! "opennms-remote-poller-1.6.1-jar-with-dependencies.jar" file does exist (note: no "1.6.1"). Could this cause the problem?

So, I copied opennms-remote-poller-1.6.1-jar-with-dependencies.jar to opennms-remote-poller-jar-with-dependencies.jar, but the webstart still does not work.

Downloaded the jar file and ran it manually resulting in a stacktrace (tried without the --location as well):

C:\Documents and Settings\23058582\Desktop>java -jar opennms-remote-poller-1.6.1
-jar-with-dependencies.jar --gui --location TEST --url http://opennmsopen
nms

FATAL - Exception occurred during registration!
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 6 in
 XML document from class path resource [META-INF/opennms/applicationContext-remo
tePollerBackEnd.xml] is invalid; nested exception is org.xml.sax.SAXParseExcepti
on: cvc-elt.1: Cannot find the declaration of element 'beans'.
Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration
 of element 'beans'.
        at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Un
known Source)
        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unkno
wn Source)
        at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Sou
rce)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
canRootElementHook(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocum
ent(DefaultDocumentLoader.java:76)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
eanDefinitions(XmlBeanDefinitionReader.java:361)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:313)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:290)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReade
r.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
        at org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:112)
        at org.springframework.context.support.AbstractXmlApplicationContext.loa
dBeanDefinitions(AbstractXmlApplicationContext.java:79)
        at org.springframework.context.support.AbstractRefreshableApplicationCon
text.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
        at org.springframework.context.support.AbstractApplicationContext.obtain
FreshBeanFactory(AbstractApplicationContext.java:389)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:324)
        at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:122)
        at org.springframework.context.support.ClassPathXmlApplicationContext.(ClassPathXmlApplicationContext.java:76)
        at org.opennms.poller.remote.Main.createAppContext(Main.java:191)
        at org.opennms.poller.remote.Main.run(Main.java:80)
        at org.opennms.poller.remote.Main.main(Main.java:241)

Jimisola

Jeff Gehlbach wrote:
Here's what you should see when you browse to OPENNMS_SERVER:8980/
opennms/webstart/app.jnlp -- a Java Web Start downloader:


 



You may be asked whether to trust a signing certificate, after which  
the remote poller GUI window should appear and prompt you to register  
to an available monitoring location:


 


After registering, the remote poller window will refresh to look like  
this:


 



You should also see the new remote location monitor listed in the page  
at http://OPENNMS_SERVER:8980/opennms/distributed/ 
locationMonitorList.htm.


 



How far down this walk-through are you getting?

-jeff
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
Jimisola Laursen

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jeff Gehlbach
I noticed know that there is a version.xml and that this points out the correct jar file. That is, the one for version 1.6.1.

However, the problem still persists. I've double checked proxy settings. Looks correct.

Will investigate further and update thread.

Regards,
Jimisola
Jimisola Laursen

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
In reply to this post by Jeff Gehlbach
Hi,

Problem identified and a workaround has been worked out.

The problem was proxy related. I had proxy configured in Java Control Panel (javaws -viewer),
but appearently OpenNMS Java Webstart Remote Poller does not seem to use this information.

Not knowing the details of OpenNMS proxy solution for Remote Poller I went with System Proxy Settings (http.proxyHost and http.proxyPort):

java -Dhttp.proxyHost=proxy.mydomain.net  -Dhttp.proxyPort=8080 -jar opennms-remote-poller-1.6.1-jar-with-dependencies.jar -g -l TEST -u http://opennms

and it worked!

My suggestion is that the Remote Poller (both Java Webstart and Command line version) allows for easy proxy configuration on application level.

Let me know if I should file an enhancement request.

Best Regards,
Jimisola
Benjamin Reed

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
Jimisola Laursen wrote:

> My suggestion is that the Remote Poller (both Java Webstart and Command line
> version) allows for easy proxy configuration on application level.

Mind opening a bug in bugzilla for this?  Feature/bug requests on the
list are often lost or forgotten.  =)

Thanks!


--
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/




------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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

signature.asc (257 bytes) Download Attachment
Jimisola Laursen

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
Hi,

Bug 2955 (and 2956) have been submitted.

Regards,
Jimisola

Benjamin Reed wrote:
Jimisola Laursen wrote:

> My suggestion is that the Remote Poller (both Java Webstart and Command line
> version) allows for easy proxy configuration on application level.

Mind opening a bug in bugzilla for this?  Feature/bug requests on the
list are often lost or forgotten.  =)

Thanks!


--
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/



 
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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
pallavi19

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
In reply to this post by mlosee
hi!!
i had strt using opennms..
can u tell me if am installin remote poller on machin ..do i  need to install jdk and postgres too..
wat is d actual installtion and configuration process.
 
pallavi

mlosee wrote:
I am new to setting up a remote poller for monitoring networks behind routers and firewalls. I am running the unstable 1.5.93 version of opennms. I have loaded the opennms-remote-poller rpm onto another machine located on a different network. Now i've followed all the configuration instructions that i could find. However i am still not getting the two computers to communicate with eachother. I am not getting any errors in any of my logs. I am just not getting any communication between the two devices. Can someone give me a hand with this or at least point me in the right direction.

Sincerely,

Matthew Losee
Jeff Gehlbach

Re: Opennms Remote Poller Solution

Reply Threaded More More options
Print post
Permalink
On Jan 20, 2009, at 3:39 AM, pallavi19 wrote:

> i had strt using opennms..

If your English is really this bad, that's fine, but if you know how  
to spell "start" or how to write out the word "you", that goes a long  
way towards people taking you seriously.

> can u tell me if am installin remote poller on machin ..do i  need to
> install jdk and postgres too..

The remote poller requires a Java runtime environment.  A full JDK  
will do but is not necessary.  You do not need a separate PostgreSQL  
installation for a remote poller, as the remote poller connects to the  
poller back-end to fetch its configuration.

> wat is d actual installtion and configuration process.

The installation process varies according to the platform where you  
are installing.  There is an executable JAR version that can run in  
GUI or headless mode, native DEB and RPM packages (I think), and a Web  
Start version that you can install and launch from any web browser  
with a Sun Java plug-in by going to http://your.opennms.svr:8980/webstart/app.jnlp 
.

-jeff

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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
1 2