mirror of
https://github.com/shouptech/nagios-plugin-check-rabbitmq.git
synced 2026-02-03 14:49:41 +00:00
Added Nagios service check examples
This commit is contained in:
parent
2d66c43b5d
commit
1b7be10bfd
1 changed files with 46 additions and 0 deletions
46
README.md
46
README.md
|
|
@ -109,3 +109,49 @@ The commands can be defined as follows. Modify to suit your environment.
|
||||||
command_name check_rabbitmq_aliveness
|
command_name check_rabbitmq_aliveness
|
||||||
command_line $USER1$/check_rabbitmq.py -H $HOSTADDRESS$ check_aliveness $ARG1$
|
command_line $USER1$/check_rabbitmq.py -H $HOSTADDRESS$ check_aliveness $ARG1$
|
||||||
}
|
}
|
||||||
|
|
||||||
|
### Service checks
|
||||||
|
|
||||||
|
With the commands above defined, the following service checks on a host should work:
|
||||||
|
|
||||||
|
define service{
|
||||||
|
use standard-service
|
||||||
|
host_name rmqhost
|
||||||
|
service_description RabbitMQ Aliveness Test /
|
||||||
|
check_command check_rabbitmq_aliveness!/
|
||||||
|
}
|
||||||
|
|
||||||
|
define service{
|
||||||
|
use standard-service
|
||||||
|
host_name rmqhost
|
||||||
|
service_description RabbitMQ High Memory Alarm
|
||||||
|
check_command check_rabbitmq_mem_alarm
|
||||||
|
}
|
||||||
|
|
||||||
|
define service{
|
||||||
|
use standard-service
|
||||||
|
host_name rmqhost
|
||||||
|
service_description RabbitMQ Disk Free Space Alarm
|
||||||
|
check_command check_rabbitmq_disk_free_alarm
|
||||||
|
}
|
||||||
|
|
||||||
|
define service{
|
||||||
|
use standard-service
|
||||||
|
host_name rmqhost
|
||||||
|
service_description RabbitMQ Sockets Usage
|
||||||
|
check_command check_rabbitmq_sockets
|
||||||
|
}
|
||||||
|
|
||||||
|
define service{
|
||||||
|
use standard-service
|
||||||
|
host_name rmqhost
|
||||||
|
service_description RabbitMQ File Descriptor Usage
|
||||||
|
check_command check_rabbitmq_fd
|
||||||
|
}
|
||||||
|
|
||||||
|
define service{
|
||||||
|
use standard-service
|
||||||
|
host_name rmqhost
|
||||||
|
service_description RabbitMQ Node Status
|
||||||
|
check_command check_rabbitmq_nodes
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue