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
1.0
2010-11-25
- Nagios 2.x
96263
File | Description |
---|---|
check_cassandra_node.sh | shell script |
CheckNode.java | Java source |
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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!