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

Any way to 'kickstart' admin's actions in HQ console - like config import?

$
0
0
Hello Experts!

Context: disaster recovery or configuring a backup server

Does HQ provide any mechanism to import administrator actions/configurations previously entered into an HQ user interface by admin? Does HQ store a config file like that somewhere, or keep a log in the DB of admin's actions? If so, can they be imported?

I'm thinking of settings like indicator groups, user lists and e-mails, monitoring defaults, etc. - things that are typically set up from the HQ user interface.

Thanks!!

Implementing Critical Business process check with Hyperic

$
0
0
Hi,

We have to monitor two kind of site :
- Flex based sites
- Ajax based site

Is there an out of the box feature in Hyperic which would enable me to run critical navigation scenario validation on my site? here's an example for a customer service application in Ajax :

- Support agent logs in
- He searches for a product
- He selects a product
- He adds product to cart on behalf of the internet user who is calling
Etc...

I qould probably need to do the same on the front end site for an internet user (e.g. validating a checkout scenario). But this time it would be a Flex based application.

I've read old posts from year 2008 which say that triggering Selenium scenarios through the script plugin is an option? Any news since then? Any other idea?

Thanks,
Vina.

Monitor TCP / UDP Socket

$
0
0
Hi everyone,

I have installed Hyperic I OpenSource, I'm looking to monitor a Linux server, which is already connected to the Hyperic agent and sending information, I know how I can monitor certain ports TCP socket applications, I have 3 ports required 4455, 80, 389, Hyperic Is any way of telling me if the port is down or not responding? Or is there some way to monitor your network activity on these sockets? I really am lost with this, I'm new to Hyperic, I searched the forum but the post that I found not resolve my doubts.

Best Regards,

Squintana.

Problem Websphere 7.0 with HQ 4.4.0 SOAP Connection Fails.

$
0
0
HI , I am facing the below error while saving the configuration details for websphere 7.0 .


2011-02-28 18:07:59,646 INFO  [Thread-3] [RuntimeAutodiscoverer] Running runtime autodiscovery for WebSphere 7.0
2011-02-28 18:07:59,943 ERROR [Thread-3] [RuntimeAutodiscoverer] Unexpected error running autodiscoverer for plugin: WebSphere 7.0: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
org.hyperic.hq.product.PluginException: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
     at org.hyperic.hq.plugin.websphere.jmx.WebsphereRuntimeDiscoverer.discoverServices(WebsphereRuntimeDiscoverer.java:157)
     at org.hyperic.hq.plugin.websphere.WebsphereDetector.discoverServices(WebsphereDetector.java:89)
     at org.hyperic.hq.product.ServerDetector.discoverResources(ServerDetector.java:226)
     at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan_internal(RuntimeAutodiscoverer.java:272)
     at org.hyperic.hq.autoinventory.agent.server.RuntimeAutodiscoverer.doRuntimeScan(RuntimeAutodiscoverer.java:205)
     at org.hyperic.hq.autoinventory.ScanManager.mainRunLoop(ScanManager.java:165)
     at org.hyperic.hq.autoinventory.ScanManager.access$000(ScanManager.java:41)
     at org.hyperic.hq.autoinventory.ScanManager$1.run(ScanManager.java:107)
Caused by:
org.hyperic.hq.product.MetricUnreachableException: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
     at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:143)
     at org.hyperic.hq.plugin.websphere.jmx.WebsphereRuntimeDiscoverer.discoverServices(WebsphereRuntimeDiscoverer.java:136)
     ... 7 more
Caused by:
com.ibm.websphere.management.exception.ConnectorException: ADMC0016E: The system cannot create a SOAP connector to connect to host B2MD12964.mindtree.com at port 8880.
     at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:529)
     at org.hyperic.hq.plugin.websphere.WebsphereUtil.getMBeanServer(WebsphereUtil.java:132)
     ... 8 more
Caused by:
java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:45)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
     at java.lang.reflect.Constructor.newInstance(Constructor.java:515)
     at com.ibm.websphere.management.AdminClientFactory.createAdminClient(AdminClientFactory.java:358)
     ... 9 more
Caused by:
com.ibm.websphere.management.exception.ConnectorNotAvailableException: [SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.); targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.)]
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:377)
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient.<init>(SOAPConnectorClient.java:197)
     ... 14 more
Caused by:
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.); targetException=java.lang.IllegalArgumentException: Error opening socket: java.net.SocketException: java.io.FileNotFoundException: C:\Program%20Files\IBM\SDP\runtimes\base_v7\plugins\com.ibm.ws.security.crypto.jar (The system cannot find the path specified.)]
     at org.apache.soap.transport.http.SOAPHTTPConnection.send(Unknown Source)
     at org.apache.soap.rpc.Call.invoke(Unknown Source)
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient$4.run(SOAPConnectorClient.java:349)
     at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
     at com.ibm.ws.management.connector.soap.SOAPConnectorClient.reconnect(SOAPConnectorClient.java:334)
     ... 15 m



