Details
-
Bug
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
14.0.2
-
Security Level: Default (Default Security Scheme)
-
None
-
Cent OS box running Openms. Windows server 2008 r2 lab environment.
Description
WMI access seems to be working in the server (remote and local). I was following this guide (http://www.opennms.org/wiki/WmiConfiguration) and when i try to check the WMI from the opennms box i get this error.
[root@localhost bin]# ./checkwmi -matchType all -wmiClass Win32_BIOS \
> -wmiObject Status \
> -op EQ -value OK -domain cbw.local server01 Administrator ************
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: Unknown host 'server01'. Failed to connect to WMI agent.
at org.opennms.protocols.wmi.WmiClient.connect(WmiClient.java:272)
at org.opennms.protocols.wmi.WmiManager.init(WmiManager.java:264)
at org.opennms.protocols.wmi.CheckWmi.main(CheckWmi.java:150)
Caused by: java.net.UnknownHostException: server01: Temporary failure in name resolution
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:901)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1293)
at java.net.InetAddress.getAllByName0(InetAddress.java:1246)
at java.net.InetAddress.getAllByName(InetAddress.java:1162)
at java.net.InetAddress.getAllByName(InetAddress.java:1098)
at java.net.InetAddress.getByName(InetAddress.java:1048)
at org.jinterop.dcom.core.JIComServer.<init>(JIComServer.java:408)
at org.opennms.protocols.wmi.WmiClient.connect(WmiClient.java:232)
... 2 more
I went to the site listed and tried the solution suggested but not luck. perhaps i am doing something wrong. I am still fairly new on opennms. Please let me know how i can resolve this issue. Thank you.