[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Request for get data from Oracle database.
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Request for get data from Oracle database.
- From: Greg Hubbard <glh.forums (at) gmail.com>
- Date: Tue, 4 Jan 2011 11:32:57 -0600
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=ah5M7Sj0LG+MCvOLYfymcKXt8O8hiRHYGc0h8NskNH4=; b=c0jEPZoAvqedOEwpc4V/SwmeW0ssCuNNF9Ta51QWP3oHeJrZTLzDz1zf3twgxHZDrn +RD4fjtLKx8dKHwMNK28P7C7loB87CFk4lPVdncXsLVe9hnQbLqORz21d0RBGOem6LV0 TLqR9iPmR0RXQAojpCKkRs1fcKU4ZQsaWKiBc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Y3ZvX6FRycaSmvMrdU30raqSVQuTpMEyz0xY80uSUc9XLHQv5k3EaIT0P3gyV/DaWZ iJMxSMwmdgKPDWLArYKFeVfTjWPBgo/2/LeObhf44ZpTWonC8f2NfeVxnbZYHDqOHKHJ D18IYEuLkBjdxZ8YJNfDap4h3IUXXuFvlvils=
- References: <AANLkTinNK-3NRBXXLsBD=NHN0bPeXL6wmEjKw+tfRhjf (at) mail.gmail.com> <12940651407952360 (at) voodoo>
I agree with Ryan. Look at the documentation for "custom tests" ( I think
there is a "temperature" example. You can get the Xymon client to schedule
the test for you at whatever interval you choose, and then your test can
post the statues (red/yellow/green) as well as anything else you want to
post. You can even set things up so any numerical results that you send can
be graphed.
But it all starts by reading the documentation, taking time to understand
the example(s), and then modifying them to do what you want to do.
GLH
On Mon, Jan 3, 2011 at 8:32 AM, Ryan Novosielski <novosirj (at) umdnj.edu> wrote:
> Seems you'd need to create an external script/test that will do this. I
> believe there is a sample that comes with the distribution, but I'm not
> certain. In any case, looking at the scripts on xymonton.trantor.org would
> be instructive. These are launched by adding them to clientlaunch.cfg on a
> client if I am not mistaken, and probably hobbitlaunch.cfg on a server. Take
> a look at the documentation.
>
> -- Sent from my Palm Pre
>
> ------------------------------
> On Jan 3, 2011 5:11, Jayanta Kundu <jayantak007 (at) gmail.com> wrote:
>
> Hi All,
>
>
>
> I would like get data from oracle database on a particular table.
>
> For example:
>
> SELECT count(1) from emp;
>
>
>
> I want to display the result of the above query into my xymon page.
>
> Kindly let me know what the steps are for do the same. Which files need to
> modify/configure etc.
>
>
>
> With Regards,
> Jay.
>
--
Disclaimer: 1) all opinions are my own, 2) I may be completely wrong, 3) my
advice is worth at least as much as what you are paying for it, or your
money cheerfully refunded.