Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_hadoop_namenode_ha_zkfc_znode.pl (Advanced Nagios Plugins Collection)
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
29144
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!
Part of the Advanced Nagios Plugins Collection, download it here:
https://github.com/harisekhon/nagios-plugins
* Check HDFS NameNode HA ZKFC is working
check_hadoop_namenode_ha_zkfc_znode.pl -H
or
check_zookeeper_znode.pl -H -z /hadoop-ha/nameservice1/ActiveStandbyElectorLock
usage: check_solrcloud_server_znode.pl [ options ]
-H --host ZooKeeper nodes to connect to, should be a comma separated list of ZooKeepers the same as are configured on the ZooKeeper servers themselves (node1:2181,node2:2181,node3:2181)
-P --port Port to connect to on ZooKeepers for any nodes not suffixed with : (defaults to 2181)
-z --znode Znode to check exists. Useful for a variety of checks of ZooKeeper based services like HBase and SolrCloud
-d --data Expected data to be contained in the znode. Optional check. This is a partial substring match, for more control use --regex with anchors. Careful when specifying non-printing characters which may appear as ?, may need to use regex to work around them with ".+" to match any character
-r --regex Regex of expected data to be contained in the znode, case insensitive. Optional check. Checked after --data
-u --user User to connect with (Not tested. YMMV. optional)
-p --password Password to connect with (Not tested. YMMV. optional)
-w --warning Warning threshold or ran:ge (inclusive) for znode age (optional)
-c --critical Critical threshold or ran:ge (inclusive) for znode age (optional)
-n --null Do not check znode contents, use on null znodes such as SolrCloud /solr/live_nodes/:8983_solr as the API segfaults when trying to retrieve data for these null znodes
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-V --version Print version and exit
https://github.com/harisekhon/nagios-plugins
* Check HDFS NameNode HA ZKFC is working
check_hadoop_namenode_ha_zkfc_znode.pl -H
or
check_zookeeper_znode.pl -H
usage: check_solrcloud_server_znode.pl [ options ]
-H --host ZooKeeper nodes to connect to, should be a comma separated list of ZooKeepers the same as are configured on the ZooKeeper servers themselves (node1:2181,node2:2181,node3:2181)
-P --port Port to connect to on ZooKeepers for any nodes not suffixed with :
-z --znode Znode to check exists. Useful for a variety of checks of ZooKeeper based services like HBase and SolrCloud
-d --data Expected data to be contained in the znode. Optional check. This is a partial substring match, for more control use --regex with anchors. Careful when specifying non-printing characters which may appear as ?, may need to use regex to work around them with ".+" to match any character
-r --regex Regex of expected data to be contained in the znode, case insensitive. Optional check. Checked after --data
-u --user User to connect with (Not tested. YMMV. optional)
-p --password Password to connect with (Not tested. YMMV. optional)
-w --warning Warning threshold or ran:ge (inclusive) for znode age (optional)
-c --critical Critical threshold or ran:ge (inclusive) for znode age (optional)
-n --null Do not check znode contents, use on null znodes such as SolrCloud /solr/live_nodes/
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode (-v, -vv, -vvv ...)
-V --version Print version and exit
Reviews (0)
Be the first to review this listing!