[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: Ryan Novosielski <novosirj (at) umdnj.edu>
- Date: Tue, 04 Jan 2011 12:46:15 -0500
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=/+I6LTuzb8kd16Y4kqFTJssKAus=; b=mG4fprbR/tvmPoWAXGVyhjqd4koX780KkJ/OYfcJOb8Xk8YHQ7JwSMFcthQyjSorQ5mP+L7rU6vnk2M0gy1Vn7c0mkHlBGCsIqnfC1SHa966QhdVu7hDQkFbGUwAvOvEAXbJBAmQmYX8emq4eb6TAqxA/pOnhdPqDBNi+VJIKZI=
- Organization: UMDNJ-IST/CST
- References: <AANLkTinNK-3NRBXXLsBD=NHN0bPeXL6wmEjKw+tfRhjf (at) mail.gmail.com> <12940651407952360 (at) voodoo> <AANLkTinwAU5H+DQN7dPjYA2xvT8Vd9+Desj7u0eQ50yT (at) mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
There is actually information in the FAQ's as well, with a sample test.
As long as you know how to use sqlplus, this will be very easy for you.
On 01/04/2011 12:32 PM, Greg Hubbard wrote:
> 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
> <mailto: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 <http://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
> <mailto: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.
- --
- ---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Sr. Systems Programmer
|$&| |__| | | |__/ | \| _| |novosirj (at) umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0jXOYACgkQmb+gadEcsb4qLwCfZx9klUc6Oync07hxulRCHr0f
pjkAoMf4sJr0S47C3WDaXjbBxDPjvAdz
=iaPJ
-----END PGP SIGNATURE-----