informix database monitoring
Edwin Zoeller
Edwin.Zoeller at ama-assn.org
Fri Nov 8 18:56:27 CET 2013
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:help-bounces+edwin.zoeller=ama-assn.org at nagios-plugins.org] 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 <Edwin.Zoeller at ama-assn.org<mailto:Edwin.Zoeller at ama-assn.org>>
Yes I have. My output give the version, online time and size.
From: Help [mailto:help-bounces+edwin.zoeller<mailto:help-bounces%2Bedwin.zoeller>=ama-assn.org at nagios-plugins.org<mailto:ama-assn.org at nagios-plugins.org>] 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20131108/0751c71a/attachment.html>
More information about the Help
mailing list