VMware Cloud Community
Bomma
Contributor
Contributor

Network device not working with Hyperic

It is not possible to get SNMP alerts from Network Device type resource. The configuration was done as per the instructions mentioned here:

https://support.hyperic.com/display/DOC/Monitoring+a+Network+Device 

when you change platform.log_track.enable to true; you get the following error message in agent.log file:

****************
****************

root@er-slo-mws:/# tail -f /var/log/hyperic/agent/agent.log

2015-11-17 07:43:38,019 INFO  [commandlistener-generic-0] [MeasurementCommandsService] Creating log_track plugin 1:11211 [Network Device]
2015-11-17 07:43:38,019 ERROR [commandlistener-generic-0] [MeasurementCommandsService] log_track plugin name=Network Device not found
org.hyperic.hq.product.PluginNotFoundException: log_track plugin name=Network Device not found
at org.hyperic.hq.product.PluginManager.getPlugin(PluginManager.java:286)
at org.hyperic.hq.product.PluginManager.createPlugin(PluginManager.java:404)
at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.addTrackPlugin(MeasurementCommandsService.java:151)
at org.hyperic.hq.measurement.agent.server.MeasurementCommandsService.addTrackPlugin(MeasurementCommandsService.java:169)
at org.hyperic.hq.measurement.agent.server.MeasurementCommandsServer.dispatchCommand(MeasurementCommandsServer.java:192)
at org.hyperic.hq.agent.server.CommandDispatcher.processRequest(CommandDispatcher.java:113)
at org.hyperic.hq.agent.server.CommandListener.handleConn(CommandListener.java:216)
at org.hyperic.hq.agent.server.CommandListener.access$100(CommandListener.java:57)
at org.hyperic.hq.agent.server.CommandListener$AgentDispatchTask.run(CommandListener.java:200)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)
2015-11-17 07:43:39,102 ERROR [Thread-4] [Scanner] Global error during inventory scan: java.lang.NumberFormatException: For input string: ""
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at org.hyperic.snmp.SNMPSession_v1.initSession(SNMPSession_v1.java:100)
at org.hyperic.snmp.SNMPSession_v1.init(SNMPSession_v1.java:121)
at org.hyperic.snmp.SNMPClient.getSession(SNMPClient.java:249)
at org.hyperic.snmp.SNMPClient.getSession(SNMPClient.java:205)
at org.hyperic.hq.plugin.netdevice.NetworkDeviceDetector.getSession(NetworkDeviceDetector.java:271)
at org.hyperic.hq.plugin.netdevice.NetworkDevicePlatformDetector.getSession(NetworkDevicePlatformDetector.java:59)
at org.hyperic.hq.plugin.netdevice.NetworkDevicePlatformDetector.getPlatformResource(NetworkDevicePlatformDetector.java:157)
at org.hyperic.hq.autoinventory.Scanner.detectPlatform(Scanner.java:120)
at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:156)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
2015-11-17 07:43:39,103 WARN  [Thread-4] [AutoinventoryCommandsServer] AICommandsServer: scan completed, but we could not even detect the platform, so nothing will be reported to the server. Here is some information about the error that occurred:
Severe failure: java.lang.NumberFormatException: For input string: ""
java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at org.hyperic.snmp.SNMPSession_v1.initSession(SNMPSession_v1.java:100)
at org.hyperic.snmp.SNMPSession_v1.init(SNMPSession_v1.java:121)
at org.hyperic.snmp.SNMPClient.getSession(SNMPClient.java:249)
at org.hyperic.snmp.SNMPClient.getSession(SNMPClient.java:205)
at org.hyperic.hq.plugin.netdevice.NetworkDeviceDetector.getSession(NetworkDeviceDetector.java:271)
at org.hyperic.hq.plugin.netdevice.NetworkDevicePlatformDetector.getSession(NetworkDevicePlatformDetector.java:59)
at org.hyperic.hq.plugin.netdevice.NetworkDevicePlatformDetector.getPlatformResource(NetworkDevicePlatformDetector.java:157)
at org.hyperic.hq.autoinventory.Scanner.detectPlatform(Scanner.java:120)
at org.hyperic.hq.autoinventory.Scanner.start(Scanner.java:156)
at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:141)
at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)

OVERALL STATUS: completed, however a general scanning error occurred
Run time: 00:00:00

No Platform Detected!

NullScan:

  • Status: unknown
  • No Servers Detected

2015-11-17 07:43:39,212 INFO  [Thread-4] [AutoinventoryCommandsServer] Autoinventory report successfully sent to server.

****************
****************

Here the SNMP alerts are coming from HP Onboard Administrator(OA) which is used for controlling the Hp Blade enclosure , we have tested it with tape loader also

Can you please let me know why this error has occured?

0 Kudos
1 Reply
Bomma
Contributor
Contributor

Could any one help us on this issue.We are not able to progress further.

(or)

Let us know if this is an existing issue in 3PP.

And in which version of hyperic is this resolved?

0 Kudos