[Nagiosplug-help] java applications monitoring
vinod bhasi
vinodsreehari at yahoo.com
Thu Sep 25 11:35:31 CEST 2008
Hi,
I myself found out solution for java problem in nagios .I will be giving you the detailed instruction on teh solution soon
Regards
Vinod Bhasi
--- On Tue, 23/9/08, Christian Schneemann <cschneemann at suse.de> wrote:
From: Christian Schneemann <cschneemann at suse.de>
Subject: Re: [Nagiosplug-help] java applications monitoring
To: vinodsreehari at yahoo.com
Date: Tuesday, 23 September, 2008, 9:49 AM
Hi,
could you please add nagiosplug-help at lists.sourceforge.net to your recipients?
Thanks.
On Tuesday September 23 2008 11:21:59 am vinod bhasi wrote:
> Hi,
>
> Any updates on my problem. Also with "individually" I meant ,i
have total 7
> java applications running and I need to monitor each one of them
seperately
> ..
>
> Thanks and regards
> Vinod Bhasi
> --- On Mon, 22/9/08, Christian Schneemann <cschneemann at suse.de>
wrote:
>
> From: Christian Schneemann <cschneemann at suse.de>
> Subject: Re: [Nagiosplug-help] java applications monitoring
> To: vinodsreehari at yahoo.com
> Cc: nagiosplug-help at lists.sourceforge.net
> Date: Monday, 22 September, 2008, 7:17 AM
>
> Am Montag, 22. September 2008 schrieb vinod bhasi:
> > Hi,
>
> Hi,
> please stay on the list...
>
> >
> > Thanks for your reply . I have added so many services and some shell
>
> script
>
> > applications . For applications I use teh process name coming in o/p
of
> > "top" . But for java, it will show "java"
>
> only . When I gave full name
>
> > like " java name_of_app " , nagios showed "no
>
> process running .
>
> > Then I tested another method:
> > As there is a plugin named" check_javaproc.pl" in my
nagios
>
> plugins dir, I
>
> > added these lines in commands.cfg
> > define command{
> > command_name check_run2
> > command_line /opt/jdk1.5.0_13/bin/java
> > $USER1$/contrib/check_javaproc.pl -c 1:1 -C $ARG1$ }
>
> the service definition is wrong, your calling a perl-script with java,
> remove the /opt/jdk1.5.0_13/bin/java.
> It should look like:
> command_line $USER1$/contrib/check_javaproc.pl -c 1:1 -C $ARG1$
>
> >
> > then in services.cfg added application like
> >
> >
> > check_command check_run2!java
>
> java_app_name
> What is "java java_app_name"? Two Arguments? Or one Argument
with a
> whitespace? Your check uses just $ARG1$ and I think it shall test for the
> java_proc_name? Remove here the "java " so that it looks like:
> check_command check_run2!java_app_name
>
> >
> >
> > But in nagios ,it shows like "No Ouotput" (as warning )
> >
> >
> > Any idea about this ??
> >
> > Thanks in advance
> >
> > Vinod B
> > --- On Mon, 22/9/08, Christian Schneemann <cschneemann at suse.de>
>
> wrote:
> > From: Christian Schneemann <cschneemann at suse.de>
> > Subject: Re: [Nagiosplug-help] java applications monitoring
> > To: nagiosplug-help at lists.sourceforge.net, vinodsreehari at yahoo.com
> > Date: Monday, 22 September, 2008, 6:14 AM
> >
> > Am Montag, 22. September 2008 schrieb vinod bhasi:
> > > Hi All,
> >
> > Hi,
> >
> > >
> > > I have done nagios for my local server . I have certain java
> > > appalications which need to be monitored individually.Is it
possible
>
> in
>
> > > nagios ?
> >
> > (Almost) Everything is possible in nagios, what do you mean
> > with "individually"?
> >
> > > Is there
> > > any plugins I need to download for this ?
> > >
> > > > How can I add ajava applications
> > >
> > > in services.cfg ? Please help me in this .
> >
> > Have you read the documentation? It would be a service like any
other.
> > But first you need to know what your service should be about.
> >
> > > Thanks and Regards,
> > >
> > > Vinod B
> > >
> > >
> > > Cricket on your mind? Visit the ultimate cricket website.
Enter
> > > http://in.sports.yahoo.com/cricket/
> >
> > Greetings,
> > Christian
--
Christian Schneemann
-------------------------------------
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg
Phone: +49 (0)911 - 740 53 0
e-mail: cschneemann at suse.de
-------------------------------------
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)
Add more friends to your messenger and enjoy! Go to http://in.messenger.yahoo.com/invite/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080925/e6c1150a/attachment.html>
More information about the Help
mailing list