2 Replies Latest reply on Jan 25, 2007 10:08 AM by Prashant n

    check_jbossjmx (jboss plugin for nagios)  +  line 41: [: 43:

    Prashant n Newbie

      hi,

      I am planning to use nagios to monitor jboss 4.0.3sp1 and downloaded the check_jbossjmx from the jboss-wiki. however running the jboss plugin for nagios as the user nagios returns

      ./check_jbossjmx: line 41: [: 43: unary operator expected
      ./check_jbossjmx: line 45: [: 43: unary operator expected
      JMX ATTRIBUTE OK - jboss.jca:name=OracleDAODS,service=ManagedConnectionPool-InUseConnectionCount:43


      the command is :
      ./check_jbossjmx seakeylive.com 4 "jboss.jca:name=OracleDAODS,service=ManagedConnectionPool" InUseConnectionCount


      Please guid me how to get this resolved ...

      regards
      Prashant