Hi Friends,

I am using the check_jbossjmx nagios plugin to check jboss running on to of my 
servers. However, when I execute it from the host server it is giving me the 
correct output but when I try to execute the same command on command prompt of 
the monitoring nagios server it is giving me a wrong output.

Command run on the Jboss server

Server 1

Command

# ./check_jbossjmx1 APP02.jjmum.medd.gov.in 3 
"jboss.jca:name=DefaultDS,service=ManagedConnectionPool" InUseConnectionCount 
20 50

Output received is

JMX ATTRIBUTE OK - 
jboss.jca:name=DefaultDS,service=ManagedConnectionPool-InUseConnectionCount:0

Server 2

Command

# ./check_jbossjmx1 APP01.jjmum.medd.gov.in 3 
"jboss.jca:name=DefaultDS,service=ManagedConnectionPool" InUseConnectionCount 
20 50

Output received

JMX ATTRIBUTE OK - 
jboss.jca:name=DefaultDS,service=ManagedConnectionPool-InUseConnectionCount:0

Command run from the monitoring server

for server 1:

# ./check_nrpe -H APP01.jjmum.medd.gov.in -c check_jbossjmx1 -a 3 
"jboss.jca:name=DefaultDS,service=ManagedConnectionPool" InUseConnectionCount 
20 50

Output received is:

JMX ATTRIBUTE CRITICAL - 
jboss.jca:name=DefaultDS,service=ManagedConnectionPool-InUseConnectionCount:

for server 2

# ./check_nrpe -H APP02.jjmum.medd.gov.in -c check_jbossjmx1 -a 3 
"jboss.jca:name=DefaultDS,service=ManagedConnectionPool" InUseConnectionCount 
20 50

Output received is:

Unrecognized JBoss Version: InUseConnectionCount

Can any one check why is this error and two different outputs for the same 
command and help me in resolving this issue.
Thanks in advance

Regards
Santosh Balan
9819419509

=


-- 
Powered by Outblaze

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to