Xymon Mailing List Archive search

Request for get data from Oracle database.

list Greg Hubbard
Tue, 4 Jan 2011 11:32:57 -0600
Message-Id: <user-6ce65c8bf826@xymon.invalid>

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 <user-ae4522577e16@xymon.invalid> 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 <user-d0758a3e63c3@xymon.invalid> 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.