I m able to get the Output from oracle_home whn it is running from oracle or root users but whn i manually run the check_oracle plugin by nagios user it gives tht oracle_home is not set. i did this bcz nagios works with nagios user. I also set the ORACLE_HOME for nagios users.
Hari Sekhon wrote: > Yes this is common, make sure the Nagios user has $ORACLE_HOME set in > the environment to your locally installed oracle bits like sqlplus > which this depends on. > > A cheap cheat would just be to modify the script and hardcode it at > the top (but then beware when you upgrade the plugins that this will > revert to broken so if doing that you may want to copy the plugin out > and keep it separate). > > -h > > Hari Sekhon > > > > Sunny Bhatheja wrote: >> Dear All, >> I m trying to monitor using check_oracle >> plugin.But whn i checked my oracle from Plugin like ./check_oracle >> --tns orcl and it gives me ok status but whn i used this by putting >> entry in hosts, services and chkcommands thn if gives like Oracle >> Home is not set for sid. >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> 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 >> >> > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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
