VMware Cloud Community
hypermike
Contributor
Contributor

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

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
0 Kudos
7 Replies
admin
Immortal
Immortal

Hi Mike,

Sorry, I replied to your last post in the other thread. I've had a few things pulling my attention away for a while.

What's happening is it's autodiscovering more than one of the same services. I'm guessing this is because the snmpIndexName isn't the best one to use for this. I'd need to see the MIB or the output of snmpwalk to be able to figure out what you should use.
0 Kudos
hypermike
Contributor
Contributor

Gees thanks , I am really woried about getting this working.. Everybody waiting on me .. Here is the output from the snmp walk of the ciscoEnvMonMIB on the cisco hox im trying to get info from:

ciscoEnvMonPresent.0 = INTEGER: cat6000(7)
ciscoEnvMonTemperatureStatusDescr.40010 = STRING: VTT 1 outlet temperature
ciscoEnvMonTemperatureStatusDescr.40020 = STRING: VTT 2 outlet temperature
ciscoEnvMonTemperatureStatusDescr.40030 = STRING: VTT 3 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60010 = STRING: module 1 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60011 = STRING: module 1 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60012 = STRING: module 1 device-1 temperature
ciscoEnvMonTemperatureStatusDescr.60013 = STRING: module 1 device-2 temperature
ciscoEnvMonTemperatureStatusDescr.60014 = STRING: module 1 aux-1 temperature
ciscoEnvMonTemperatureStatusDescr.60015 = STRING: module 1 aux-2 temperature
ciscoEnvMonTemperatureStatusDescr.60020 = STRING: module 2 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60021 = STRING: module 2 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60040 = STRING: module 4 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60041 = STRING: module 4 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60050 = STRING: module 5 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60051 = STRING: module 5 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60055 = STRING: module 5 asic-3 temperature
ciscoEnvMonTemperatureStatusDescr.60056 = STRING: module 5 asic-4 temperature
ciscoEnvMonTemperatureStatusDescr.60080 = STRING: module 8 outlet temperature
ciscoEnvMonPresent.0 = INTEGER: cat6000(7)
ciscoEnvMonTemperatureStatusDescr.40010 = STRING: VTT 1 outlet temperature
ciscoEnvMonTemperatureStatusDescr.40020 = STRING: VTT 2 outlet temperature
ciscoEnvMonTemperatureStatusDescr.40030 = STRING: VTT 3 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60010 = STRING: module 1 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60011 = STRING: module 1 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60012 = STRING: module 1 device-1 temperature
ciscoEnvMonTemperatureStatusDescr.60013 = STRING: module 1 device-2 temperature
ciscoEnvMonTemperatureStatusDescr.60014 = STRING: module 1 aux-1 temperature
ciscoEnvMonTemperatureStatusDescr.60015 = STRING: module 1 aux-2 temperature
ciscoEnvMonTemperatureStatusDescr.60020 = STRING: module 2 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60021 = STRING: module 2 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60040 = STRING: module 4 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60041 = STRING: module 4 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60050 = STRING: module 5 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60051 = STRING: module 5 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60055 = STRING: module 5 asic-3 temperature
ciscoEnvMonTemperatureStatusDescr.60056 = STRING: module 5 asic-4 temperature
ciscoEnvMonTemperatureStatusDescr.60080 = STRING: module 8 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60081 = STRING: module 8 inlet temperature
ciscoEnvMonTemperatureStatusDescr.90050 = STRING: module 5 EARL outlet temperature
ciscoEnvMonTemperatureStatusDescr.90051 = STRING: module 5 EARL inlet temperature
ciscoEnvMonTemperatureStatusDescr.90080 = STRING: module 8 EARL outlet temperature
0 Kudos
admin
Immortal
Immortal

Mike,

Is the output duplicated or was that a copy and paste error?
0 Kudos
hypermike
Contributor
Contributor

Gosh Im sorry .. Dont know what happened. Yes part is a duplicate. I tried to paste the bottom part and forgot to do another refresh copy .. HERE is a GOOD one.. Again Sorry .

