9 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
Hello Everybody,
I have recently setup a Jboss-4.2.3 server in a RHEL machine.I copied the "/etc/init.d/jboss" script from another Jboss server and added the same to chkconfig.
When i run - "service jboss start" - the Jboss server starts fine.
However when i run - "service jboss stop" - it... (1 Reply)
Discussion started by: Hari_Ganesh
1 Replies
2. Red Hat
I am writing SSH (actually Python via SSH) commandline to get jboss PID from a remote machine (Redhat), how can I do it?
I usually have the patten like:
run('some_linux_command')
What should be 'some_linux_comand' be here?
I also tried a shell script (I found in internet) local on... (3 Replies)
Discussion started by: pbsdis
3 Replies
3. Linux
Hi,
first, thanks for let me participate in this great forum, iŽam new here,
IŽam begin in websphere, you know where i can download manual of websphere ? level of administration no Developer.
I need know how to deploy a war, start a war, stop war, the basic..!
thank you and regards..! (2 Replies)
Discussion started by: jtorres
2 Replies
4. AIX
Hi,
anybody knows how to configure and install jboss on aix.
Regards,
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
5. Solaris
Hi Friends
I need ur suggestions. I have 3+ experience in solaris10. Iam planning for study Web sphere in UNIX. Is this the right choice can i do that. how is the market value for WEBSPHERE.
Waiting for the replys (2 Replies)
Discussion started by: suresh_krish
2 Replies
6. Shell Programming and Scripting
Hi All,
we need to have 2 scripts in place for the following:.
1) One which will verify if archive log sequence in Production is getting replicated in DR or not. If there is difference, we should receive an email.
2)If there are any errors in DR site like in alert log, mail should be sent to... (1 Reply)
Discussion started by: a1_win
1 Replies
7. AIX
Hello
I have to install websphere application server on one aix 5.3 box,
I know that I have to export display on my box for to bring the wizzard of websphere installation.
My question is what I need before export the display variable.
I miss one step before this one above.
its... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies
8. UNIX and Linux Applications
Currently my hobbit-clients.cfg ( on the hobbit monitoring server )is configured in the following way :
HOST=%db*.com
UP 14h
LOAD 7.0 11.0
DISK * 95 98
PORT LOCAL=%443$ STATE=LISTEN "TEXT=SSL"
DEFAULT
# These are the built-in defaults.
UP 14h
LOAD 7.0 11.0
DISK * 95 97
MEMPHYS 100... (0 Replies)
Discussion started by: jacki
0 Replies
9. HP-UX
Hi ! I wish extract one information(error code) from the machine which is running on the HP-UX platform. Can anyone help me?
Wanted to write a scripts that monitor real time at the error code and transfer the information out from the machine. The information is then process and SMS out to the... (9 Replies)
Discussion started by: JOHNSON
9 Replies
Hobbit(3pm) User Contributed Perl Documentation Hobbit(3pm)
NAME
Hobbit.pm -- Perl module to easily write Hobbit/Xymon tests
SYNOPSIS
use Hobbit;
my $bb = new Hobbit('testname');
if (somethings_is_not_so_good) {
$bb->color_line('yellow', 'Something is not so good');
}
if (somethings_is_really_bad) {
$bb->color_line('red', 'Something is really bad');
}
$bb->send();
DESCRIPTION
Hobbit.pm is part of the Debian package hobbit-plugins and was written to gather common tasks needed when writing tests for the Xymon
monitoring system (formerly known as Hobbit).
EXPORTABLE HELPER FUNCTIONS
@regexps = file_to_list_of_regexps($file)
@globs = file_to_list_of_globs($file)
INTERNAL FUNCTIONS
$max_color = max_color($color1, $color)
Out of two colors, returns the color with the highest severity.
METHODS
Constructor: new Hobbit('testname');
Constructor: new Hobbit({ test => 'testname', ttl => 60, ...});
Creates a new Hobbit object.
Common use cases
my $bb = new Hobbit('sometest');
my $bb = new Hobbit({ test => 'testname',
color => 'green',
hostname => 'host.example.com',
text => 'Test successful',
title => 'Some Test',
ttl => 60,
type => 'status',
dont_moan => 1 });
Available parameters
color
The initial color of the test. (Default: "clear")
dont_moan
Disable moan() and croak() (see below). Needed if e.g. another used Perl module throws a lot of warnings but works fine otherwise, etc.
hostname
The hostname for which the test should report. (Default: $ENV{CLIENTHOSTNAME} || $ENV{MACHINEDOTS} || $ENV{MACHINE} || 'unknown')
test
The name of the test, i.e. the name of the column on the hobbit status web pages. (Mandatory)
text
Text which is prepended to generated report. (Default: the empty string)
title
The summary of the test. (Default: "$test OK" respectively "$test NOT ok")
ttl
How long the test result is valid before the test state is changed to purple by the hobbit daemon if no newer test results have been
received.
The default value is set on the hobbit server and is 300 seconds by default.
Values without unit are interpreted as minutes. Valid units are h for hours, d for days, and w for weeks. No space between value and
unit allowed.
type
Allows one to send messages of other types than "status", e.g. data, notify, disable, enable, etc.
May not yet work with all of these types properly. Please report bugs via the Debian Bug Tracking system.
add_color('somecolor')
Minutes that a sub test caused the given color state. Adjusts the overall resulting color accordingly.
print_line('some text')
Adds the given text to the end of the current report without changing the current color.
color_print('somecolor', 'some text')
Adds the given text to the end of the current report and minutes that a sub test caused the given color state. Adjusts the overall
resulting color accordingly.
color_line('somecolor', 'some text')
Adds the given text to the end of the current report and minutes that a sub test caused the given color state. Prepends that text with an
accordingly colored Hobbit icon and adjusts the overall resulting color accordingly.
send()
Sends the report to the hobbit server.
INTERNAL METHODS
moan()
If the check issues a Perl warning, this warning is added to the report with color state "yellow".
Set dont_moan to 1 to disable this feature.
croak()
If the check issues a Perl error, this error is added to the report with color state "red".
Set dont_moan to 1 to disable this feature.
AUTHORS AND COPYRIGHT
Copyright (C) 2008-2011 Christoph Berg <myon@debian.org>
Copyright (C) 2011 Axel Beckert <abe@debian.org>
SEE ALSO
<http://www.xymon.org/> bb(5), hobbit(1)
perl v5.14.2 2013-01-09 Hobbit(3pm)