mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Moving usage documentation from README.md to plugin file header
This commit is contained in:
parent
c307f85c15
commit
862e559c26
2 changed files with 18 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
||||||
This plugin shows graphs of numbers of documents in Sphinxsearch indexes.
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
This plugin requires pythons sphinxsearch module which can be installed via easy_install.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
Copy file to directory /usr/share/munin/pligins/ and create symbolic links for each index you wish to monitor.
|
|
||||||
For example, if you've got indexex called index1 and index2 create these symlinks:
|
|
||||||
|
|
||||||
ln -s /usr/share/munin/plugins/sphindex_ /etc/munin/plugins/sphindex_index1
|
|
||||||
ln -s /usr/share/munin/plugins/sphindex_ /etc/munin/plugins/sphindex_index2
|
|
||||||
|
|
||||||
If you run munin-node at different box than Sphinxsearch you can specify hostname and port options in munin-node.conf:
|
|
||||||
|
|
||||||
[sphindex_*]
|
|
||||||
env.server 10.216.0.141
|
|
||||||
env.port 9312
|
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,24 @@
|
||||||
# server: hostname or ip-address of Sphinx server
|
# server: hostname or ip-address of Sphinx server
|
||||||
# port: port number of Sphinx server
|
# port: port number of Sphinx server
|
||||||
#
|
#
|
||||||
|
# This plugin shows graphs of numbers of documents in Sphinxsearch indexes.
|
||||||
|
#
|
||||||
|
# ## Requirements
|
||||||
|
# This plugin requires pythons sphinxsearch module which can be installed via easy_install.
|
||||||
|
#
|
||||||
|
# ## Installation
|
||||||
|
# Copy file to directory /usr/share/munin/pligins/ and create symbolic links for each index you wish to monitor.
|
||||||
|
# For example, if you've got indexes called index1 and index2 create these symlinks:
|
||||||
|
#
|
||||||
|
# ln -s /usr/share/munin/plugins/sphindex_ /etc/munin/plugins/sphindex_index1
|
||||||
|
# ln -s /usr/share/munin/plugins/sphindex_ /etc/munin/plugins/sphindex_index2
|
||||||
|
#
|
||||||
|
# If you run munin-node at different box than Sphinxsearch you can specify hostname and port options in munin-node.conf:
|
||||||
|
#
|
||||||
|
# [sphindex_*]
|
||||||
|
# env.server 10.216.0.141
|
||||||
|
# env.port 9312
|
||||||
|
#
|
||||||
#%# capabilities=autoconf
|
#%# capabilities=autoconf
|
||||||
#%# family=contrib
|
#%# family=contrib
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue