Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware {code}
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
VMware Explore Las Vegas 2025
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
vCenter
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
how to understand hyperic shell command line format ??
Jump to
Best Answer
hypermike
Mar 30, 2007 11:30 PM
I logged into the hyperic shell and just wanted to check on the commands and their output . Im having ...
admin
Mar 30, 2007 11:51 PM
Hi Mike, This issue was logged and resolved: http://jira.hyperic.com/browse/HHQ-792 Essentially, ...
hypermike
Mar 31, 2007 12:26 AM
I see the refenece BUT the syntax and what I have to plug in is the question . I used the help but ...
admin
Mar 31, 2007 04:52 PM
Best Answer
You will see many commands with similar syntax to alertdef list. You do not replace the '-' keywords ...
hypermike
Apr 02, 2007 08:48 PM
Thank so much an example is worth a thousand words !!
1.
how to understand hyperic shell command line format ??
0
Recommend
hypermike
Posted Mar 30, 2007 11:30 PM
Options Dropdown
I logged into the hyperic shell and just wanted to check on the commands and their
output . Im having trouble understanding the sysntax I do a alert list and get :
alert list
org.hyperic.util.shell.ShellCommandExecException: Error getting alerts
Within undeclared throwable was: java.lang.ClassNotFoundException: org.hibernate
.collection.PersistentBag (no security manager: RMI class loader disabled)
When I use the"alertdef list "command it comes back with :
alertdef list <-group | -platform | -server | -service > <resource> [-enabled | -disabled]
Do I replace -platform with say -linux ? or a particular platforn computer name
what are they referring to with resource ? is the HQ agent a resource ?
what is required and what is not. . Cant seen to get anything to work .
An example for this command is all I need .
2.
RE: how to understand hyperic shell command line format ??
0
Recommend
admin
Posted Mar 30, 2007 11:51 PM
Options Dropdown
Hi Mike,
This issue was logged and resolved:
http://jira.hyperic.com/browse/HHQ-792
Essentially, 'alert list' without any parameters should not be
valid. To get help with any command in the CLI, you can simply type
'help command' or just 'help' for a list of available commands.
Also, here's the link to our CLI documentation:
http://support.hyperic.com/confluence/display/DOCSHQ30/CLI+Reference
Charles
3.
RE: how to understand hyperic shell command line format ??
0
Recommend
hypermike
Posted Mar 31, 2007 12:26 AM
Options Dropdown
I see the refenece BUT the syntax and what I have to plug in is the question . I used the help but it is unclear as my example shows. If you could give me a example of the alertdef list
command and use some of the options I could work from that. Please see my 2nd example
in my original question ..
4.
RE: how to understand hyperic shell command line format ??
Best Answer
0
Recommend
admin
Posted Mar 31, 2007 04:52 PM
Options Dropdown
You will see many commands with similar syntax to alertdef list. You
do not replace the '-' keywords with anything, it's the <resource>
that you would replace. The <resource> can either be the ID of the
resource (if you know it) or the name (use double-quotes if there are
spaces). For example, I can do:
alertdef list -server 10001
or
alertdef list -server "hq.hyperic.com HQ Agent"
Also, as my example illustrates, the HQ Agent is indeed a resource,
it's a server.
Charles
5.
RE: how to understand hyperic shell command line format ??
0
Recommend
hypermike
Posted Apr 02, 2007 08:48 PM
Options Dropdown
Thank so much an example is worth a thousand words !!
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2024. All rights reserved.
Powered by Higher Logic