hello Phil, PC> Why not just use nrpe to run the check_oracle plugin locally on the PC> database server? That's how I handle it.
well, this is so simple, that i didn't see it right away :-) actually, russians have a proverb that sounds like "we don't seek for easy ways" :-) that's an example - my case, lol thanks, this gonna help me, i guess PC> Sample nrpe command definition (which should be one line in the config PC> file) is: PC> command[check_oralogin_sample]=ORACLE_HOME=/apps/oracle/product/9.2.0; PC> export ORACLE_HOME; PC> PATH=$PATH:/apps/oracle/product/9.2.0/bin; export PC> PATH; PC> TNS_ADMIN=/apps/oracle/admin/network; export TNS_ADMIN; PC> /opt/nagios/libexec/check_oracle --login SAMPLE PC> Phil --- best regards, Evgeny Stepanov ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Nagios-users mailing list [email protected] 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
