Files
librenms-librenms/includes/services/check_oracle.inc.php
Chris A. Evans 5bdfd57b84 Add check_oracle service include file and make 'packet_loss_' macro alerts not use radio buttons (#10807)
* - Adjust Alerting Query Builder logic to not use boolean/radio buttons for 'packet_loss_' macros
- Add nagios check script for "check_oracle", which fails on the fallback logic because it does not accept IP/hostname via the '-H' flag

* Update check_oracle.inc.php
2019-11-14 18:45:00 +00:00

15 lines
518 B
PHP

<?php
/**
* check_oracle Nagios Plugin
* Docs: https://www.monitoring-plugins.org/doc/man/check_oracle.html
*
* If the plugin doesn't work, check that the ORACLE_HOME environment
* variable is set, that ORACLE_HOME/bin is in your PATH, and the
* tnsnames.ora file is locatable and is properly configured.
*
* This plugin does not accept the '-H' flag for hostname/IP address
* that most other Nagios plugins do.
*
*/
$check_cmd = \LibreNMS\Config::get('nagios_plugins') . "/check_oracle " . $service['service_param'];