Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
Your review has been submitted and is pending approval.
This plugin tests the connectivity of ODBC databases configured via Asterisk’s res_odbc.conf file.
Current Version
Last Release Date
June 18, 2009
Owner
Nagios Exchange
Compatible With
Usage: check_asterisk_odbc_connections [--databases | -d ] [-V] Usage: check_asterisk_odbc_connections --help | -h Description: This plugin tests the connectivity of ODBC databases configured via Asterisk's res_odbc.conf file. Tested to work on Linux. The following arguments are accepted: --databases | -d (Optional) A space separated list of ODBC databases to check. The names are the section names of the databases listed in the res_odbc.conf Asterisk configuration file. If this option is left out, then all configured databases will be checked. -V (Optional) Output verbose information, useful for debugging. --help | -h Print this help and exit. Examples: Check all configured Asterisk ODBC databases: check_asterisk_odbc_connections Check the 'foo' and 'bar' connections: check_asterisk_odbc_connections "foo bar" Caveats: This plugin calls the asterisk executable directly, so make sure that the user executing this script has appropriate permissions! Usually the asterisk binary can only be run by the asterisk user or root. To grant the nagios user permissions to execute the script, try something like the following in your /etc/sudoers file: nagios ALL=(ALL) NOPASSWD: /path/to/plugins/directory/check_asterisk_odbc_connections Then call the plugin using sudo: /path/to/sudo check_asterisk_odbc_connections
Following installation note I don't was been unable to run the plugin properly: I've done two little modifications in my sistem, please see footer: 1. on script row #168 I've modified text grep "^Connected: yes$" with this one grep "Connected: Yes" 2. After that on Nagios i receiving this output : "NRPE: Unable to read output" To solve there is to comment row Defaults requiretty in etc/sudoers file. Centos 6.5 x64 | Nagios 3.5.1 Thanks for the plugin!
You must be logged in to submit a review.
To:
From: