Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_cluster_table

Rating
0 votes
Favoured:
0
Current Version
0.10
Last Release Date
2014-02-11
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
27113
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
check_cluster_table
Check a number of hosts or services, like check_cluster, but use a table for the logic.
This is a variation on the check_cluster nagios check. It's mainly useful for low power devices, or very busy machines that continuously run at a high load.

USAGE


$ ./check_cluster_table -h

check_cluster_table - Check a number of results against a table.

Usage: check_cluster_table (-s | -H) (-t col1[,col2,..,colN])*
    -c NUM -d col1[,col2,..,colN]

 -h      : Display this help text.
 -S      : Check services.
 -H      : Check hosts.
 -t STR  : Valid statuses. Use one or more times. Comma delimited.
           Use 1 or 0 only.
 -d STR  : The current service or host statuses. Comma delimited.
 -c NUM  : If the number of criticals in the '-d' option exceeds
           NUM then this plugin will return critical. Default 2.
           For Host checks this option relates to the number of
           host that are in a non-OK state.

Examples:

If -d option represents Load, CPU, Swap Activity then the following
will NOT alert when cpu and load are both warning/critical nor when
CPU usage alone is warning/critical.

 ./check_cluster_table -S -t 1,1,1 -t 0,1,1 -t 1,0,1 -t 0,0,1
    -d 0,1,0