<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>

<refentry>
  <refentryinfo>
    <author>
        <firstname>Lionel</firstname>
        <surname>Porcheron</surname>
        <mail>lionel@alveonet.org</mail>
    </author>
    <copyright>
      <year>2006</year>
      <holder>Lionel Porcheron</holder>
    </copyright>
    <date>2006-08-01</date>
  </refentryinfo>
  <refmeta>
   <refentrytitle>nagcon</refentrytitle>
   <manvolnum>1</manvolnum>
  </refmeta>
  <refnamediv>
    <refname>nagcon</refname>

    <refpurpose>nagcon is a console application interfacing to nagios</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      <command>nagcon</command>
      <arg choice="opt">
        <option><replaceable>options</replaceable></option>
      </arg>
    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>DESCRIPTION</title>

    <para>This manual page documents briefly the
      <command>nagcon</command> command.</para>

    <para>nagcon is a console application to get status of services monitored by nagios</para>

  </refsect1>
  <refsect1>
    <title>OPTIONS</title>
    <para>
      <variablelist>
        <title>Generic options:</title>
        <varlistentry>
          <term> <option>-h</option> </term>
          <listitem> <para>Show help about options</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-f file</option> </term>
          <listitem> <para>what file to monitor (usually: /var/log/nagios/status.log)</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-F host:port</option> </term>
          <listitem> <para>connect to a host for retrieving the status.log information</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-i x</option> </term>
          <listitem> <para>check interval (in seconds)</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-a</option> </term>
          <listitem> <para>list also the services for hosts that are down</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-n</option> </term>
          <listitem> <para>also display services for which notify has been switched off</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-k</option> </term>
          <listitem> <para>also display problems that already have been acknowledged</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-g</option> </term>
          <listitem> <para>turn off grouping by status</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-s</option> </term>
          <listitem> <para>change sort order</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-e/-o</option> </term>
          <listitem> <para>suppress services with ok status</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-x</option> </term>
          <listitem> <para>status.log-file is in Nagios 1.0 format</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-X</option> </term>
          <listitem> <para>status.log-file is in Nagios 2.0 format</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-1 x</option> </term>
          <listitem> <para>set width of hostname column</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-2 x</option> </term>
          <listitem> <para>set width of service description column</para> </listitem>
        </varlistentry>
        <varlistentry>
          <term> <option>-V</option> </term>
          <listitem> <para>display version</para> </listitem>
        </varlistentry>
        </variablelist>
        </para>
  </refsect1>

  <refsect1>
    <title>AUTHOR</title>

    <para>This manual page was written by Lionel Porcheron 
     <email>lionel@alveonet.org</email> for the 
      <productname>Debian</productname> system (but may be used by others).
      Permission is granted to copy, distribute and/or modify this
      document under the terms of the <acronym>GNU</acronym> 
      General Public License, Version 2 any 
      later version published by the Free Software Foundation.
    </para>
	<para>
	  On Debian systems, the complete text of the GNU General Public
	  License can be found in /usr/share/common-licenses/GPL.
	</para>

  </refsect1>
</refentry>

