{"id":171,"date":"2009-07-12T13:12:14","date_gmt":"2009-07-12T12:12:14","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=171"},"modified":"2009-07-12T13:40:12","modified_gmt":"2009-07-12T12:40:12","slug":"default-nagios-check-commands","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=171","title":{"rendered":"Default Nagios Check Commands"},"content":{"rendered":"<p>These are specified in the $NAGIOSHOME\/etc\/checkcommands.cfg file. Where there are parameters available for a command, these can be passed through from services.cfg.<\/p>\n<p><!--more--><\/p>\n<h2>Configuring nagios commands<\/h2>\n<p><a name=\"top\"><\/a><\/p>\n<h3><a name=\"top\">Configure nagios commands<\/a><\/h3>\n<p>In a standard install of nagios, from platform independent source files there are the following check commands\/plugins installed by default:-<\/p>\n<table style=\"height: 278px;\" border=\"0\" width=\"477\">\n<tbody>\n<tr>\n<td valign=\"top\"><a href=\"#byssh\">check_by_ssh<\/a><\/p>\n<p><a href=\"#disk\">check_disk<\/a><\/p>\n<p><a href=\"#disksmb\">check_disk_smb<\/a><\/p>\n<p><a href=\"#dns\">check_dns<\/a><\/p>\n<p><a href=\"#dummy\">check_dummy<\/a><br \/>\n<a href=\"#flexlm\"><br \/>\ncheck_flexlm<\/a><\/p>\n<p><a href=\"#ftp\">check_ftp<\/a><\/p>\n<p><a href=\"#http\">check_http<\/a><\/p>\n<p><a href=\"#imap\">check_imap<\/a><\/p>\n<p><a href=\"#ircd\">check_ircd<\/a><\/td>\n<td valign=\"top\"><a href=\"#load\">check_load<\/a><\/p>\n<p><a href=\"#log\">check_log<\/a><\/p>\n<p><a href=\"#mailq\">check_mailq<\/a><\/p>\n<p><a href=\"#mrtg\">check_mrtg<\/a><\/p>\n<p><a href=\"#mtrgraf\">check_mrtgtraf<\/a><br \/>\n<a href=\"#nagios\"><br \/>\ncheck_nagios<\/a><\/p>\n<p><a href=\"#nntp\">check_nntp<\/a><\/p>\n<p><a href=\"#ntp\">check_ntp<\/a><br \/>\n<a href=\"#nwstat\"><br \/>\ncheck_nwstat<\/a><br \/>\n<a href=\"#overcr\"><br \/>\ncheck_overcr<\/a><\/td>\n<td valign=\"top\"><a href=\"#ping\">check_ping<\/a><\/p>\n<p><a href=\"#pop\">check_pop<\/a><\/p>\n<p><a href=\"#procs\">check_procs<\/a><\/p>\n<p><a href=\"#real\">check_real<\/a><\/p>\n<p><a href=\"#rpc\">check_rpc<\/a><br \/>\n<a href=\"#sensors\"><br \/>\ncheck_sensors<\/a><\/p>\n<p><a href=\"#smtp\">check_smtp<\/a><\/p>\n<p><a href=\"#ssh\">check_ssh<\/a><\/p>\n<p><a href=\"#swap\">check_swap<\/a><\/p>\n<p><a href=\"#tcp\">check_tcp<\/a><\/td>\n<td valign=\"top\"><a href=\"#time\">check_time<\/a><\/p>\n<p><a href=\"#udp\">check_udp<\/a><\/p>\n<p><a href=\"#ups\">check_ups<\/a> (is problematic, see <a href=\"http:\/\/darenmatthews.com\/blog\/?p=176\">this post<\/a>)<\/p>\n<p><a href=\"#users\">check_users<\/a><\/p>\n<p><a href=\"#vsz\">check_vsz<\/a><\/p>\n<p><a href=\"#wave\">check_wave<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"#top\"><span>[top]<\/span><\/a><\/p>\n<h3><a name=\"byssh\">check_by_ssh<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin will execute a command on a remote host using SSH\r\n\r\nUsage:\r\ncheck_by_ssh [-f46] [-t timeout] [-i identity] [-l user] -H &lt;host&gt; -C &lt;command&gt;\r\n             [-n name] [-s servicelist] [-O outputfile] [-p port]\r\ncheck_by_ssh  -V prints version info\r\ncheck_by_ssh  -h prints more detailed help\r\n\r\nOptions:\r\n-H, --hostname=HOST\r\n   name or IP address of remote host\r\n-C, --command='COMMAND STRING'\r\n   command to execute on the remote machine\r\n-f tells ssh to fork rather than create a tty\r\n-t, --timeout=INTEGER\r\n   specify timeout (default: 10 seconds) [optional]\r\n-p, --port=PORT\r\n   port to connect to on remote system [optional]\r\n-l, --logname=USERNAME\r\n   SSH user name on remote host [optional]\r\n-i, --identity=KEYFILE\r\n   identity of an authorized key [optional]\r\n-O, --output=FILE\r\n   external command file for nagios [optional]\r\n-s, --services=LIST\r\n   list of nagios service names, separated by ':' [optional]\r\n-n, --name=NAME\r\n   short name of host in nagios configuration [optional]\r\n-4, --use-ipv4\r\n   tell ssh to use IPv4\r\n-6, --use-ipv6\r\n   tell ssh to use IPv6\r\n\r\nThe most common mode of use is to refer to a local identity file with\r\nthe '-i' option. In this mode, the identity pair should have a null\r\npassphrase and the public key should be listed in the authorized_keys\r\nfile of the remote host. Usually the key will be restricted to running\r\nonly one command on the remote server. If the remote SSH server tracks\r\ninvocation agruments, the one remote program may be an agent that can\r\nexecute additional commands as proxy\r\n\r\nTo use passive mode, provide multiple '-C' options, and provide\r\nall of -O, -s, and -n options (servicelist order must match '-C'\r\noptions)\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"disk\">check_disk<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin will check the percent of used disk space on a mounted\r\nfile system and generate an alert if percentage is above one of the\r\nthreshold values.\r\n\r\nUsage: check_disk -w limit -c limit [-p path] [-t timeout] [-m] [--verbose]\r\n       check_disk (-h|--help)\r\n       check_disk (-V|--version)\r\n\r\nOptions:\r\n -w, --warning=INTEGER\r\n   Exit with WARNING status if less than INTEGER kilobytes of disk are free\r\n -w, --warning=PERCENT%\r\n   Exit with WARNING status if more than PERCENT of disk space is free\r\n -c, --critical=INTEGER\r\n   Exit with CRITICAL status if less than INTEGER kilobytes of disk are free\r\n -c, --critical=PERCENT%\r\n   Exit with CRITCAL status if more than PERCENT of disk space is free\r\n -p, --path=PATH, --partition=PARTTION\r\n    Path or partition (checks all mounted partitions if unspecified)\r\n -m, --mountpoint\r\n    Display the mountpoint instead of the partition\r\n -v, --verbose\r\n    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"smb\">check_disk_smb<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin will check the percent of used disk space on a mounted\r\nfile system and generate an alert if percentage is above one of the\r\nthreshold values.\r\n\r\nUsage: check_disk -w limit -c limit [-p path] [-t timeout] [-m] [--verbose]\r\n       check_disk (-h|--help)\r\n       check_disk (-V|--version)\r\n\r\nOptions:\r\n -w, --warning=INTEGER\r\n   Exit with WARNING status if less than INTEGER kilobytes of disk are free\r\n -w, --warning=PERCENT%\r\n   Exit with WARNING status if more than PERCENT of disk space is free\r\n -c, --critical=INTEGER\r\n   Exit with CRITICAL status if less than INTEGER kilobytes of disk are free\r\n -c, --critical=PERCENT%\r\n   Exit with CRITCAL status if more than PERCENT of disk space is free\r\n -p, --path=PATH, --partition=PARTTION\r\n    Path or partition (checks all mounted partitions if unspecified)\r\n -m, --mountpoint\r\n    Display the mountpoint instead of the partition\r\n -v, --verbose\r\n    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"dns\">check_dns<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Usage: check_dns -H host [-s server] [-a expected-address] [-t timeout]\r\n       check_dns --help\r\n       check_dns --version\r\n\r\n-H, --hostname=HOST\r\n   The name or address you want to query\r\n-s, --server=HOST\r\n   Optional DNS server you want to use for the lookup\r\n-a, --expected-address=IP-ADDRESS\r\n   Optional IP address you expect the DNS server to return\r\n-t, --timeout=INTEGER\r\n   Seconds before connection times out (default: 10)\r\n-h, --help\r\n   Print detailed help\r\n-V, --version\r\n   Print version numbers and license information\r\n\r\nThis plugin uses the nslookup program to obtain the IP address\r\nfor the given host\/domain query.  A optional DNS server to use may\r\nbe specified.  If no DNS server is specified, the default server(s)\r\nspecified in \/etc\/resolv.conf will be used.\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"dummy\">check_dummy<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Usage: .\/check_dummy &lt;integer state&gt;\r\n\r\nThis plugin will simply return the state corresponding to the numeric value\r\nof the &lt;state&gt; argument.\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"flexlm\">check_flexlm<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Check available flexlm license managers\r\n\r\nUsage:\r\n   check_flexlm -F &lt;filename&gt; [--verbose]\r\n   check_flexlm --help\r\n   check_flexlm --version\r\n\r\n-F, --filename=FILE\r\n   Name of license file\r\n-v, --verbose\r\n   Print some extra debugging information (not advised for normal operation)\r\n-V, --version\r\n   Show version and license information\r\n-h, --help\r\n   Show this help screen\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"ftp\">check_ftp<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests FTP connections with the specified host.\r\n\r\nUsage: check_ftp -H host -p port [-w warn_time] [-c crit_time] [-s send]\r\n         [-e expect] [-W wait] [-t to_sec] [-v]\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (use numeric\r\n    address if possible to bypass DNS lookup).\r\n -p, --port=INTEGER\r\n    Port number\r\n -s, --send=STRING\r\n    String to send to the server\r\n -e, --expect=STRING\r\n    String to expect in server response -W, --wait=INTEGER\r\n    Seconds to wait between sending string and polling for response\r\n -w, --warning=DOUBLE\r\n    Response time to result in warning status (seconds)\r\n -c, --critical=DOUBLE\r\n    Response time to result in critical status (seconds)\r\n -t, --timeout=INTEGER\r\n    Seconds before connection times out (default: 10)\r\n -v    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"http\">check_http<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests the HTTP service on the specified host. It can test\r\nnormal (http) and secure (https) servers, follow redirects, search for\r\nstrings and regular expressions, check connection times, and report on\r\ncertificate expiration times.\r\n\r\nUsage:\r\n check_http (-H &lt;vhost&gt; | -I &lt;IP-address&gt;) [-u &lt;uri&gt;] [-p &lt;port&gt;]\r\n            [-w &lt;warn time&gt;] [-c &lt;critical time&gt;] [-t &lt;timeout&gt;] [-L]\r\n            [-a auth] [-f &lt;ok | warn | critcal | follow&gt;] [-e &lt;expect&gt;]\r\n            [-s string] [-r &lt;regex&gt; | -R &lt;case-insensitive regex&gt;]\r\n            [-P string]\r\n check_http (-h | --help) for detailed help\r\n check_http (-V | --version) for version information\r\nNOTE: One or both of -H and -I must be specified\r\n\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (virtual host)\r\n -I, --IP-address=ADDRESS\r\n   IP address or name (use numeric address if possible to bypass DNS lookup).\r\n -e, --expect=STRING\r\n   String to expect in first (status) line of server response (default: HTTP\/1.)\r\n   If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing)\r\n -s, --string=STRING\r\n   String to expect in the content\r\n -u, --url=PATH\r\n   URL to GET or POST (default: \/)\r\n -p, --port=INTEGER\r\n   Port number (default: 80)\r\n -P, --post=STRING\r\n   URL encoded http POST data\r\n -w, --warning=INTEGER\r\n   Response time to result in warning status (seconds)\r\n -c, --critical=INTEGER\r\n   Response time to result in critical status (seconds)\r\n -t, --timeout=INTEGER\r\n   Seconds before connection times out (default: 10)\r\n -a, --authorization=AUTH_PAIR\r\n   Username:password on sites with basic authentication\r\n -L, --link=URL\r\n   Wrap output in HTML link (obsoleted by urlize)\r\n -f, --onredirect=&lt;ok|warning|critical|follow&gt;\r\n   How to handle redirected pages\r\n -S, --ssl\r\n    Connect via SSL\r\n -C, --certificate=INTEGER\r\n    Minimum number of days a certificate has to be valid.\r\n    (when this option is used the url is not checked.)\r\n -v, --verbose\r\n    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n\r\nThis plugin can also check whether an SSL enabled web server is able to\r\nserve content (optionally within a specified time) or whether the X509\r\ncertificate is still valid for the specified number of days.\r\n\r\nCHECK CONTENT: check_http -w 5 -c 10 --ssl www.verisign.com\r\n\r\nWhen the 'www.verisign.com' server returns its content within 5 seconds, a\r\nSTATE_OK will be returned. When the server returns its content but exceeds\r\nthe 5-second threshold, a STATE_WARNING will be returned. When an error occurs,\r\na STATE_CRITICAL will be returned.\r\n\r\nCHECK CERTIFICATE: check_http www.verisign.com -C 14\r\n\r\nWhen the certificate of 'www.verisign.com' is valid for more than 14 days, a\r\nSTATE_OK is returned. When the certificate is still valid, but for less than\r\n14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when\r\nthe certificate is expired.\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"imap\">check_imap<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests IMAP connections with the specified host.\r\n\r\nUsage: check_imap -H host -p port [-w warn_time] [-c crit_time] [-s send]\r\n         [-e expect] [-W wait] [-t to_sec] [-v]\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (use numeric\r\n    address if possible to bypass DNS lookup).\r\n -p, --port=INTEGER\r\n    Port number\r\n -s, --send=STRING\r\n    String to send to the server\r\n -e, --expect=STRING\r\n    String to expect in server response -W, --wait=INTEGER\r\n    Seconds to wait between sending string and polling for response\r\n -w, --warning=DOUBLE\r\n    Response time to result in warning status (seconds)\r\n -c, --critical=DOUBLE\r\n    Response time to result in critical status (seconds)\r\n -t, --timeout=INTEGER\r\n    Seconds before connection times out (default: 10)\r\n -v    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"ircd\">check_ircd<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Perl Check IRCD plugin for Nagios\r\n\r\nUsage: check_ircd -H &lt;host&gt; [-w &lt;warn&gt;] [-c &lt;crit&gt;] [-p &lt;port&gt;]\r\n\r\n-H, --hostname=HOST\r\n   Name or IP address of host to check\r\n-w, --warning=INTEGER\r\n   Number of connected users which generates a warning state (Default: 50)\r\n-c, --critical=INTEGER\r\n   Number of connected users which generates a critical state (Default: 100)\r\n-p, --port=INTEGER\r\n   Port that the ircd daemon is running on &lt;host&gt; (Default: 6667)\r\n-v, --verbose\r\n   Print extra debugging information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"load\">check_load<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests the current system load average.\r\n\r\nUsage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15\r\n       check_load --version\r\n       check_load --help\r\n\r\nOptions:\r\n -w, --warning=WLOAD1,WLOAD5,WLOAD15\r\n   Exit with WARNING status if load average exceeds WLOADn\r\n -c, --critical=CLOAD1,CLOAD5,CLOAD15\r\n   Exit with CRITICAL status if load average exceed CLOADn\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n\r\nthe load average format is the same used by \"uptime\" and \"w\"\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"log\">check_log<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Usage: check_log -F logfile -O oldlog -q query\r\nUsage: check_log --help\r\nUsage: check_log --version\r\n\r\nLog file pattern detector plugin for Nagios\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"mailq\">check_mailq<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Usage: check_mailq [-w &lt;warn&gt;] [-c &lt;crit&gt;] [-t &lt;timeout&gt;] [-v verbose]\r\n\r\n   Checks the number of messages in the mail queue\r\n   Feedback\/patches to support non-sendmail mailqueue welcome\r\n\r\n-w (--warning)   = Min. number of messages in queue to generate warning\r\n-c (--critical)  = Min. number of messages in queu to generate critical alert ( w &lt; c )\r\n-t (--timeout)   = Plugin timeout in seconds (default = 15)\r\n-h (--help)\r\n-V (--version)\r\n-v (--verbose)   = deebugging output\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"mrtg\">check_mrtg<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin will check either the average or maximum value of one of the\r\ntwo variables recorded in an MRTG log file.\r\n\r\nUsage:\r\n check_mrtg -F log_file -a &lt;AVG | MAX&gt; -v variable -w warning -c critical\r\n            [-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\r\n check_mrtg (-h | --help) for detailed help\r\n check_mrtg (-V | --version) for version information\r\n\r\nOptions:\r\n -F, --logfile=FILE\r\n   The MRTG log file containing the data you want to monitor\r\n -e, --expires=MINUTES\r\n   Minutes before MRTG data is considered to be too old\r\n -a, --aggregation=AVG|MAX\r\n   Should we check average or maximum values?\r\n -v, --variable=INTEGER\r\n   Which variable set should we inspect? 1 or 2?\r\n -w, --warning=INTEGER\r\n   Threshold value for data to result in WARNING status\r\n -c, --critical=INTEGER\r\n   Threshold value for data to result in CRITICAL status\r\n -l, --label=STRING\r\n   Type label for data (Examples: Conns, \"Processor Load\", In, Out)\r\n -u, --units=STRING\r\n   Option units label for data (Example: Packets\/Sec, Errors\/Sec,\r\n   \"Bytes Per Second\", \"% Utilization\")\r\n -h, --help\r\n   Print detailed help screen\r\n -V, --version\r\n   Print version information\r\n\r\nIf the value exceeds the &lt;vwl&gt; threshold, a WARNING status is returned.  If\r\nthe value exceeds the &lt;vcl&gt; threshold, a CRITICAL status is returned.  If\r\nthe data in the log file is older than &lt;expire_minutes&gt; old, a WARNING\r\nstatus is returned and a warning message is printed.\r\n\r\nThis plugin is useful for monitoring MRTG data that does not correspond to\r\nbandwidth usage.  (Use the check_mrtgtraf plugin for monitoring bandwidth).\r\nIt can be used to monitor any kind of data that MRTG is monitoring - errors,\r\npackets\/sec, etc.  I use MRTG in conjuction with the Novell NLM that allows\r\nme to track processor utilization, user connections, drive space, etc and\r\nthis plugin works well for monitoring that kind of data as well.\r\n\r\nNotes:\r\n- This plugin only monitors one of the two variables stored in the MRTG log\r\n  file.  If you want to monitor both values you will have to define two\r\n  commands with different values for the &lt;variable&gt; argument.  Of course,\r\n  you can always hack the code to make this plugin work for you...\r\n- MRTG stands for the Multi Router Traffic Grapher.  It can be downloaded from\r\n  http:\/\/ee-staff.ethz.ch\/~oetiker\/webtools\/mrtg\/mrtg.html\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"mrtgraf\">check_mrtgtraf<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests the UPS service on the specified host.\r\n\r\nUsage: check_mrtgtraf  -F &lt;log_file&gt; -a &lt;AVG | MAX&gt; -v &lt;variable&gt; -w &lt;warning_pair&gt; -c &lt;critical_pair&gt;\r\n            [-e expire_minutes] [-t timeout] [-v]\r\n       check_mrtgtraf --help\r\n       check_mrtgtraf --version\r\n\r\nOptions:\r\n -F, --filename=STRING\r\n   File to read log from\r\n -e, --expires=INTEGER\r\n   Minutes after which log expires\r\n -a, --aggregation=(AVG|MAX)\r\n   Test average or maximum -w, --warning\r\n   Warning threshold pair \"&lt;incoming&gt;,&lt;outgoing&gt;\"\r\n -c, --critical\r\n   Critical threshold pair \"&lt;incoming&gt;,&lt;outgoing&gt;\"\r\n -h, --help\r\n   Print detailed help screen\r\n -V, --version\r\n   Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"nagios\">check_nagios<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin attempts to check the status of the Nagios process on the local\r\nmachine. The plugin will check to make sure the Nagios status log is no older\r\nthan the number of minutes specified by the &lt;expire_minutes&gt; option.  It also\r\nuses the \/bin\/ps command to check for a process matching whatever you specify\r\nby the &lt;process_string&gt; argument.\r\nUsage: check_nagios -F &lt;status log file&gt; -e &lt;expire_minutes&gt; -C &lt;process_string&gt;\r\n\r\nOptions:\r\n-F, --filename=FILE\r\n   Name of the log file to check\r\n-e, --expires=INTEGER\r\n   Seconds aging afterwhich logfile is condsidered stale\r\n-C, --command=STRING\r\n   Command to search for in process table\r\n-h, --help\r\n   Print this help screen\r\n-V, --version\r\n   Print version information\r\n\r\nExample:\r\n   .\/check_nagios -H \/usr\/local\/nagios\/var\/status.log -e 5 -C \/usr\/local\/nagios\/bin\/nagios\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"nntp\">check_nntp<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests NNTP connections with the specified host.\r\n\r\nUsage: check_nntp -H host -p port [-w warn_time] [-c crit_time] [-s send]\r\n         [-e expect] [-W wait] [-t to_sec] [-v]\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (use numeric\r\n    address if possible to bypass DNS lookup).\r\n -p, --port=INTEGER\r\n    Port number\r\n -s, --send=STRING\r\n    String to send to the server\r\n -e, --expect=STRING\r\n    String to expect in server response -W, --wait=INTEGER\r\n    Seconds to wait between sending string and polling for response\r\n -w, --warning=DOUBLE\r\n    Response time to result in warning status (seconds)\r\n -c, --critical=DOUBLE\r\n    Response time to result in critical status (seconds)\r\n -t, --timeout=INTEGER\r\n    Seconds before connection times out (default: 10)\r\n -v    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"ntp\">check_ntp<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Usage: check_ntp -H &lt;host&gt; [-w &lt;warn&gt;] [-c &lt;crit&gt;] [-v verbose]\r\n\r\n&lt;warn&gt; = Clock offset in seconds at which a warning message will be generated.\r\n        Defaults to 60.\r\n&lt;crit&gt; = Clock offset in seconds at which a critical message will be generated.\r\n        Defaults to 120.\r\n\r\nThe same warning and critical values are used to check against the dispersion\r\ncolumn of ntpdc\/xntpdc for the host being queried.\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"nwstat\">check_nwstat<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin attempts to contact the MRTGEXT NLM running on a Novell server\r\nto gather the requested system information.\r\n\r\nUsage:\r\n check_nwstat -H host [-v variable] [-w warning] [-c critical]\r\n              [-p port] [-t timeout]\r\n check_nwstat (-h | --help) for detailed help\r\n check_nwstat (-V | --version) for version information\r\n\r\nOptions:\r\n-H, --hostname=HOST\r\n  Name of the host to check\r\n-v, --variable=STRING\r\n  Variable to check.  Valid variables include:\r\n     LOAD1    = 1 minute average CPU load\r\n     LOAD5    = 5 minute average CPU load\r\n     LOAD15   = 15 minute average CPU load\r\n     CONNS    = number of currently licensed connections\r\n     VPF&lt;vol&gt; = percent free space on volume &lt;vol&gt;\r\n     VKF&lt;vol&gt; = KB of free space on volume &lt;vol&gt;\r\n     LTCH     = percent long term cache hits\r\n     CBUFF    = current number of cache buffers\r\n     CDBUFF   = current number of dirty cache buffers\r\n     LRUM     = LRU sitting time in minutes\r\n     DSDB     = check to see if DS Database is open\r\n     LOGINS   = check to see if logins are enabled\r\n     UPRB     = used packet receive buffers\r\n     PUPRB    = percent (of max) used packet receive buffers\r\n     SAPENTRIES = number of entries in the SAP table\r\n     SAPENTRIES&lt;n&gt; = number of entries in the SAP table for SAP type &lt;n&gt;\r\n     OFILES   = number of open files\r\n     VPP&lt;vol&gt; = percent purgeable space on volume &lt;vol&gt;\r\n     VKP&lt;vol&gt; = KB of purgeable space on volume &lt;vol&gt;\r\n     VPNP&lt;vol&gt; = percent not yet purgeable space on volume &lt;vol&gt;\r\n     VKNP&lt;vol&gt; = KB of not yet purgeable space on volume &lt;vol&gt;\r\n     ABENDS   = number of abended threads (NW 5.x only)\r\n     CSPROCS  = number of current service processes (NW 5.x only)\r\n-w, --warning=INTEGER\r\n  Threshold which will result in a warning status\r\n-c, --critical=INTEGER\r\n  Threshold which will result in a critical status\r\n-p, --port=INTEGER\r\n  Optional port number (default: 9999)\r\n-t, --timeout=INTEGER\r\n  Seconds before connection attempt times out (default: 10)\r\n-o, --osversion\r\n  Include server version string in results\r\n-h, --help\r\n  Print this help screen\r\n-V, --version\r\n  Print version information\r\n\r\nNotes:\r\n- This plugin requres that the MRTGEXT.NLM file from James Drews' MRTG\r\n  extension for NetWare be loaded on the Novell servers you wish to check.\r\n  (available from http:\/\/www.engr.wisc.edu\/~drews\/mrtg\/)\r\n- Values for critical thresholds should be lower than warning thresholds\r\n  when the following variables are checked: VPF, VKF, LTCH, CBUFF, and LRUM.\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"overcr\">check_overcr<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin attempts to contact the Over-CR collector daemon running on the\r\nremote UNIX server in order to gather the requested system information. This\r\nplugin requres that Eric Molitors' Over-CR collector daemon be running on the\r\nremote server. Over-CR can be downloaded from http:\/\/www.molitor.org\/overcr\r\n(This plugin was tested with version 0.99.53 of the Over-CR collector)\r\n\r\nUsage: check_overcr -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]\r\n\r\nOptions:\r\n-H, --hostname=HOST\r\n   Name of the host to check\r\n-p, --port=INTEGER\r\n   Optional port number (default: 2000)\r\n-v, --variable=STRING\r\n   Variable to check.  Valid variables include:\r\n     LOAD1         = 1 minute average CPU load\r\n     LOAD5         = 5 minute average CPU load\r\n     LOAD15        = 15 minute average CPU load\r\n     DPU&lt;filesys&gt;  = percent used disk space on filesystem &lt;filesys&gt;\r\n     PROC&lt;process&gt; = number of running processes with name &lt;process&gt;\r\n     NET&lt;port&gt;     = number of active connections on TCP port &lt;port&gt;\r\n     UPTIME        = system uptime in seconds\r\n -w, --warning=INTEGER\r\n   Threshold which will result in a warning status\r\n -c, --critical=INTEGER\r\n   Threshold which will result in a critical status\r\n -t, --timeout=INTEGER\r\n   Seconds before connection attempt times out (default: 10)\r\n-h, --help\r\n   Print this help screen\r\n-V, --version\r\n   Print version information\r\n\r\nNotes:\r\n - For the available options, the critical threshold value should always be\r\n   higher than the warning threshold value, EXCEPT with the uptime variable\r\n   (i.e. lower uptimes are worse).\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"ping\">check_ping<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Use ping to check connection statistics for a remote host.\r\n\r\nUsage:\r\n check_ping -H &lt;host_address&gt; -w &lt;wrta&gt;,&lt;wpl&gt;%% -c &lt;crta&gt;,&lt;cpl&gt;%%\r\n       [-p packets] [-t timeout] [-L]\r\n\r\n check_ping (-h | --help) for detailed help\r\n check_ping (-V | --version) for version information\r\n\r\nOptions:\r\n-H, --hostname=HOST\r\n   host to ping\r\n-w, --warning=THRESHOLD\r\n   warning threshold pair\r\n-c, --critical=THRESHOLD\r\n   critical threshold pair\r\n-p, --packets=INTEGER\r\n   number of ICMP ECHO packets to send (Default: 5)\r\n-t, --timeout=INTEGER\r\n   optional specified timeout in second (Default: 10)\r\n-L, --link\r\n   show HTML in the plugin output (obsoleted by urlize)\r\nTHRESHOLD is &lt;rta&gt;,&lt;pl&gt;% where &lt;rta&gt; is the round trip average travel\r\ntime (ms) which triggers a WARNING or CRITICAL state, and &lt;pl&gt; is the\r\npercentage of packet loss to trigger an alarm state.\r\n\r\nThis plugin uses the ping command to probe the specified host for packet loss\r\n(percentage) and round trip average (milliseconds). It can produce HTML output\r\nlinking to a traceroute CGI contributed by Ian Cass. The CGI can be found in\r\nthe contrib area of the downloads section at http:\/\/www.nagios.org\/\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"pop\">check_pop<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests POP connections with the specified host.\r\n\r\nUsage: check_pop -H host -p port [-w warn_time] [-c crit_time] [-s send]\r\n         [-e expect] [-W wait] [-t to_sec] [-v]\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (use numeric\r\n    address if possible to bypass DNS lookup).\r\n -p, --port=INTEGER\r\n    Port number\r\n -s, --send=STRING\r\n    String to send to the server\r\n -e, --expect=STRING\r\n    String to expect in server response -W, --wait=INTEGER\r\n    Seconds to wait between sending string and polling for response\r\n -w, --warning=DOUBLE\r\n    Response time to result in warning status (seconds)\r\n -c, --critical=DOUBLE\r\n    Response time to result in critical status (seconds)\r\n -t, --timeout=INTEGER\r\n    Seconds before connection times out (default: 10)\r\n -v    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"procs\">check_procs<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Check the number of currently running processes and generates WARNING or\r\nCRITICAL states if the process count is outside the specified threshold\r\nranges. The process count can be filtered by process owner, parent process\r\nPID, current state (e.g., 'Z'), or may be the total number of running\r\nprocesses\r\n\r\nUsage:\r\n check_procs -w &lt;range&gt; -c &lt;range&gt; [-s state] [-p ppid] [-u user]\r\n             [-a argument-array] [-C command]\r\n check_procs --version\r\n check_procs --help\r\n\r\nRequired Arguments:\r\n -w, --warning=RANGE\r\n    generate warning state if process count is outside this range\r\n -c, --critical=RANGE\r\n    generate critical state if process count is outside this range\r\n\r\nOptional Filters:\r\n -s, --state=STATUSFLAGS\r\n    Only scan for processes that have, in the output of `ps`, one or\r\n    more of the status flags you specify (for example R, Z, S, RS,\r\n    RSZDT, plus others based on the output of your 'ps' command).\r\n -p, --ppid=PPID\r\n    Only scan for children of the parent process ID indicated.\r\n -u, --user=USER\r\n    Only scan for proceses with user name or ID indicated.\r\n -a, --argument-array=STRING\r\n    Only scan for ARGS that match up to the length of the given STRING\r\n -C, --command=COMMAND\r\n    Only scan for exact matches to the named COMMAND.\r\n\r\nRANGEs are specified 'min:max' or 'min:' or ':max' (or 'max'). If\r\nspecified 'max:min', a warning status will be generated if the\r\ncount is inside the specified range\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"real\">check_real<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests the REAL service on the specified host.\r\n\r\nUsage: check_real -H host [-e expect] [-p port] [-w warn] [-c crit]\r\n            [-t timeout] [-v]\r\n       check_real --help\r\n       check_real --version\r\n\r\nOptions:\r\n -H, --hostname=STRING or IPADDRESS\r\n   Check this server on the indicated host\r\n -I, --IPaddress=STRING or IPADDRESS\r\n   Check server at this host address\r\n -p, --port=INTEGER\r\n   Make connection on the indicated port (default: 554)\r\n -u, --url=STRING\r\n   Connect to this url\r\n -e, --expect=STRING\r\n   String to expect in first line of server response (default: RTSP\/1.)\r\n -w, --warning=INTEGER\r\n   Seconds necessary to result in a warning status\r\n -c, --critical=INTEGER\r\n   Seconds necessary to result in a critical status\r\n -t, --timeout=INTEGER\r\n   Seconds before connection attempt times out (default: 10)\r\n -v, --verbose\r\n   Print extra information (command-line use only)\r\n -h, --help\r\n   Print detailed help screen\r\n -V, --version\r\n   Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"rpc\">check_rpc<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Check if a rpc service is registered and running using\r\n      rpcinfo -H host -C rpc_command\r\n\r\nUsage:\r\n check_rpc -H host -C rpc_command [-p port] [-c program_version] [-u|-t] [-v]\r\n check_rpc [-h | --help]\r\n check_rpc [-V | --version]\r\n\r\n  &lt;host&gt;          The server providing the rpc service\r\n  &lt;rpc_command&gt;   The program name (or number).\r\n  &lt;program_version&gt; The version you want to check for (one or more)\r\n                    Should prevent checks of unknown versions being syslogged\r\n                    e.g. 2,3,6 to check v2, v3, and v6\r\n  [-u | -t]       Test UDP or TCP\r\n  [-v]            Verbose\r\n  [-v -v]         Verbose - will print supported programs and numbers\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"sensors\">check_sensors<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin checks hardware status using the lm_sensors package.\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"smtp\">check_smtp<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin test the SMTP service on the specified host.\r\n\r\nUsage: check_smtp -H host [-e expect] [-p port] [-f from addr] [-w warn] [-c crit] [-t timeout] [-v]\r\n       check_smtp --help\r\n       check_smtp --version\r\n\r\nOptions:\r\n -H, --hostname=STRING or IPADDRESS\r\n   Check server on the indicated host\r\n -p, --port=INTEGER\r\n   Make connection on the indicated port (default: 25)\r\n -e, --expect=STRING\r\n   String to expect in first line of server response (default: 220)\r\n -f, --from=STRING\r\n   from address to include in MAIL command (default NULL, Exchange2000 requires one)\r\n -w, --warning=INTEGER\r\n   Seconds necessary to result in a warning status\r\n -c, --critical=INTEGER\r\n   Seconds necessary to result in a critical status\r\n -t, --timeout=INTEGER\r\n   Seconds before connection attempt times out (default: 10)\r\n -v, --verbose\r\n   Print extra information (command-line use only)\r\n -h, --help\r\n   Print detailed help screen\r\n -V, --version\r\n   Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"ssh\">check_ssh<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Usage:\r\n check_ssh -t [timeout] -p [port] &lt;host&gt;\r\n check_ssh -V prints version info\r\n check_ssh -h prints more detailed help\r\nby default, port is 22\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"swap\">check_swap<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin will check all of the swap partitions and return an\r\nerror if the the avalable swap space is less than specified.\r\n\r\nUsage: check_swap -w &lt;used_percentage&gt;% -c &lt;used_percentage&gt;%\r\n       check_swap -w &lt;bytes_free&gt; -c &lt;bytes_free&gt;\r\n       check_swap (-V|--version)\r\n       check_swap (-h|--help)\r\n\r\nOptions:\r\n -w, --warning=INTEGER\r\n   Exit with WARNING status if less than INTEGER bytes of swap space are free\r\n -w, --warning=PERCENT%\r\n   Exit with WARNING status if more than PERCENT of swap space has been used\r\n -c, --critical=INTEGER\r\n   Exit with CRITICAL status if less than INTEGER bytes of swap space are free\r\n -c, --critical=PERCENT%\r\n   Exit with CRITCAL status if more than PERCENT of swap space has been used\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"tcp\">check_tcp<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests TCP connections with the specified host.\r\n\r\nUsage: check_tcp -H host -p port [-w warn_time] [-c crit_time] [-s send]\r\n         [-e expect] [-W wait] [-t to_sec] [-v]\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (use numeric\r\n    address if possible to bypass DNS lookup).\r\n -p, --port=INTEGER\r\n    Port number\r\n -s, --send=STRING\r\n    String to send to the server\r\n -e, --expect=STRING\r\n    String to expect in server response -W, --wait=INTEGER\r\n    Seconds to wait between sending string and polling for response\r\n -w, --warning=DOUBLE\r\n    Response time to result in warning status (seconds)\r\n -c, --critical=DOUBLE\r\n    Response time to result in critical status (seconds)\r\n -t, --timeout=INTEGER\r\n    Seconds before connection times out (default: 10)\r\n -v    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"time\">check_time<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Check time on the specified host.\r\n\r\nUsage:\r\n check_time -H &lt;host_address&gt; [-p port] [-w variance] [-c variance]\r\n           [-W connect_time] [-C connect_time] [-t timeout]\r\n check_time (-h | --help) for detailed help\r\n check_time (-V | --version) for version information\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (use numeric\r\n    address if possible to bypass DNS lookup).\r\n -w, --warning-variance=INTEGER\r\n    Time difference (sec.) necessary to result in a warning status\r\n -c, --critical-variance=INTEGER\r\n    Time difference (sec.) necessary to result in a critical status\r\n -W, --warning-connect=INTEGER\r\n    Response time (sec.) necessary to result in warning status\r\n -C, --critical-connect=INTEGER\r\n    Response time (sec.) necessary to result in critical status\r\n -t, --timeout=INTEGER\r\n    Seconds before connection times out (default: 10)\r\n -p, --port=INTEGER\r\n    Port number (default: 37)\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"udp\">check_udp<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin tests an UDP connection with the specified host.\r\n\r\nUsage: check_udp -H &lt;host_address&gt; [-p port] [-w warn_time] [-c crit_time]\r\n         [-e expect] [-s send] [-t to_sec] [-v]\r\nOptions:\r\n -H, --hostname=ADDRESS\r\n    Host name argument for servers using host headers (use numeric\r\n    address if possible to bypass DNS lookup).\r\n -p, --port=INTEGER\r\n    Port number\r\n -e, --expect=STRING &lt;optional&gt;\r\n    String to expect in first line of server response\r\n -s, --send=STRING &lt;optional&gt;\r\n    String to send to the server when initiating the connection\r\n -w, --warning=INTEGER &lt;optional&gt;\r\n    Response time to result in warning status (seconds)\r\n -c, --critical=INTEGER &lt;optional&gt;\r\n    Response time to result in critical status (seconds)\r\n -t, --timeout=INTEGER &lt;optional&gt;\r\n    Seconds before connection times out (default: 10)\r\n -v, --verbose &lt;optional&gt;\r\n    Show details for command-line debugging (do not use with nagios server)\r\n -h, --help\r\n    Print detailed help screen and exit\r\n -V, --version\r\n    Print version information and exit\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"users\">check_users<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin checks the number of users currently logged in on the local\r\nsystem and generates an error if the number exceeds the thresholds specified.\r\nUsage: check_users -w &lt;users&gt; -c &lt;users&gt;\r\nOptions:\r\n -w, --warning=INTEGER\r\n    Set WARNING status if more than INTEGER users are logged in\r\n -c, --critical=INTEGER\r\n    Set CRITICAL status if more than INTEGER users are logged in\r\n -h, --help\r\n    Print detailed help screen\r\n -V, --version\r\n    Print version information\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"vsz\">check_vsz<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>This plugin checks the image size of a running program and returns an\r\nerror if the number is above either of the thresholds given.\r\n\r\nUsage: check_vsz -w &lt;wsize&gt; -c &lt;csize&gt; [-C command]\r\n       check_vsz --help\r\n       check_vsz --version\r\n\r\nOptions:\r\n -h, --help\r\n    Print detailed help\r\n -V, --version\r\n    Print version numbers and license information\r\n -w, --warning=INTEGER\r\n    Program image size necessary to cause a WARNING state\r\n -c, --critical=INTEGER\r\n    Program image size necessary to cause a CRITICAL state\r\n -C, --command=STRING\r\n    Program to search for [optional]\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n<h3><a name=\"wave\">check_wave<\/a><\/h3>\n<p><strong> <\/strong><\/p>\n<pre><strong>Usage: check_wave -H &lt;host&gt; [-w &lt;warn&gt;] [-c &lt;crit&gt;]\r\n\r\n&lt;warn&gt; = Signal strength at which a warning message will be generated.\r\n&lt;crit&gt; = Signal strength at which a critical message will be generated.\r\n<\/strong><\/pre>\n<p><strong> <\/strong><\/p>\n<p><a href=\"#top\"><br \/>\n<span>[top]<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These are specified in the $NAGIOSHOME\/etc\/checkcommands.cfg file. Where there are parameters available for a command, these can be passed through from services.cfg.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[81],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/171"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=171"}],"version-history":[{"count":6,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":181,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/171\/revisions\/181"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}