Database (Oracle,MSSQL),Tomcat plugins

Peter Edmonds termx23 at gmail.com
Sat Sep 15 11:34:09 CEST 2007


On 9/14/07, Sekhar <radhiilu at yahoo.com> wrote:

> 2) Plugin to monitor mssql database ?

Install the freetds package, then use bsqldb to query your SQL2005
from the command line using a bash script. I have this setup under
Groundwork Monitor Open Source and it works sensationally. I can query
a SQL 2005 database, dump the results to a text file in my htdocs
directory then use check_http to do a content check.

echo '<your SQL query goes here' | bsqldb -U <dbusername> -P <dbpassword> -S
<dbserveripaddress> -D <database> > /usr/www/htdocs/bsqldb.output

Peter Edmonds

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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