Stefaans Mostert (GBL | 31 Aug 08:47 2015
Picon

JAVA_HOME

Morning all

I installed newest version of opennms on Ubuntu.
Ver: 16.0.3
Java ver: 1.8.0_60 Oracle

Now....
if I look for java_home
root <at> dev-ops:~# echo $JAVA_HOME

root <at> dev-ops:~# echo $java_home

Nothing!

root <at> dev-ops:/usr/share/opennms/bin# ./runjava -s
runjava: Looking for an appropriate JRE...
runjava: Checking for an appropriate JRE in JAVA_HOME...
runjava: skipping... JAVA_HOME not set
runjava: Checking JRE in user's path: "/usr/bin/java"...
runjava: found an appropriate JRE in user's path: "/usr/bin/java"
runjava: value of "/usr/bin/java" stored in configuration file

Yet when I cat the /etc/defaults/opennms file

cat /etc/default/opennms
# Set JAVA_HOME if it cannot be auto-detected
#JAVA_HOME=/usr/lib/jvm/java-8-oracle
JAVA_HOME='/usr/lib/jvm/java-8-oracle'

Is this normal or am I missing something?





Stefaans Mostert
Contractor: Linux System Administrator
T: +27 11 459 1804           Fourth Floor, Grindrod Tower, 8A Protea Place, Sandton
F: +27 11 459 1872 PO Box 78011, Sandton, Gauteng, 2146


www.grindrodbank.co.za

This communication is intended for the addressee only, is privileged and confidential and unauthorised dissemination or copying is prohibited. The views and opinions expressed herein are those of the sender and do not necessarily represent those of Grindrod Bank Limited and/or its affiliates unless otherwise stated or agreed to in writing.  All electronic communications are subject to important restrictions, qualifications and disclaimers ("Disclaimer") found at the following link. Such disclaimer is deemed to form part of the content of this communication in terms of Section 11 of the Electronic Communications and Transactions Act, 25 of 2002.

Please consider the environment before printing this email

 

------------------------------------------------------------------------------
_______________________________________________
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
Stefaans Mostert (GBL | 31 Aug 08:36 2015
Picon

Hail the list.

Morning everyone

New around here and looking at options for my monitoring.
Looks like a choice between
Icinga
Opennms

Installed newest version from opennms repositories
on Ubuntu 14.04.
Doc's seem a little dated.
For now only want to monitor Cisco switches, linux, vmware andWindows hosts
to be added.

Nice to meet you all

Kuberboef.


Stefaans Mostert
Contractor: Linux System Administrator
T: +27 11 459 1804           Fourth Floor, Grindrod Tower, 8A Protea Place, Sandton
F: +27 11 459 1872 PO Box 78011, Sandton, Gauteng, 2146


www.grindrodbank.co.za

This communication is intended for the addressee only, is privileged and confidential and unauthorised dissemination or copying is prohibited. The views and opinions expressed herein are those of the sender and do not necessarily represent those of Grindrod Bank Limited and/or its affiliates unless otherwise stated or agreed to in writing.  All electronic communications are subject to important restrictions, qualifications and disclaimers ("Disclaimer") found at the following link. Such disclaimer is deemed to form part of the content of this communication in terms of Section 11 of the Electronic Communications and Transactions Act, 25 of 2002.

Please consider the environment before printing this email

 

------------------------------------------------------------------------------
_______________________________________________
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
Ronald Sweatland | 28 Aug 20:28 2015

Install problems - Help!

We are testing out OpenNMS … we can’t even get past the install. I have followed the install directions exactly and I get getting errors.

 

Environment:

VMWare VM

Server 2008 R2 Standard 64bit

 

Installed

Jdk-8u60-windows-x64.exe

Postgresql-9.4.4-3-windows-x64.exe

Standalone-opennms-installer-16.0.3-1.jar (all extra options selected)

 

These have all been installed in order and at step 9 or 10, I get an error that tells me it failed and would I like to continue.

 

I try to open localhost:8980/opennms in the browser and get a web page not available.

 

Are there install logs I can provide? Any help? Any clear cut installation guide (with NO assumptions)?

 

I will also note that there is a section in the directions that says pick setup32.exe or setup64.exe. When the file is unzipped, they are NOT there on the standalone.jar file

 

 

Ron Sweatland

Manager - IT Infrastructure Systems

 

250 Williams Street, 5th Floor

Atlanta, GA  30303

Email: rsweatland <at> incomm.com

 

------------------------------------------------------------------------------
_______________________________________________
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
Marinho Rodrigo | 28 Aug 20:20 2015

RADIUS issues

G’day gents!

 

I just installed the v16.0.2 and when enabling the RADIUS authentication mode I got the 503 service error.

Do you have a clue on what is going on?

 

Best regards,

 

Rodrigo Marinho

 

------------------------------------------------------------------------------
_______________________________________________
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
Robin Decoster | 18 Aug 22:10 2015

Acces Firefox

Dear all,

I am a new user of OpenNMS and would like to use it to monitor a small group of critical computers.
To test it, I could install it on a computer with a Win7 SP1 operating system. Not ideal but I hoped this would
be sufficient just to test it. I installed the JAVE SE JDK 8 Version 51 with a PostgreSQL V9.4.4, following
the guidelines on the internet. I got a message that the installation of the OpenNMS (version 16.0.2)
completed successful. At this moment I can’t joint it using the browser (IE or Firefox). I did open the
specific port 8980 on the firewall.

Can someone help me with this issue?

Thanks,

Robin
------------------------------------------------------------------------------
_______________________________________________
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 Grasso | 14 Aug 15:23 2015

Newcomer : setting up WMI ?

Hello,

I am discovering Opennms; I downloaded the latest version : 16.0.2, I have installed it on an Ubuntu 14.04
machine. I scanned my network, it discovered a lot of devices; I setup SNMP and mapped some switches.
Then I wanted to have more details about my Windows machines; I followed the documents

WMI Data Collection Tutorial - OpenNMS
http://www.opennms.org/wiki/WMI_Data_Collection_Tutorial

and

WmiConfiguration - OpenNMS
http://www.opennms.org/wiki/WmiConfiguration

I am able to have a successfull test with checkwmi aimed to two of my machines where I modify the registry as
required. But then, when I try to rescan one of the machines used for the checkwmi test, the scan does not
display WMI.

Can somebody help me ?

Best regards

---
Robert GRASSO - System engineer

CEDRAT S.A.
15 Chemin de Malacher - Inovallée - 38246 MEYLAN cedex - FRANCE 
Phone: +33 (0)4 76 90 50 45 - Fax: +33 (0)4 56 38 08 30
mailto:robert.grasso <at> cedrat.com - http://www.cedrat.com   

------------------------------------------------------------------------------
_______________________________________________
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

Madden, Joe | 12 Aug 16:09 2015

OpenNMS / WMI - Problem with WMI Windows Server 2012

Hi All,

 

I’ve been trying to configure OpenNMS on a Windows server 2012 to no avil. The server configuration is essentially out the box with some apps installed, WMI has been configured in accordance with http://www.opennms.org/wiki/WMIConfiguration.

 

WMI Will work, if I use the Administrator username and password (So ruling out the firewall here), however I have configured an additional account for monitoring purposes, added it to the administrators group, and performed the registry tweaks as suggested by the WMI configuration page in the wiki.

 

The error I get back from a windows host to WMI is :

 

Get-WmiObject -Credential opennms -ComputerName atomdb Win32_BIOS | fl Status

Get-WmiObject : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

At line:1 char:14

+ Get-WmiObject <<<<  -Credential opennms -ComputerName atomdb Win32_BIOS | fl Status

    + CategoryInfo          : NotSpecified: (:) [Get-WmiObject], UnauthorizedAccessException

    + FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.PowerShell.Commands.GetWmiObjectCommand

 

And the check WMI script:

 

checkwmi -matchType all -wmiClass Win32_BIOS -wmiObject Status -op EQ -value OK -domain workgroup ###

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

org.opennms.protocols.wmi.WmiException: Failed to establish COM session with host '192.168.242.146': Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.  [0x00000005]

        at org.opennms.protocols.wmi.WmiClient.connect(WmiClient.java:263)

        at org.opennms.protocols.wmi.WmiManager.init(WmiManager.java:264)

        at org.opennms.protocols.wmi.CheckWmi.main(CheckWmi.java:149)

Caused by: org.jinterop.dcom.common.JIException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.  [0x00000005]

        at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenKey(JIWinRegStub.java:197)

        at org.jinterop.dcom.core.JIProgId.getIdFromWinReg(JIProgId.java:131)

        at org.jinterop.dcom.core.JIProgId.getCorrespondingCLSID(JIProgId.java:162)

        at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:413)

        at org.opennms.protocols.wmi.WmiClient.connect(WmiClient.java:232)

        ... 2 more

Caused by: org.jinterop.dcom.common.JIRuntimeException: Access is denied, please check whether the [domain-username-password] are correct. Also, if not already done please check the GETTING STARTED and FAQ sections in readme.htm. They provide information on how to correctly configure the Windows machine for DCOM access, so as to avoid such exceptions.  [0x00000005]

        at org.jinterop.winreg.IJIWinReg$openKey.read(IJIWinReg.java:939)

        at ndr.NdrObject.decode(NdrObject.java:36)

        at rpc.ConnectionOrientedEndpoint.call(ConnectionOrientedEndpoint.java:137)

        at rpc.Stub.call(Stub.java:113)

        at org.jinterop.winreg.smb.JIWinRegStub.winreg_OpenKey(JIWinRegStub.java:191)

        ... 6 more

 

 

 

At least the errors are consistence. Any ideas on what specific to check?

 

Joe

 

------------------------------------------------------------------------------
_______________________________________________
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
Cadillac Rick | 2 Aug 15:02 2015
Picon

New OpenNMS install

Hey everyone,

New to the OpenNMS family here with a fresh new install.

I seem to be having a problem getting the OpenNMS server to send mail through our company mail server. For some reason it doesn't want to send to the internal server it keeps trying to send mail from the outside because i keep seeing failed connections coming into my Barracuda Spam Filter...   Any help would be greatly appreciated!  

This is how i have my opennms/etc/javamail-configuration.properties file set up


#
# These properties define the SMTP Host.
#
org.opennms.core.utils.mailHost=10.0.1.7
#org.opennms.core.utils.mailer=smtpsend
org.opennms.core.utils.transport=smtp
org.opennms.core.utils.debug=true
org.opennms.core.utils.smtpport=25
#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=false
#org.opennms.core.utils.authenticateUser=opennms
#org.opennms.core.utils.authenticatePassword=opennms
#org.opennms.core.utils.starttls.enable=false

#
# These properties configure message content
#
org.opennms.core.utils.messageContentType=text/plain
org.opennms.core.utils.charset=us-ascii




------------------------------------------------------------------------------
_______________________________________________
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
Mark JERRIM | 31 Jul 13:28 2015
Picon

Trouble with Repositories

Hi,

I was following the tutorial for installing opennms on APT/Debian (I am using Ubuntu 15.04). I am fairly new
to Linux.

I added the repositories exactly as described. When I execute the statement 

apt-get update 

it finds the main Linux repositories but when it gets to the opennms repositories it gives the following
error message:

W: Impossible de récupérer http://debian.opennms.org/dists/stable/main/source/Sources  Somme de
contrôle de hachage incohérente

W: Impossible de récupérer http://debian.opennms.org/dists/stable/main/binary-i386/Packages 
Somme de contrôle de hachage incohérente

Apologies for the French(I'm in France) but I hope you get the idea LOL!

By changing the sources to debian.opennms.eu and running it again everything went OK. The install
completed and I have a good installation.

Can anyone tell me if I did something wrong or is there a problem with the install instructions or the sources perhaps?

------------------------------------------------------------------------------
_______________________________________________
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 Sayre | 23 Jul 19:20 2015

Monitoring Microsoft Standard Services

Hello,

 

I am trying to follow the tutorial about monitoring Microsoft services. The link to the tutorial is below. I have just installed openNMS. I would like to monitor some basic services DNS and AD mainly.

 

http://www.opennms.org/wiki/Monitoring_Microsoft_Standard_Services

 

The problem that I am running into is I cannot find the /etc/capsd-configuration.xml  file. I don’t know if they have moved it or what the issue is. I am running the latest stable release on CentOS 7. Thanks for the help and let me know if you have any questions.

------------------------------------------------------------------------------
_______________________________________________
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
Ronan, Shane | 23 Jul 16:39 2015
Picon

snmptrap port not listening with new install

I have installed a new instance of OpenNMS xxx, and I am having an issue receiving SNMP Traps.

 

When I do a netstat, I am only seeing OpenNMS listening on udp6 for snmptrap, I am not seeing udp listening.

 

udp6       0      0 [::]:snmptrap           [::]:*

Any thoughts?

------------------------------------------------------------------------------
_______________________________________________
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