Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Can anybody tell me why i get this eror and what the test of the plugin is

$
0
0
Can anybody tell me why i get this error near the bottom , Its preventing the agent from starting up . and what is the output of my test plugin is telling me.. Im looking for the status,number of,  and voltage output of the internal battery .. I have ATTACHED my plugin. Forgive me if its BAD.. I have never tried to write one before.  Also here is the output from testing the plugin using java jar command .

./java -jar /opt/hyperic/hq/agent/bundles/agent-4.1.1-1045/pdk/lib/hq-product.jar -Dplugins.include=myciscoENVsnmp -m
discover -a "power supply sensor state" -Dlog=debug -Djmx.password=xxxxxx -Dplatform.ip=146.139.115.190
-Dplatform.name=146.139.115.190 -Dplatform.fqdn=146.139.115.190 -DsnmpIp=146.139.115.190 -DsnmpVersion=v2c
-DsnmpCommunity=xxxxxx
INFO  [main] [ProductPluginManager] agent.pdkDir=/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk
INFO  [main] [ProductPluginManager] agent.pdkPluginDir=/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/plugins
INFO  [main] [ProductPluginManager] agent.pdkWorkDir=/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/work
DEBUG [main] [ProductPluginManager] Initializing in client mode
(pdk=/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk)
DEBUG [main] [MIBTree] No MIBs in directory: /opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/mibs
INFO  [main] [ProductPluginManager] Loading plugin: system-plugin.jar
DEBUG [main] [PluginData] etc/plugin.properties => null
DEBUG [main] [PluginData] etc/hq-plugin.xml =>
jar:file:/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/plugins/system-plugin.jar!/etc/hq-plugin.xml
DEBUG [main] [SystemPlugin] sigar.mirror.procnet=null
INFO  [main] [ProductPluginManager] Loading plugin: netservices-plugin.jar
DEBUG [main] [PluginData] etc/plugin.properties => null
DEBUG [main] [PluginData] etc/hq-plugin.xml =>
jar:file:/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/plugins/netservices-plugin.jar!/etc/hq-plugin.xml
INFO  [main] [MeasurementPlugin] Register TCP Socket proxy for domain: socket
INFO  [main] [MeasurementPlugin] Register HTTP proxy for domain: http
INFO  [main] [MeasurementPlugin] Register HTTP proxy for domain: url.availability
INFO  [main] [MeasurementPlugin] Register FTP proxy for domain: ftp
INFO  [main] [ProductPluginManager] Loading plugin: sqlquery-plugin.jar
DEBUG [main] [PluginData] etc/plugin.properties =>
jar:file:/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/plugins/sqlquery-plugin.jar!/etc/plugin.properties
DEBUG [main] [PluginData] etc/hq-plugin.xml =>
jar:file:/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/plugins/sqlquery-plugin.jar!/etc/hq-plugin.xml
DEBUG [main] [PluginLoader] sqlquery-plugin.jar expanding
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc...
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/db2jcc.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/db2jcc_license_cu.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/ifxjdbc.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/jconn3.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/msbase.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/mssqlserver.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/msutil.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/mysql-connector-java-5.0.5-bin.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/oracle12.jar
DEBUG [main] [PluginLoader] sqlquery-plugin.jar +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/lib/jdbc/postgresql-7.4.3.jar
INFO  [main] [SQLQueryMeasurementPlugin] Registered proxy for domain: sql
INFO  [main] [ProductPluginManager] Loading plugin: myciscoENVsnmp-plugin.xml
DEBUG [main] [PluginLoader] myciscoENVsnmp-plugin.xml +=
/opt/hyperic/hq/agent-4.1.1/bundles/agent-4.1.1-1045/pdk/plugins/netdevice-plugin.jar
DEBUG [main] [MIBTree] CISCO-ENVMON-MIB added 44 entries
DEBUG [main] [MIBTree] Loading MIB: '/usr/share/snmp/mibs/CISCO-ENVMON-MIB.txt': success
DEBUG [main] [MIBTree] CISCO-SMI added 53 entries
DEBUG [main] [MIBTree] Loading MIB: '/usr/share/snmp/mibs/CISCO-SMI.txt': success
DEBUG [main] [MIBTree] SNMPv2-SMI.org already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI.dod already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI.internet already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI.directory already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI.mgmt already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI.mib-2 already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI.transmission already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI.experimental already added by SNMPv2-SMI
DEBUG [main] [MIBTree] SNMPv2-SMI added 1 entries
DEBUG [main] [MIBTree] Loading MIB: '/usr/share/snmp/mibs/SNMPv2-SMI.txt': success
DEBUG [main] [PluginDiscoverer] Set platform.type=CICSOswitch
DEBUG [main] [PluginDiscoverer] Adding Auto Scanners=[ServerSignature {stName=CICSOswitch Server, match=[null],
exclude=[null], regMatch=[null]}]
DEBUG [Thread-0] [Scanner] Running discovery for another platform: CICSOswitch=146.139.115.190/146.139.115.190
DEBUG [Thread-0] [NetworkDevicePlatformDetector] Using approved snmp config={snmpCommunity=xxxxxx,
platform.ip=146.139.115.190, platform.name=146.139.115.190, platform.fqdn=146.139.115.190, snmpIp=146.139.115.190,
snmpVersion=v2c, platform.type=CICSOswitch}
DEBUG [Thread-0] [MIBTree] SNMPv2-MIB.sysName has no index, appending .0
DEBUG [Thread-0] [MIBTree] sysName resolved to: 1.3.6.1.2.1.1.5.0
DEBUG [Thread-0] [MIBTree] SNMPv2-MIB.sysContact has no index, appending .0
DEBUG [Thread-0] [MIBTree] sysContact resolved to: 1.3.6.1.2.1.1.4.0
DEBUG [Thread-0] [MIBTree] SNMPv2-MIB.sysLocation has no index, appending .0
DEBUG [Thread-0] [MIBTree] sysLocation resolved to: 1.3.6.1.2.1.1.6.0
DEBUG [Thread-0] [MIBTree] SNMPv2-MIB.sysDescr has no index, appending .0
DEBUG [Thread-0] [MIBTree] sysDescr resolved to: 1.3.6.1.2.1.1.1.0
DEBUG [Thread-0] [AutoScan] Running AutoServerDetector for: CICSOswitch Server
DEBUG [Thread-0] [NetworkDeviceDetector] Testing snmp config={snmpCommunity=xxxxxx, platform.ip=146.139.115.190,
platform.name=146.139.115.190, platform.fqdn=146.139.115.190, snmpIp=146.139.115.190, snmpVersion=v2c,
platform.type=CICSOswitch}
DEBUG [Thread-0] [NetworkDeviceDetector] snmp config valid, creating server
DEBUG [Thread-0] [NetworkDeviceDetector] PlatformServiceDetector created server=146.139.115.190 CICSOswitch
1 servers detected
DEBUG [main] [Scanner] Running discovery for another platform: CICSOswitch=146.139.115.190/146.139.115.190
DEBUG [main] [NetworkDevicePlatformDetector] Using approved snmp config={snmpCommunity=xxxxxx,
platform.ip=146.139.115.190, platform.name=146.139.115.190, platform.fqdn=146.139.115.190, snmpIp=146.139.115.190,
snmpVersion=v2c, platform.type=CICSOswitch}

