[Xymon] jboss monitorin

Andy Smith abs at shadymint.com
Mon Sep 17 21:29:36 CEST 2012


Hi,

What happens if you run this from the command line :-

/opt/hobbit/client/bin/xymoncmd /opt/hobbit/client/bin/xymongrep jmxstat

-- 
Andy


Marco Avvisano wrote:
> Hi Andy,
> 
> i try to change the tcl file. This is the output:
> 
> exec /usr/lib/jvm/java-1.6.0-sun-1.6.0.26.x86_64/bin/java 
> -DXYMON=/opt/hobbit/client/bin/xymon -DXYMONHOME=/opt/hobbit/client 
> -DXYMSRV=159.213.32.197 -jar /opt/hobbit/client/ext/jmxsh-R5.jar 
> /opt/hobbit/client/ext/jmxstat.tcl
> some error occurred executing /opt/hobbit/client/bin/xymongrep jmxstat
> jmxstat Usage:  jmxstat [<options>] [<MBeans....>]
>  -b                   Print configured Beans
>  -n                   Dont send results to Xymon
>  -r value             column name for status report <>
>  -I value             Use the configuration file (default 
> $XYMONHOME/etc/$HTAG.ini) <>
>  -J value             Report specified JVM Name(s) <>
>  -x value             Set debug level (0-9) <>
>  -B                   Browse Mode
>  -help                Print this message
>  -?                   Print this message
> 
> 
> I'll try to change my debug level to verify better the problem.
> 
> 
> Under the domain jboss.web (using controlRole user), there is the bean 
> TreadPoll (http and ajp), that have all the attributes
> Example for http:
> 
> 
>  Available Domains:
> 
>        1. jboss.console
>        2. jboss.deployment
>        3. jmx.loading
>        4. jboss.web
>        5. jboss.ws
>        6. jboss.rmi
>        7. user.jboss.deployment
>        8. jboss.security
>        9. engineering
>       10. Catalina
>       11. jboss.jdbc
>       12. jboss.mq
>       13. jboss.remoting
>       14. Sincronizzatore
>       15. jboss.jca
>       16. jboss.bean
>       17. jboss.beans
>       18. com.arjuna.ats.properties
>       19. jboss.admin
>       20. jboss.j2ee
>       21. jboss
>       22. jboss.jms
>       23. jboss.aop
>       24. jboss.jmx
>       25. jboss.web.deployment
>       26. jboss.ejb3
>       27. jboss.cache
>       28. jboss.mq.destination
>       29. JMImplementation
>       30. jboss.deployer
>       31. jboss.ejb
>       32. jboss.system
>       33. SincronizzatoreDecodifiche
>       34. jboss.alerts
>       35. jboss.management.local
> 
> Select an mbean: 133
> ====================================================
> 
>  Attribute List:
> 
>        1. -rw int         port
>        2. -rw boolean     useSendfile
>        3. -r- int         minSpareThreads
>        4. -rw int         maxThreads
>        5. -r- String      modelerType
>        6. -r- boolean     running
>        7. -rw String      sSLCARevocationPath
>        8. -rw boolean     sSLEnabled
>        9. -rw int         pollTime
>       10. -rw String      name
>       11. -rw int         pollerSize
>       12. -rw String      sSLCACertificateFile
>       13. -rw int         sSLVerifyDepth
>       14. -rw int         pollerThreadCount
>       15. -rw int         sendfileSize
>       16. -rw String      sSLCertificateFile
>       17. -r- int         currentThreadCount
>       18. -rw int         keepAliveTimeout
>       19. -r- int         keepAliveCount
>       20. -rw String      sSLCARevocationFile
>       21. -rw boolean     tcpNoDelay
>       22. -rw int         threadPriority
>       23. -rw String      sSLVerifyClient
>       24. -r- int         maxSpareThreads
>       25. -rw boolean     useComet
>       26. -rw int         soLinger
>       27. -rw String      sSLCipherSuite
>       28. -r- boolean     paused
>       29. -rw String      sSLCertificateKeyFile
>       30. -r- int         sendfileCount
>       31. -rw String      sSLProtocol
>       32. -rw String      sSLPassword
>       33. -rw int         backlog
>       34. -rw int         acceptorThreadCount
>       35. -rw int         soTimeout
>       36. -rw int         sendfileThreadCount
>       37. -r- int         currentThreadsBusy
>       38. -rw String      sSLCertificateChainFile
>       39. -rw boolean     daemon
>       40. -rw String      sSLCACertificatePath
> 
>  Operation List:
> 
>       41. void        pause()
>       42. void        destroy()
>       43. void        stop()
>       44. void        resume()
>       45. void        start()
>       46. void        init()
> 
> 
> DOMAIN: jboss.web
>  MBEAN:  jboss.web:type=ThreadPool,name=http-myipserver-myport
> 
> 
> For my question about kb/mb (memory), you know if different jboss 
> version have different units of measurement ?
> 
> 
> thanks a lot for your support,
> 
> Marco



More information about the Xymon mailing list