Shane Ronan | 1 Aug 2005 15:08

RE: Service Polling Defaults

Okay, perhaps I should have asked how?
 
-shane

From: opennms-install-admin <at> lists.sourceforge.net on behalf of Gomez, Julian Jose
Sent: Sun 7/31/2005 9:51 AM
To: opennms-install <at> lists.sourceforge.net
Subject: RE: [opennms-install] Service Polling Defaults

Yes.

-----Original Message-----
From: opennms-install-admin <at> lists.sourceforge.net on behalf of Shane Ronan
Sent: Sat 7/30/2005 10:49 PM
To: opennms-install <at> lists.sourceforge.net
Subject: [opennms-install] Service Polling Defaults
 

Quick question...

Is it possible to change the default service polling defaults to not poll any service it discovers on a node other then ICMP?

This would give me the ability to turn on the other services by hand when I was ready to poll them.

I still want it to discover the service, just not poll it, until I tell it to.

Thanks,
Shane

Matt Brozowski | 1 Aug 2005 15:17
Favicon
Gravatar

Re: Re: Re: Discovery: Failed to create ping manager


On Jul 29, 2005, at 2:59 PM, Phillip Hutchins wrote:

> I performed a new installation with Java only having 32-bit support.   
> However, I am getting the same problems as before (OpenNMS.Discovery  
> will not start).
>
> The errors in the discovery.log point to an issue with Java.  Any  
> ideas?
>
> 2005-07-29 14:45:42,932 DEBUG [Discovery:BroadcastEventProcessor]  
> EventIpcManagerDefaultImpl$ListenerThread: In Listener
> Thread Discovery:BroadcastEventProcessor run
> 2005-07-29 14:45:43,044 ERROR [main] Discovery: Failed to create ping  
> manager
> java.lang.NullPointerException
>         at  
> org.opennms.netmgt.discovery.Discovery.start(Discovery.java:434)
>         at  
> org.opennms.netmgt.discovery.jmx.Discovery.start(Discovery.java:43)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
> va:39)

This error is almost always a shared library problem. Since you are  
playing around with 32 vs 64 bits systems, it is even more likely so.

You have unfortunately missed the fist error where this problem  
probably occurred.

grep -i 'UnsatisfiedLinkError' *.log

and post the results.  The error message will tell you what the problem  
is. If you have built opennms for 64 bit system (i.e. with 64 shared  
libs) then a 32 bit JVM will not load them.

If you can't find the UnsatisfiedLinkError, the stop opennms, remove  
your logs, and restart.  It'll be there.

Matt
________________________________________________________________________ 
___
Matt Brozowski, OpenNMS Maintainer			Main:	+1 919 812 4984
The OpenNMS Group, Inc.					Fax:		+1 503 961 7746
Email: brozow <at> opennms.org					URL:	http://www.opennms.com

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

Tarus Balog | 1 Aug 2005 15:22
Favicon

Re: Service Polling Defaults


On Jul 30, 2005, at 10:49 AM, Shane Ronan wrote:

>
> Quick question...
>
> Is it possible to change the default service polling defaults to  
> not poll any service it discovers on a node other then ICMP?

Edit the poller-configuration.xml file, and set status="off" for all  
the service you don't want polled.

-T

-----

Tarus Balog
The OpenNMS Group, Inc.
Main  : +1 919 545 2553   Fax:   +1 503-961-7746
Direct: +1 919 647 4749   Skype: tarusb
Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

Shane Ronan | 1 Aug 2005 15:32

RE: Service Polling Defaults

Will I still be able to manually enable them per device?

Thanks again!

________________________________

From: opennms-install-admin <at> lists.sourceforge.net on behalf of Tarus Balog
Sent: Mon 8/1/2005 6:22 AM
To: opennms-install <at> lists.sourceforge.net
Subject: Re: [opennms-install] Service Polling Defaults

On Jul 30, 2005, at 10:49 AM, Shane Ronan wrote:

>
> Quick question...
>
> Is it possible to change the default service polling defaults to 
> not poll any service it discovers on a node other then ICMP?

Edit the poller-configuration.xml file, and set status="off" for all 
the service you don't want polled.

-T

-----

Tarus Balog
The OpenNMS Group, Inc.
Main  : +1 919 545 2553   Fax:   +1 503-961-7746
Direct: +1 919 647 4749   Skype: tarusb
Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

Attachment (winmail.dat): application/ms-tnef, 4819 bytes
Phillip Hutchins | 1 Aug 2005 15:38

Re: Discovery: Failed to create ping manager

To answer the questions below.

I am installing OpenNMS 1.2.3 running as user root on SPARC.
Java j2sdk1.4.2_08
Tomcat 4.1.18
Postgres 7.3.4

Thanks,

Phil

What version of OpenNMS?

   - djg

Are you trying to run OpenNMS not as the user "root" ?

I performed a new installation with Java only having 32-bit support.  However, I am getting the same
problems as before (OpenNMS.Discovery will not start).

The errors in the discovery.log point to an issue with Java.  Any ideas?

