problem with check_jmx plugin working
Rob Blake
rob.blake at gmail.com
Thu Mar 15 18:52:14 CET 2007
On 3/15/07, Rob Blake <rob.blake at gmail.com> wrote:
>
>
> On 3/15/07, ramyareddy pogula <ramyareddypogula at yahoo.co.in> wrote:
> >
> > Hi,
> > I have a problem in installing the nagios add on plug-in, check_jmx
> > I get the following error.
> >
> > [root at sys79 libexec]# ./check_jmx Exception in thread "main"
> > java.lang.NoClassDefFoundError: org.nagios.JMXQuery
> > at java.lang.Class.initializeClass (libgcj.so.7)
> > at java.lang.Class.forName (libgcj.so.7)
> > at gnu.java.lang.MainThread.run (libgcj.so.7)
> > Caused by: java.lang.ClassNotFoundException :
> > javax.management.remote.JMXServiceURL not found in
> > gnu.gcj.runtime.SystemClassLoader{urls=[file:./jmxquery.jar], parent=
> > gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> > at java.net.URLClassLoader.findClass (libgcj.so.7)
> > at java.lang.ClassLoader.loadClass (libgcj.so.7)
> > at java.lang.ClassLoader.loadClass (libgcj.so.7)
> > at java.lang.Class.initializeClass (libgcj.so.7)
> > ...2 more
> >
> > can any one please help me out?
> >
> > Thanks
> >
>
> Yep, it can't find the class org.nagios.JMXQuery. Make sure that it is on
> your classpath.
>
> Rob
>
Apologies, that should be that it can't find the class
javax.management.remote.JMXServiceUrl in your classpath.
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070315/d12ab20e/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list