[jboss-user] [Management, JMX/JBoss] - Re: problem with twiddle.bat syntax
BiLL_TuEr
do-not-reply at jboss.com
Fri Dec 12 07:32:52 EST 2008
thanks, zaht works. another rpoblem is that i have to call a perl-script like this:
C:\Monitoring>check_jboss.pl -H localhost -T "ServerInfo" -J "jboss.system" -a "
ActiveThreadCount" -w 300: -c 250: -f
but this tells my that data is missing. this is the code fragment where twiddle statement is build:
# prepare command line that will be called and list of attributes hash array
| my $twcall=$twiddle;
| $twcall .= " -s $o_host" if defined($o_host);
| $twcall .= " get " . $o_jmxmbean;
| $twcall .= ":type=" . $o_datatype if $o_datatype;
| $twcall .= ":service=" . $o_servicetype if $o_servicetype;
| for ($i=0;$i<scalar(@o_jmxattrL);$i++) {
| $twcall .= " $o_jmxattrL[$i]";
| $dataresults{$o_jmxattrL[$i]} = ["check", undef];
| }
| for ($i=0;$i<scalar(@o_perfattrL);$i++) {
| $twcall .= " $o_perfattrL[$i]" if !defined($dataresults{$o_perfattrL[$i]});
| $dataresults{$o_perfattrL[$i]} = ["perf", undef];
| }
|
but i dont know what i have to modify that a correct twiddle systax is generated for windows.
any ideas?
BiLL
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196218#4196218
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196218
More information about the jboss-user
mailing list