agent.properties: Values specified in this file are mentioned below.

agent.setup.camIP=10.80.131.163
agent.setup.camPort=7080
agent.setup.camSSLPort=7443
agent.setup.camSecure=yes
agent.setup.camLogin=hqadmin
agent.setup.camPword=hqadmin
agent.setup.agentIP=10.80.131.164
agent.setup.agentPort=2144
agent.setup.resetupTokens=no


# required to find websphere jars
#websphere.installpath=/opt/WebSphere/AppServer
websphere.installpath=/C:/Program Files/IBM/SDP/runtimes/base_v7



can someone please let me know what should be done to resolve this issue

NOTE:-I have checked serverindex.xml file for port and host name  they are correct.

Thanks ans Regards,
Shalani

JMX Plugin for SUN 1.5

$
0
0
Hi,
We are using JMX Plugin for SUN 1.5 to monitor our application jmx's, we created an xml plugin for it ( this is a spring application and we are using spring to publish our jmx's )

the thing is that hyperic, overtime, opens hundreds of jmx connection and never closes them.. after few hours our tomcat server is using 100% cpu without doing anything.
once i stop hyperic agent, tomcat will go back to 0-1% cpu..

is there any thing that we can do to fix this?

thanks

Websphere 7 -- Keys issue -- SEVERE: ssl.keystore.load.error.CWPKI0033E

$
0
0
Hi,

I am having the following issue with  the websphere-plugin:

SEVERE: ssl.keystore.load.error.CWPKI0033E

I have already done:

set HQ_JAVA_HOME="D:\IBM\WebSphere\AppServerV61\java"

Setup the default path for the AppsServer
i.e.
/opt/WebSphere/AppServer

Also is the soap and ssl files are readable and the configurations seems fine, but they keys are .p12 and I wonder if that is the problem as the plugin is reporting an ssl error like:

SEVERE: ssl.keystore.load.error.CWPKI0033E

Also I read 2 posts where it is advise to rewrite a piece of code to hard code the paths to the keys.
But, I wonder if there is any other alternative/solution/something else possible to do in this case?

many thanks

failed for plugin: netservices

$
0
0
Hi,

I am trying to configure the hq inventory plugin and getting this error in command line:

java -jar /usr/share/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/lib/hq-pdk-4.5.1.jar -Dplugins.include=hq-inventory -DjdbcDriver=org.mysql.Driver -DjdbcUrl=jdbc:mysql://dbteamlog.co.wake.nc.us:3306/hqdb -DjdbcUser=hqadmin .DjdbcPassword=hqadmin -t "HQ Inventory"
ERROR [main] [ClientPluginDeployer] mkdir(/usr/share/hyperic/agent-4.5.1/bundles/agent-4.5.1/pdk/work/lib/netservices) failed for plugin: netservices
HQ Inventory Availability:
sql:SELECT COUNT(*) FROM EAM_CONFIG_PROPS WHERE 1%3D1:Availability:jdbcDriver=org.mysql.Driver,jdbcUrl=jdbc%3Amysql%3A//dbteamlog.co.wake.nc.us%3A3306/hqdb,jdbcUser=hqadmin,jdbcPassword=
=>0.0%<=
HQ Inventory Number of Platforms:
sql:SELECT COUNT(*) FROM EAM_PLATFORM:Number of Platforms:jdbcDriver=org.mysql.Driver,jdbcUrl=jdbc%3Amysql%3A//dbteamlog.co.wake.nc.us%3A3306/hqdb,jdbcUser=hqadmin,jdbcPassword=
getValue failed for metric: HQ Inventory:sql:SELECT COUNT(*) FROM EAM_PLATFORM:Number of Platforms:jdbcDriver=org.mysql.Driver,jdbcUrl=jdbc%3Amysql%3A//dbteamlog.co.wake.nc.us%3A3306/hqdb,jdbcUser=hqadmin,jdbcPassword=%jdbcPassword%
MetricNotFoundException: Query failed for Number of Platforms, while attempting to issue query SELECT COUNT(*) FROM EAM_PLATFORM:Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
hit enter to continue

Any ideas?

Arati

Bug - Hyperic does not support 3 dots in email.

$
0
0
Hi There,

I am using Hyperic open source and have encountered a bug.

When configuring an alert, if you select to notify other (non-hyperic) users, then you are asked to input their email addresses into a text box.
However, the text box does not allow for email addresses to contain more than 3 period characters "." in the domain section of the address. E.g a@b.c.d.e
It does support this if the email address is assigned to a user account however.

