2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Updating README.md to correct syntax

This commit is contained in:
iborodikhin 2012-07-24 15:37:28 +06:00
parent 08690fe634
commit c307f85c15

View File

@ -6,10 +6,12 @@ This plugin requires pythons sphinxsearch module which can be installed via easy
## Installation ## Installation
Copy file to directory /usr/share/munin/pligins/ and create symbolic links for each index you wish to monitor. 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: 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_index1
ln -s /usr/share/munin/plugins/sphindex_ /etc/munin/plugins/sphindex_index2 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: If you run munin-node at different box than Sphinxsearch you can specify hostname and port options in munin-node.conf:
[sphindex_*] [sphindex_*]
env.server 10.216.0.141 env.server 10.216.0.141
env.port 9312 env.port 9312