[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] how to monitoring jboss
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] how to monitoring jboss
- From: "Ralph Mitchell" <ralphmitchell (at) gmail.com>
- Date: Tue, 18 Nov 2008 09:32:05 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=IwbxJ1gDYqv39HcMRdobQy4s/F09h7YElIn1KOuDSzA=; b=QSzMekyN94EJXJGgfS+ItIOl+m+QihGT1lMpqRzepz5BPCKKyoH/U4lJ6o6IM6WoXq AHsejkH5R+nww5bN0qwzXfoXTZg/gTq1Q+V3hCOp4bxOJoZhE0oeeglCEx4oCfw9pvNk bOVV7VP+BakrbtY/cu2S00XOaKoB8syqTLdLQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=jHJpampgCFdMr0jMpjoj3kecyfhWXf4rKOrgm8ZSOa/r1QeRwtY67M/H1JglOtKv3f BdvXu4UVMJqlPLenRb3+7HkoNo5SZlWqt/gdpo3eWcM3wWN1xQGLn509k7rR7GohP8Pu YoKBHe5mOHDYZ5wqcA/9SxXoQM+cF7YfaWncM=
- References: <fcae99e70811180117s21111a22vea8ea8956ec1e399 (at) mail.gmail.com> <997a524e0811180657w79b08fc2nf5f8aad5bc6cd9ad (at) mail.gmail.com> <fcae99e70811180717oac63794jc6ab458ed79db368 (at) mail.gmail.com>
Well, I don't have a jboss I can experiment with, but the script from that
link looks easy enough to modify. At the end, where it does
echo "JMX ATTRIBUTE......"
you should be able to replace that with something like:
$BB $BBDISP "status $MACHINE.jboss green `date`"
where "green" would be "red" or "yellow" for the CRITICAL and WARNING
statuses. The script would be launched by Hobbit on the jboss machine.
Ralph Mitchell
On Tue, Nov 18, 2008 at 9:17 AM, Carlo Alberto Bedogni
<cabedogni (at) gmail.com>wrote:
> Thanks a lot for your reply. but i looking for something more accurate like
> the jboss plugin for nagios (
> http://www.jboss.org/community/docs/DOC-10676 ) i don't know if is
> possibile find someting similar for hobbit , or maybe convert the nagios
> plugin for hobbit .....
>
> thanks
>
> On Tue, Nov 18, 2008 at 3:57 PM, Ralph Mitchell <ralphmitchell (at) gmail.com>wrote:
>
>> If jboss is just handing out some kind of web page, you could do something
>> like this in your server/etc/bb-hosts:
>>
>> a.b.c.d myboss.server.com # http://myjboss.server.com/
>>
>> or whatever would be an appropriate url for it. That'll let you know jbos
>> is up and responding. I'm doing something like this already. I don't have
>> either access or permission (company policy - thou shalt use CA Unicenter
>> for everything) to run anything on the servers themselves, but I imagine
>> Unicenter is checking that the processes are running and maybe checking log
>> files too.
>>
>> Ralph Mitchell
>>
>>
>>
>> On Tue, Nov 18, 2008 at 3:17 AM, Carlo Alberto Bedogni <
>> cabedogni (at) gmail.com> wrote:
>>
>>> Hi all i'm running hobbit 4.2 and i need to monitoring jboss , both , the
>>> hobbit and the jboss server are running on a centos box.
>>> I have take a look at deadcat.net.au but i can't find nothing about
>>> jboss. any idea?
>>>
>>> thanks in advatage
>>> Carlo
>>>
>>
>>
>