Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_cassandra_node
Current Version
1.0
Last Release Date
2010-11-25
Compatible With
- Nagios 2.x
Owner
Hits
95503
Files:
File | Description |
---|---|
check_cassandra_node.sh | shell script |
CheckNode.java | Java source |
Nagios shell script and Java source to check whether Cassandra node is alive or not
compile:
javac CheckNode.java
usege:
copy CheckNode.class and check_cassandra_node.sh into the Nagios plugin directory(ex: /usr/lib/nagios/plugins)
Nagios Configuration
services.cfg
define service {
use generic-service
host_name [cassanadra node hostname]
service_description cassandra-JMX
contact_groups admins
check_command check_cassandra_node
}
commands.cfg
define command {
command_name check_cassandra_node
command_line $USER1$/check_cassandra_node.sh $HOSTADDRESS$
}
compile:
javac CheckNode.java
usege:
copy CheckNode.class and check_cassandra_node.sh into the Nagios plugin directory(ex: /usr/lib/nagios/plugins)
Nagios Configuration
services.cfg
define service {
use generic-service
host_name [cassanadra node hostname]
service_description cassandra-JMX
contact_groups admins
check_command check_cassandra_node
}
commands.cfg
define command {
command_name check_cassandra_node
command_line $USER1$/check_cassandra_node.sh $HOSTADDRESS$
}
Reviews (0)
Be the first to review this listing!