Nagios Plugin Doc Update
Nagios Plugin Doc Update
This commit is contained in:
@ -21,7 +21,9 @@ Last Updated: 12th March 2015
|
|||||||
|
|
||||||
# MaxScale Requirements
|
# MaxScale Requirements
|
||||||
|
|
||||||
MaxScale must be configured with 'maxscaled' protocol for the administration interface
|
MaxScale must be configured with 'maxscaled' protocol for the administration interface:
|
||||||
|
|
||||||
|
Example of MaxScale.cnf file:
|
||||||
|
|
||||||
[AdminInterface]
|
[AdminInterface]
|
||||||
type=service
|
type=service
|
||||||
@ -35,7 +37,7 @@ MaxScale must be configured with 'maxscaled' protocol for the administration int
|
|||||||
|
|
||||||
## Prepare Nagios configuration files.
|
## Prepare Nagios configuration files.
|
||||||
|
|
||||||
Assuming plugins are in /usr/lib64/nagios/plugins and Nagios configuration in /etc/nagios:
|
Assuming Nagios installed in its on server and the plugins are in /usr/lib64/nagios/plugins and configuration files are in /etc/nagios:
|
||||||
|
|
||||||
* Copy ./nagios/plugins/check_maxscale_*.pl under /usr/lib64/nagios/plugins
|
* Copy ./nagios/plugins/check_maxscale_*.pl under /usr/lib64/nagios/plugins
|
||||||
* Copy ./nagios/plugins/maxscale_commands.cfg and server1.cfg to /etc/nagios/objects/
|
* Copy ./nagios/plugins/maxscale_commands.cfg and server1.cfg to /etc/nagios/objects/
|
||||||
@ -49,9 +51,10 @@ and add (just after localhost.cfg or commnads.cfg)
|
|||||||
### Please note:
|
### Please note:
|
||||||
- modify server IP address in server1.cfg, pointing to MaxScale server
|
- modify server IP address in server1.cfg, pointing to MaxScale server
|
||||||
- maxadmin executable must be in the nagios server
|
- maxadmin executable must be in the nagios server
|
||||||
- default AdminInterface port is 6603
|
- default MaxScale AdminInterface port is 6603
|
||||||
- default maxadmin executable path is /usr/local/skysql/maxscale/bin/maxadmin
|
- default maxadmin executable path is /usr/local/skysql/maxscale/bin/maxadmin
|
||||||
It can be changed by -m option
|
It can be changed by -m option
|
||||||
|
- maxadmin executable could be copied from an existing maxscale setup (default location is /usr/local/skysql/maxscale/bin/maxadmin)
|
||||||
|
|
||||||
Example related to server1.cfg
|
Example related to server1.cfg
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user