Server: 146.139.115.190 146.139.115.190 [/]
AIID.....146.139.115.190 CICSOswitch
  config...
   product..{}
    metric...{}
     control..null
     DEBUG [main] [PluginDiscoverer] Runtime discover for 146.139.115.190 146.139.115.190, config={log=debug,
     snmpCommunity=xxxxxx, platform.name=146.139.115.190, plugins.include=myciscoENVsnmp, platform.ip=146.139.115.190,
     jmx.password=xxxxxx, snmpIp=146.139.115.190, platform.fqdn=146.139.115.190, installpath=/, snmpVersion=v2c}
     DEBUG [main] [NetworkDeviceDetector] Using snmp config={log=debug, snmpCommunity=xxxxxx,
     platform.name=146.139.115.190, plugins.include=myciscoENVsnmp, platform.ip=146.139.115.190, jmx.password=xxxxxx,
     snmpIp=146.139.115.190, platform.fqdn=146.139.115.190, platform.type=CICSOswitch, installpath=/, snmpVersion=v2c}
     DEBUG [main] [ProductPluginManager] No MeasurementPlugin found for: CICSOswitch Interface
     DEBUG [main] [NetworkDeviceDetector] Skipping discovery of CICSOswitch Interface
     DEBUG [main] [MIBTree] ciscoEnvMonSupplyStatusTable resolved to: 1.3.6.1.4.1.9.9.13.1.5
     DEBUG [main] [SNMPSession] 1.3.6.1.4.1.9.9.13.1.5 walk: 1 requests, 6 vars, avg=6
     DEBUG [main] [SNMPSessionCache] getColumn(ciscoEnvMonSupplyStatusTable) took: 0.08
     DEBUG [main] [SNMPDetector] Found 6 CICSOswitch Power Supply status services using ciscoEnvMonSupplyStatusTable
     DEBUG [main] [NetworkDeviceDetector] discovered 6 services

     Runtime Resource Report...
     Platform=CICSOswitch, fqdn=146.139.115.190 (Cisco IOS Software, s72033_rp Software (s72033_rp-IPSERVICESK9_WAN-M),
     Version 12.2(33)SXH3, RELEASE SOFTWARE (fc1)
     Technical Support: http://www.cisco.com/techsupport
     Copyright (c) 1986-2008 by Cisco Systems, Inc.
     Compiled Thu 24-Jul-08 20:52 by prod_)
     config...
     product..null
     metric...null
     control..null
     cprops...{sysName=308CORE2, sysLocation=, Version=12.2(33)SXH3, sysContact=}
       146.139.115.190 146.139.115.190 services:
   Power Supply FOO Power Supply 1%2C WS-CAC-6000W
      config...
      product..{snmpIndexValue=Power Supply 1, WS-CAC-6000W}
      metric...{}
      control..null
      rt.......null
      Power Supply FOO Power Supply 2%2C empty
      config...
      product..{snmpIndexValue=Power Supply 2, empty}
      metric...{}
      control..null
      rt.......null
      Power Supply FOO 1
      config...
      product..{snmpIndexValue=1}
      metric...{}
      control..null
      rt.......null
      Power Supply FOO 5
      config...
      product..{snmpIndexValue=5}
      metric...{}
      control..null
      rt.......null
      Power Supply FOO 2
      config..
      product..{snmpIndexValue=2}
      metric...{}
      control..null
      rt.......null
      !!!ERROR!!! duplicate service name=Power Supply FOO 1
      Power Supply FOO 1
     config...
      product..{snmpIndexValue=1}
      metric...{}
      control..null
      rt.......null

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>