ciscoEnvMonPresent.0 = INTEGER: cat6000(7)
ciscoEnvMonTemperatureStatusDescr.40010 = STRING: VTT 1 outlet temperature
ciscoEnvMonTemperatureStatusDescr.40020 = STRING: VTT 2 outlet temperature
ciscoEnvMonTemperatureStatusDescr.40030 = STRING: VTT 3 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60010 = STRING: module 1 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60011 = STRING: module 1 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60012 = STRING: module 1 device-1 temperature
ciscoEnvMonTemperatureStatusDescr.60013 = STRING: module 1 device-2 temperature
ciscoEnvMonTemperatureStatusDescr.60014 = STRING: module 1 aux-1 temperature
ciscoEnvMonTemperatureStatusDescr.60015 = STRING: module 1 aux-2 temperature
ciscoEnvMonTemperatureStatusDescr.60020 = STRING: module 2 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60021 = STRING: module 2 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60040 = STRING: module 4 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60041 = STRING: module 4 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60050 = STRING: module 5 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60051 = STRING: module 5 inlet temperature
ciscoEnvMonTemperatureStatusDescr.60055 = STRING: module 5 asic-3 temperature
ciscoEnvMonTemperatureStatusDescr.60056 = STRING: module 5 asic-4 temperature
ciscoEnvMonTemperatureStatusDescr.60080 = STRING: module 8 outlet temperature
ciscoEnvMonTemperatureStatusDescr.60081 = STRING: module 8 inlet temperature
ciscoEnvMonTemperatureStatusDescr.90050 = STRING: module 5 EARL outlet temperature
ciscoEnvMonTemperatureStatusDescr.90051 = STRING: module 5 EARL inlet temperature
ciscoEnvMonTemperatureStatusDescr.90080 = STRING: module 8 EARL outlet temperature
ciscoEnvMonTemperatureStatusDescr.90081 = STRING: module 8 EARL inlet temperature
ciscoEnvMonTemperatureStatusDescr.100050 = STRING: module 5 RP outlet temperature
ciscoEnvMonTemperatureStatusDescr.100051 = STRING: module 5 RP inlet temperature
ciscoEnvMonTemperatureStatusValue.40010 = Gauge32: 27 degrees Celsius
ciscoEnvMonTemperatureStatusValue.40020 = Gauge32: 23 degrees Celsius
ciscoEnvMonTemperatureStatusValue.40030 = Gauge32: 29 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60010 = Gauge32: 32 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60011 = Gauge32: 28 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60012 = Gauge32: 26 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60013 = Gauge32: 31 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60014 = Gauge32: 29 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60015 = Gauge32: 31 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60020 = Gauge32: 41 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60021 = Gauge32: 24 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60040 = Gauge32: 24 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60041 = Gauge32: 23 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60050 = Gauge32: 35 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60051 = Gauge32: 22 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60055 = Gauge32: 37 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60056 = Gauge32: 51 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60080 = Gauge32: 36 degrees Celsius
ciscoEnvMonTemperatureStatusValue.60081 = Gauge32: 28 degrees Celsius
ciscoEnvMonTemperatureStatusValue.90050 = Gauge32: 30 degrees Celsius
ciscoEnvMonTemperatureStatusValue.90051 = Gauge32: 24 degrees Celsius
ciscoEnvMonTemperatureStatusValue.90080 = Gauge32: 31 degrees Celsius
ciscoEnvMonTemperatureStatusValue.90081 = Gauge32: 27 degrees Celsius
ciscoEnvMonTemperatureStatusValue.100050 = Gauge32: 29 degrees Celsius
ciscoEnvMonTemperatureStatusValue.100051 = Gauge32: 29 degrees Celsius
ciscoEnvMonTemperatureThreshold.40010 = INTEGER: 115 degrees Celsius
ciscoEnvMonTemperatureThreshold.40020 = INTEGER: 115 degrees Celsius
ciscoEnvMonTemperatureThreshold.40030 = INTEGER: 115 degrees Celsius
ciscoEnvMonTemperatureThreshold.60010 = INTEGER: 85 degrees Celsius
ciscoEnvMonTemperatureThreshold.60011 = INTEGER: 70 degrees Celsius
ciscoEnvMonTemperatureThreshold.60012 = INTEGER: 70 degrees Celsius
ciscoEnvMonTemperatureThreshold.60013 = INTEGER: 75 degrees Celsius
ciscoEnvMonTemperatureThreshold.60014 = INTEGER: 75 degrees Celsius
ciscoEnvMonTemperatureThreshold.60015 = INTEGER: 75 degrees Celsius
ciscoEnvMonTemperatureThreshold.60020 = INTEGER: 90 degrees Celsius
ciscoEnvMonTemperatureThreshold.60021 = INTEGER: 65 degrees Celsius
ciscoEnvMonTemperatureThreshold.60040 = INTEGER: 75 degrees Celsius
ciscoEnvMonTemperatureThreshold.60041 = INTEGER: 65 degrees Celsius
ciscoEnvMonTemperatureThreshold.60050 = INTEGER: 85 degrees Celsius
ciscoEnvMonTemperatureThreshold.60051 = INTEGER: 80 degrees Celsius
ciscoEnvMonTemperatureThreshold.60055 = INTEGER: 110 degrees Celsius
ciscoEnvMonTemperatureThreshold.60056 = INTEGER: 110 degrees Celsius
ciscoEnvMonTemperatureThreshold.60080 = INTEGER: 90 degrees Celsius
ciscoEnvMonTemperatureThreshold.60081 = INTEGER: 70 degrees Celsius
ciscoEnvMonTemperatureThreshold.90050 = INTEGER: 75 degrees Celsius
ciscoEnvMonTemperatureThreshold.90051 = INTEGER: 65 degrees Celsius
ciscoEnvMonTemperatureThreshold.90080 = INTEGER: 80 degrees Celsius
ciscoEnvMonTemperatureThreshold.90081 = INTEGER: 75 degrees Celsius
ciscoEnvMonTemperatureThreshold.100050 = INTEGER: 65 degrees Celsius
ciscoEnvMonTemperatureThreshold.100051 = INTEGER: 65 degrees Celsius
ciscoEnvMonTemperatureState.40010 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.40020 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.40030 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60010 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60011 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60012 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60013 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60014 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60015 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60020 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60021 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60040 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60041 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60050 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60051 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60055 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60056 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60080 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.60081 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.90050 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.90051 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.90080 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.90081 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.100050 = INTEGER: normal(1)
ciscoEnvMonTemperatureState.100051 = INTEGER: normal(1)
ciscoEnvMonFanStatusDescr.1 = STRING: Chassis Fan Tray 1
ciscoEnvMonFanStatusDescr.2 = STRING: Power Supply 1 Fan
ciscoEnvMonFanStatusDescr.3 = STRING: Power Supply 2 Fan
ciscoEnvMonFanState.1 = INTEGER: normal(1)
ciscoEnvMonFanState.2 = INTEGER: normal(1)
ciscoEnvMonFanState.3 = INTEGER: notPresent(5)
ciscoEnvMonSupplyStatusDescr.1 = STRING: Power Supply 1, WS-CAC-6000W
ciscoEnvMonSupplyStatusDescr.2 = STRING: Power Supply 2, empty
ciscoEnvMonSupplyState.1 = INTEGER: normal(1)
ciscoEnvMonSupplyState.2 = INTEGER: notPresent(5)
ciscoEnvMonSupplySource.1 = INTEGER: ac(2)
ciscoEnvMonSupplySource.2 = INTEGER: unknown(1)
ciscoEnvMonAlarmContacts.0 = BITS: 00

