RE: informix database monitoring

Edwin Zoeller <[email protected]>
Newsgroups gmane.network.nagios.plugins
Message-ID <EFEEE1306BFAAD4890A78E609ECE72035EF1E62B@utlp5212.ad.ama-assn.org>
I wrote a script and placed it in the libexec directory. There is a script for each instance to monitor.

bash-2.05$ more check_informix_aims_perf
#!/bin/sh
#INFORMIXDIR=/apps/informix/infx1150fc4x7
INFORMIXDIR=/usr/informix
INFORMIXSERVER=perfsrv
OMSTAT=$INFORMIXDIR/bin/onstat
export INFORMIXDIR INFORMIXSERVER

case $1 in
'-h'|'--help')
        clear;echo ""
        echo ""
        echo "Show output from 'onstat -' and 'exit' with 'status 0'"
        echo ""
        echo "usage: $0"
        echo ""
        ;;
*)
        $OMSTAT - |grep Informix && exit 0
        ;;
esac


In the nrpe.cfg file I add the following entry for this instance.

command[check_informix_aims_perf]=/apps/nrpe/2.0/libexec/check_informix_aims_perf

From: Help [mailto:[email protected]] On Behalf Of pablo muñoz
Sent: Friday, November 08, 2013 10:47 AM
To: Nagios Plugins Users
Subject: Re: informix database monitoring

would share the plugin or the way you tested?



2013/11/8 Edwin Zoeller <[email protected]<mailto:[email protected]>>
Yes I have. My output give the version, online time and size.

From: Help [mailto:help-bounces+edwin.zoeller<mailto:help-bounces%2Bedwin.zoeller>[email protected]<mailto:[email protected]>] On Behalf Of pablo muñoz
Sent: Friday, November 08, 2013 9:54 AM
To: Nagios Plugins Users
Subject: Fwd: informix database monitoring

Hello everyone

Someone managed to successfully monitor informix database?

there any plugins or wizard to nagiosxi?


Atte.

Pablo Muñoz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.