2005-07-29 14:45:42,932 DEBUG [Discovery:BroadcastEventProcessor]
EventIpcManagerDefaultImpl$ListenerThread: In Listener
Thread Discovery:BroadcastEventProcessor run
2005-07-29 14:45:43,044 ERROR [main] Discovery: Failed to create ping manager
java.lang.NullPointerException
       at org.opennms.netmgt.discovery.Discovery.start(Discovery.java:434)
       at org.opennms.netmgt.discovery.jmx.Discovery.start(Discovery.java:43)
       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:324)
       at mx4j.MBeanIntrospector.invoke(MBeanIntrospector.java:214)
       at mx4j.MBeanServerImpl.invoke(MBeanServerImpl.java:158)
       at org.opennms.netmgt.vmmgr.Manager.start(Manager.java:208)
       at org.opennms.netmgt.vmmgr.Manager.main(Manager.java:436)

opennms -v status
OpenNMS.Eventd         : running
OpenNMS.Trapd          : running
OpenNMS.Dhcpd          : running
OpenNMS.Actiond        : running
OpenNMS.Capsd          : running
OpenNMS.Notifd         : running
OpenNMS.Scriptd        : running
OpenNMS.Rtcd           : running
OpenNMS.Pollerd        : running
OpenNMS.Collectd       : running
OpenNMS.Threshd        : running
OpenNMS.Discovery      : starting
OpenNMS.Vacuumd        : running
opennms is partially running

Thanks,

Phil

From: DJ Gregor <dgregor <at> interhack.com>
Subject: Re: [opennms-install] Re: Discovery: Failed to create ping manager
Date: Tue, 19 Jul 2005 20:35:16 -0400
To: opennms-install <at> lists.sourceforge.net
Reply-To: opennms-install <at> lists.sourceforge.net

The library files that come with OpenNMS were likely compiled for the
32-bit SPARC architecture.  You said that you are using a 64-bit SPARC
JRE.  These will not work together.  The JRE and the libjrrd.so and
libjicmp.so libraries all need to be compiled for the same
architecture.

You can use "file" on the libjrrd.so and libjicmp.so libraries as well
as the "java" executable you are trying to use.  All three should be
32-bit or they should all be 64-bit.  If there is a mix, it won't work.
Same goes for iplike.so and postgres (in particular, the
"postmaster").