ciscoEnvMonEnableShutdownNotification.0 = INTEGER: false(2)
ciscoEnvMonEnableTemperatureNotification.0 = INTEGER: false(2)
ciscoEnvMonEnableFanNotification.0 = INTEGER: false(2)
ciscoEnvMonEnableRedundantSupplyNotification.0 = INTEGER: false(2)
ciscoEnvMonEnableStatChangeNotif.0 = INTEGER: false(2)
0 Kudos
hypermike
Contributor
Contributor

I think my major problem is that I did a snmp walk of a different cisco box when I started and that had a entry for ciscoEncMonSupplyStatusTable. Which I used in this plugin to read a table entry

When I do a snmp walk as I sent you just previously , I see that the listing for the cisco box this plugin is to be used for dont have that in it "ciscoEncMonSupplyStatusTable". I changed a couple of the object names to coorespond to the lastest good snmpwalk output ,but left the <property name="snmpIndexName" value="ciscoEnvMonSupplyStatusTable"/> the same since I didnt know what to put there as I was trying to read data from a table and thats the name I saw in a previous cisco box walk (not this current cisco box Im trying to write this plugin for). I then tried to get hyperic to start the service:

<service name="Power Supply status"> and it asked me for the snmpIndexValue. It told me only 2 options would work for this .

1. Power Supply 1, WS-CAC-6000W
or 2. Power Supply 2, empty

I put in Power Supply 1, WS-CAC-6000W and it looks like hyperic monitoring availabilty of power supply (green) . Its giving me a value of one "1" for the other metrics
Power Supply Output Watts
Power Supply Sensor State

So I know I have problems still with tses other metrics.. It may be that I downloaded the wrong cisco ios mibs for environment .fore this cisco box.. I believe I used the same Mibs as a slightly bigger cisco ios box I configured earlier .

Any help on this would be greatly appreciated.. I f I can get this working I can share it with all the other Hyperic users .

Thanks again


Attached is my current pligin :
0 Kudos
excowboy
Virtuoso
Virtuoso

Mike,

in you last posting is that the complete snmp walk of the device ? I can not see the ciscoEnvMonSupplyStatusTable

Why have you commented out the following line in your plugin ?


Cheers,
Mirko
0 Kudos
hypermike
Contributor
Contributor

Yes it is complete .. I believe its because I had the wrong environment mib for this BOX. I am replacing it with the correct mob version today.. I had used the mib from a previous Cisco box for this one IM witing the plugin for NOT realizing they were different models .

I commented this entry since I had 2 of them.
One of these in last updated xml file is NOt commented . SEE the last email showing the lastest Plugin.
0 Kudos