Nagios Plugins Tutorial

Nagios Plugins Tutorial
This commit is contained in:
MassimilianoPinto
2015-03-12 16:32:18 +01:00
parent 6d140494f2
commit cdc3391a96

View File

@ -1,4 +1,4 @@
MaxScale Nagios plugins, for Nagios 3.5.1
# MaxScale Nagios plugins, for Nagios 3.5.1
MaxScale must be configured with 'maxscaled' protocol for the administration interface
@ -12,6 +12,8 @@ service=AdminInterface
protocol=maxscaled
port=6603
## Prepare Nagios configuration files
1) copy check_maxscale_*.pl under /usr/lib64/nagios/plugins
2) copy maxscale_commands.cfg, server1.cfg to /etc/nagios/objects/
3) Edit /etc/nagios/nagios.cfg
@ -21,7 +23,7 @@ add
cfg_file=/etc/nagios/objects/maxscale_commands.cfg
cfg_file=/etc/nagios/objects/server1.cfg
Please note:
### Please note:
- modify server IP address in server1.cfg, pointing to MaxScale server
- maxadmin executable must be in the nagios server
- default AdminInterface port is 6603