[Xymon] jboss monitorin
Andy Smith
abs at shadymint.com
Thu Sep 13 23:19:15 CEST 2012
Hi,
Thanks for the feedback, good to hear you like it.
Regarding your questions, Memory is reported by JMX in bytes and this is
converted in the tcl code to kbytes to avoid overflows in the integer
arithmetic.
There is no Uptime bean, it is an attribute of the Runtime bean, I
called it 'fake' because I wanted to treat it specially. Are you saying
something fails for some JVM? Have they been running for a very long
time, maybe uptime is overflowing? Let me know the Java version and the
JBoss version I'll have a look if I can replicate it here.
If you need to specify the JVM for xymon then it sounds like the script
is still trying to run bbhostgrep instead of xymongrep, anything in the
logs?. There is a different shell wrapper for hobbit and xymon in the
latest kit, and you need 0.1.3 of the tcl script. Have a look at the
tcl script starting at line 5961 for how I envisaged this would work,
the key is finding XYMONHOME in the environment instead of BBHOME. Let
me know if you solve this please.
set XYMONCOMMS "xymon"
set XYMONSEARCH "xymongrep"
# inherit this from the environment or startup profile if its there
if { [info exists ::env(XYMONHOME) ] } {
set XYMONHOME $::env(XYMONHOME)
} elseif { [info exists ::env(BBHOME) ] } {
set XYMONHOME $::env(BBHOME)
set XYMONCOMMS "bb"
set XYMONSEARCH "bbhostgrep"
}
--
Andy
Marco Avvisano wrote:
> Hi Andy,
>
> i start to use your tool for jboss (version 4 and 5), great tool
>
> Only some questions. .. for bean java.lang:type=Memory , the values are
> in Kb or Mb ?
> There is a way to disable Uptime check ?
> I don't know but for some JVM, on the same machine, this check give me :
> DBG: connected!
> DBG: Processing Uptime for column Uptime
> DBG: Fetching attributes for fake uptime
>
> If i remove the bean from 'datacollection' it make always the check ..
>
> This tool work fine on hobbit client, but on xymon a need to lunch it
> specifying the Jvm (option -J )
>
> thanks,
>
> Marco
>
>
> Il 12/09/2012 21.00, Andy Smith ha scritto:
>> Hi,
>>
>> Hmm... I had overlooked the fact that the cloud storage I was using
>> is no longer available (since just 2 weeks ago actually), apologies. I
>> have updated Xymonton with a new download location
>> (http://dl.dropbox.com/u/92999992/jmxstat_kit.zip). In the meantime,
>> we are using jmxstat to monitor lots of JBoss at the place I work,
>> code is stable, last update 2011-11-11 support for Xymon 4.3, if you
>> want any more info or any screenshots of what you could potentially
>> get out of it, let me know, I wont pollute this list with this stuff
>> because it is only interesting to specific projects.
>
More information about the Xymon
mailing list