The easy fix: switch your JRE to 32-bit (and maybe PostgreSQL if you
are having troubles there, too), or compile OpenNMS with the
appropriate options passed to gcc to make 64-bit SPARC binaries (I
can't find the exact stuff right now... search the mailing lists).

  Good luck,
  - djg

On Jul 19, 2005, at 4:10 PM, Phillip Hutchins wrote:

> Thanks for the quick response.  My first email was misleading.  I used
> the opennms packages from sourceforge and any supporting packages
> (tomcat, postgresql, rrdtool, etc.) I downloaded from ftp.opennms.org.
>  I tried using rrdtool off of the sunfreeware.com site, but the issue
> is still there.  Any ideas?
>
> Thanks,
> Phil
>
>
>
>> I installed Java using the self-extracting binary installation.  I
>> followed the instructions to install Java with 64-bit support, not
>> sure how to verify that 64-bit is actually being used.  I installed
>> all other software from packages at ftp.opennms.org.
>>
>> I am running into a similar issue (probably the same issue) as
>> another person who posted to the mailing list.  The
>> OpenNMS.Discovery is not running and I found the error "Discovery:
>> Failed to create ping manager" in the discover.log file.  It looks
>> like this has to do with 64-bit vs 32-bit, from the mailing list
>> this seems to be related to Java and RRDtool.  How do I determine
>> if either Java or RRDtool is running at 64-bit or 32-bit?  Which of
>> these packages is easier to change to match the other?
>
> Hrm. I am not sure how up to date the packages on the ftp site are.
> You're best bet is to get them from Sourceforge:
>
> https://sourceforge.net/project/showfiles.php?group_id=4141
>
> That may not fix the issue. You might need to build from source. If
> the new packages don't fix the problem, I'll tell you how.
>
> -T

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

Edoardo Lee | 1 Aug 2005 18:17
Picon

Re: opennms e-mail configuration

Thanks for the input. So would I have this file configured correctly
if my MS Exchange Server's address is 152.119.151.49 and the Opennms
server is 152.119.151.54?

[root <at> ftanms02 etc]# vi javamail-configuration.properties.xml
#
# This property defines system sender account.
#
# The default setting is root <at> [127.0.0.1]
org.opennms.core.utils.fromAddress=root <at> [152.119.151.54]

#
# This property defines SMTP Host.
#
org.opennms.core.utils.mailHost=152.119.151.49
#org.opennms.core.utils.mailer=smtpsend
#org.opennms.core.utils.transport=smtp
#org.opennms.core.utils.debug=true
#
# This property defines Mail authentication.
# The default setting is false
#org.opennms.core.utils.authenticate=false
#org.opennms.core.utils.authenticateUser="opennms"
#org.opennms.core.utils.authenticatePassword="opennms"

# This property controls the use of the JMTA, the
# default is true
org.opennms.core.utils.useJMTA=false

On 7/27/05, Edoardo Lee <edwardleester <at> gmail.com> wrote:
> How do I configure opennms to e-mail me alerts and reports?
> 
> Is the javamail-configuration.properties.xml file in /opt/Opennms/etc/
> the only file or are there other places to edit?
> 
> [root <at> ftanms02 etc]# vi javamail-configuration.properties
> #
> # This property defines system sender account.
> #
> # The default setting is root <at> [127.0.0.1]
> org.opennms.core.utils.fromAddress=root <at> [152.119.151.54]
> 
> #
> # This property defines SMTP Host.
> #
> org.opennms.core.utils.mailHost=152.119.151.49
> #org.opennms.core.utils.mailer=smtpsend
> #org.opennms.core.utils.transport=smtp
> #org.opennms.core.utils.debug=true
> #
> # This property defines Mail authentication.
> # The default setting is false
> #org.opennms.core.utils.authenticate=false
> #org.opennms.core.utils.authenticateUser="opennms"
> #org.opennms.core.utils.authenticatePassword="opennms"
>

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

David Hustace | 2 Aug 2005 13:23
Favicon
Gravatar

Re: Re: opennms e-mail configuration


On Aug 1, 2005, at 12:17 PM, Edoardo Lee wrote:

> Thanks for the input. So would I have this file configured correctly
> if my MS Exchange Server's address is x and the Opennms
> server is y?

Okay, I'll bite... Yes, looks correct to me.

David Hustace
The OpenNMS Group, Inc.
http://www.opennms.com

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

Tarus Balog | 1 Aug 2005 19:56
Favicon

Re: Service Polling Defaults


On Aug 1, 2005, at 9:32 AM, Shane Ronan wrote:

> Will I still be able to manually enable them per device?

Good question. I'm not quite sure. I'd have to test it (too busy  
getting ready for LinuxWorld Expo to do it at the moment).

There should be some way to do this.

-T

-----

Tarus Balog
The OpenNMS Group, Inc.
Main  : +1 919 545 2553   Fax:   +1 503-961-7746
Direct: +1 919 647 4749   Skype: tarusb
Key Fingerprint: 8945 8521 9771 FEC9 5481  512B FECA 11D2 FD82 B45C

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

Phillip Hutchins | 1 Aug 2005 20:16

Re: Discovery: Failed to create ping manager

Matt,

You're right about the error being there.  I'm not sure what to do with this information.  

root <at> siler# grep -i "UnsatisfiedLinkError" *.log
capsd.log:java.lang.UnsatisfiedLinkError: /usr/local/opennms/lib/libjicmp.so: ld.so.1: java:
fatal: libgcc_s.so.1: open failed: No such file or directory
capsd.log:java.lang.UnsatisfiedLinkError: /usr/local/opennms/lib/libjrrd.so: ld.so.1: java:
fatal: librrd.so.0: open failed: No such file or directory

From: Matt Brozowski <brozow <at> op...>
Re: Re: Re: Discovery: Failed to create ping manager  
2005-08-01 06:17

 On Jul 29, 2005, at 2:59 PM, Phillip Hutchins wrote:

 > I performed a new installation with Java only having 32-bit support.   
 > However, I am getting the same problems as before (OpenNMS.Discovery  
 > will not start).
 >
 > The errors in the discovery.log point to an issue with Java.  Any  
 > ideas?
 >
 > 2005-07-29 14:45:42,932 DEBUG [Discovery:BroadcastEventProcessor]  
 > EventIpcManagerDefaultImpl$ListenerThread: In Listener
 > Thread Discovery:BroadcastEventProcessor run
 > 2005-07-29 14:45:43,044 ERROR [main] Discovery: Failed to create ping  
 > manager
 > java.lang.NullPointerException
 >         at  
 > org.opennms.netmgt.discovery.Discovery.start(Discovery.java:434)
 >         at  
 > org.opennms.netmgt.discovery.jmx.Discovery.start(Discovery.java:43)
 >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 >         at  
 > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja 
 > va:39)

 This error is almost always a shared library problem. Since you are  
 playing around with 32 vs 64 bits systems, it is even more likely so.

 You have unfortunately missed the fist error where this problem  
 probably occurred.

 grep -i "UnsatisfiedLinkError" *.log

 and post the results.  The error message will tell you what the problem  
 is. If you have built opennms for 64 bit system (i.e. with 64 shared  
 libs) then a 32 bit JVM will not load them.

 If you can"t find the UnsatisfiedLinkError, the stop opennms, remove  
 your logs, and restart.  It"ll be there.

 Matt
 ________________________________________________________________________ 
 ___
 Matt Brozowski, OpenNMS Maintainer         Main:   +1 919 812 4984
 The OpenNMS Group, Inc.                    Fax:        +1 503 961 7746
 Email: brozow <at> op...                    URL:    http://www.opennms.com

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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

fa.del | 2 Aug 2005 18:38
Favicon

access via LAN pbm

HI,

I've installed OpenNMS 1.2.
Everything work fine on localhost, but I don't have
the webpage to login when I want me to connect from another
computer on the LAN (timeout)!!

I made all the changes on PostgreSQL.
Could you help me?

thanks a lot

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq

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