Thanks
Anthony

Monitor simple linux LOG as Error Yet I retreive INFO? HELP

$
0
0
I have an agent running on a zimbra host for which ive imported into the inventory. Everything is running great except for some reason I am getting a TON of log noise when I am only monitoring for errors and only one log file.

platform.log_track.files
/opt/zimbra/log/audit.log

platform.log_track.level
ERROR

Am I missing something here I have a DOT for log entry showing up on every index. Here is a sample..


* [05/25/2011 04:52 PM] Log Message (/opt/zimbra/log/audit.log): /opt/zimbra/log/audit.log: 2011-05-25 16:51:29,772 INFO [Pop3SSLServer-6799] [ip=10.10.10.10;] security - cmd=Auth; account=info@mydomain.com; protocol=pop3;
* [05/25/2011 04:54 PM] Log Message (/opt/zimbra/log/audit.log): /opt/zimbra/log/audit.log: 2011-05-25 16:53:31,862 INFO [Pop3SSLServer-6800] [ip=66.66.66.66;] security - cmd=Auth; account=request@mydomain.com; protocol=pop3;


I have error selected why is above showing INFO type entries?

Get Display Resolution

$
0
0
Hopefully a simple/basic question, but I couldn't find an answer...

How do I get the screen resolution using sigar? I'm assuming you use the "get" command, but I'm not sure what key to use. Is there a listing or easy way to find what keys you can use?

Using Sigar to find information of a system in the network

$
0
0
Hi All,

I'm new to Sigar. I want to know whether we can get information of systems in the
network by providing ip or private key. Also can we get non-public information of
those systems by providing username and password using Sigar???

Basically i want to retrieve following information of a system in a network:
Computer name, os version, device SerialNumber, os SerialNumber, lastLogin,
lastReboot, anti virus,  network connections info of that system (name, ip,
gateway, network mask, dns server, dhcp server, mac address for each
connection), and softwares information (name, version, product key for each
software)

How can i do this? Any preferred ways? Please guide me.

Thanks in advance.

Regards,
Pop.

Java APIs

$
0
0
hey....
actually i wanted to monitor and store resource utilization metrics for certain application in some database...i am planning to use it through java APIs...can anyone guide how should i procced......it ll be a great help

Footprint of CPU usage, Memory usage and Network traffic of HQ Agent 4.5

$
0
0
Hi All,

Could you please guide me, what is the exact footprint of CPU usage, Memory usage and Network traffic of HQ Agent 4.5 after its installation.

Metric gathering at specified hour

$
0
0
Hi.

Is it possible to set hour at which metric gathering should start. I have a situation in which I need to gather metric every 24 hours, but I want it to be gathered around 2PM. The solution I thought would work was to set desired interval (24h) at desired hour (2PM), forcing the change of last modification time. This way it was supposed to work like last modification time + interval * counter but this was not the case. My metrics are totally unexpectedly gathered at exactly 2AM. Is there any way to change it?

Thanks

Unable to monitor IIS 7 Availability

$
0
0
Hi

I am new to hyperic and trying to configure iis 7 monitoring and availablity. Agent auto discovered IIS 7 with error message "The problem is: Invalid configuration: Error retrieving value: \Web Service(_Total)\Hyperic HQ Plugin - IIS Plugin" and informs to fix this from configuration porperties. (Screeshot Attached)

Hyperic information:
Server : vFabric Hyperic 4.6V
Agent: 4.6V

I am unable to find, how to fix this. Can anyone help me out.

Thanks in advance.

disk performance information

$
0
0
how can I get the disk performance using sigar, i know that iostat returns the disk usage, but i need the information related to speed to write and read in disk.

the native iostat on unix returns this data, but, i'm developing an application based on java where one of the purpouses is be muilt-plataform, and sigar has worked perfectly until now.

My major concern is the Windows, so someone know how to get this information under Sigar or even under Windows?

[Solved] New Auto-Discovery for SNMP devices results in error

$
0
0
I have used Hyperic HQ 4.5.1 for a while and when 4.6 came around I decided to setup a new server from scratch, one of the issues I came across was the error below when trying to run a New Auto-Discovery on an SNMP Network Device using either v1 or v2c. This error was fixed by entering values in the snmpTimeout snmpRetries fields in the Configuration Properties of the Network Device I was trying to discover, without these fields completed I was getting the base metrics but it would not Auto-Discover any information about the device such as the description and the interfaces.

While this is not so much a bug I just thought I would share this in case anyone else comes across this problem, although these fields should either have a default value or be required.

2011-12-12 13:09:23,874 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(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        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)
2011-12-12 13:09:23,876 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(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        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

No listen on ipv4 address

$
0
0
Hi all !,
I installed hyperic v4.6(64) without errors on Centos 6 (64), but, when i start the program with "hq-server.sh start" the admin port "7080 - 7443" just listen on ipv6 loopback, I'm looking for some error into log's files, but say that daemon has been loaded ok. What am I doing bad?


here a netstat output


[hyperic@centos bin]$ netstat -lvptn
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name  
tcp             0          0 0.0.0.0:22                     0.0.0.0:*                         LISTEN      -                  
tcp             0          0 127.0.0.1:631                0.0.0.0:*                         LISTEN      -                  
tcp             0          0 127.0.0.1:9432              0.0.0.0:*                         LISTEN      1587/postgres      
tcp             0          0 127.0.0.1:25                  0.0.0.0:*                        LISTEN      -                  
tcp             0          0 127.0.0.1:32000             0.0.0.0:*                        LISTEN      1559/java          
tcp             0          0 0.0.0.0:111                    0.0.0.0:*                         LISTEN      -                  
tcp             0          0 0.0.0.0:52881                0.0.0.0:*                         LISTEN      -                  
tcp             0          0 :::22                             :::*                                 LISTEN      -                  
tcp             0          0 ::1:631                         :::*                                  LISTEN      -                  
tcp             0          0 ::1:9432                        :::*                                 LISTEN      1587/postgres      
tcp             0          0 ::1:25                           :::*                                 LISTEN      -                  
tcp             0          0 :::46105                        :::*                                 LISTEN      -                  
tcp             0          0 :::45850                        :::*                                 LISTEN      1614/java          
tcp             0          0 :::7080                         :::*                                  LISTEN      1614/java          
tcp             0          0 :::111                           :::*                                  LISTEN      -                  
tcp             0          0 :::7443                         :::*                                  LISTEN      1614/java

[Need Help] Error running command: null java.lang.ClassCastException - HQAPI

$
0
0

Hello,

i need your support on the following Error i got from hqapi when i try to do "./hqapi.sh alertdefinition sync". My command is:

 

# cat ad10100.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AlertDefinitionResponse>
     <Status>Success</Status>
     <AlertDefinition mtime="1331204852666" ctime="1331204068642" id="10100" name="Fs [ / ] ok" description="Filesystem sotto la soglia critica" priority="2" enabled="true" active="true" frequency="0" count="0" range="0" willRecover="false" notifyFiltered="false" controlFiltered="false">
         <Resource id="10910" name="rh-client Linux File System /dev/mapper/VolGroup00-LogVol00 mounted on / (local/ext3)"/>
         <AlertCondition required="true" type="1" thresholdValue="50.0" thresholdComparator="&lt;" thresholdMetric="Use Percent"/>
         <AlertAction id="10101" className="org.hyperic.hq.measurement.action.MetricAlertAction"/>
     </AlertDefinition>
</AlertDefinitionResponse>

 

# cat ad10100.xml | sh hqapi.sh alertdefinition sync

Error running command: null
java.lang.ClassCastException
     at java.lang.Class.cast(Class.java:2990)
     at org.hyperic.hq.hqapi1.XmlUtil.deserialize(XmlUtil.java:64)
     at org.hyperic.hq.hqapi1.tools.AlertDefinitionCommand.sync(AlertDefinitionCommand.java:439)
     at org.hyperic.hq.hqapi1.tools.AlertDefinitionCommand.handleCommand(AlertDefinitionCommand.java:152)
     at org.hyperic.hq.hqapi1.tools.Shell.dispatchCommand(Shell.java:245)
     at org.hyperic.hq.hqapi1.tools.Shell.main(Shell.java:260)

 

 

I test the following workaround but without success:

- try using ./hqapi.sh instead sh hqapi.sh

- try using different java bin (mine is /usr/java/default jdk6_u31), i tried /opt/hyperic/server-4.5.3/jre/bin/

- try sh hqapi.sh alertdefinition sync --file=ad10100.xml

- try to modify the XML removing <Status>Success</Status>

 

HQAPI version: hqapi1-client-4.3.0

Hyperic HQ version: 4.5.3-GA

 

I need to sync alertdefinitions based on XML files, please help me around this Error.

Thank you very much.

 

Claudio

vsphere host metrics issue

$
0
0

I have 4 ESXi 5 servers in my vCenter.

I cannot get any metrics except availability for one of them.

On the others, CPU and Memory Usage metrics are not in the 0-100% range as they should.

CPU usage is around 500% for one of them, 3500% for another ...

Please check the attached screen capture.

 

Can I fix it myself, and if so how ?

Thanks for your help.

Viewing all 52618 articles
Browse latest View live


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