Man page - naemonstats(8)

Packages contains this manual

Manual

NAEMONSTATS

NAME
SYNOPSIS
DESCRIPTION
Startup:
Input file:
Output:
MRTG DATA VARIABLES (-d option):

NAME

naemonstats - gather statistics from naemon core

SYNOPSIS

naemonstats [ options ]

DESCRIPTION

Naemon Stats 1.5.0 Copyright Β© 2013-present Naemon Development Team (www.naemon.io) Copyright Β© 2003-2008 Ethan Galstad (www.nagios.org) License: GPL

Startup:

-V , --version

display program version information and exit.

-L , --license

display license information and exit.

-h , --help

display usage information and exit.

Input file:

-c , --config = FILE

specifies location of main Naemon config file.

-s , --statsfile = FILE

specifies alternate location of file to read Naemon performance data from.

Output:

-m , --mrtg

display output in MRTG compatible format.

-d , --data = VARS

comma-seperated list of variables to output in MRTG (or compatible) format. See possible values below. Percentages are rounded, times are in milliseconds.

-D , --delimiter = C

character to use as delimiter in MRTG output mode. Defaults to a newline.

MRTG DATA VARIABLES (-d option):

PROGRUNTIME

string with time Naemon process has been running.

PROGRUNTIMETT

time Naemon process has been running (time_t format).

STATUSFILEAGE

string with age of status data file.

STATUSFILEAGETT

string with age of status data file (time_t format).

NAGIOSVERSION

string with Naemon version.

NAGIOSPID

pid number of Naemon daemon.

NAGIOSVERPID

string with Naemon version and PID.

TOTCMDBUF

total number of external command buffer slots available.

USEDCMDBUF

number of external command buffer slots currently in use.

HIGHCMDBUF

highest number of external command buffer slots ever in use.

NUMSERVICES

total number of services.

NUMHOSTS

total number of hosts.

NUMSVCOK

number of services OK.

NUMSVCWARN

number of services WARNING.

NUMSVCUNKN

number of services UNKNOWN.

NUMSVCCRIT

number of services CRITICAL.

NUMSVCPROB

number of service problems (WARNING, UNKNOWN or CRITIAL).

NUMSVCCHECKED

number of services that have been checked since start.

NUMSVCSCHEDULED

number of services that are currently scheduled to be checked.

NUMSVCFLAPPING

number of services that are currently flapping.

NUMSVCDOWNTIME

number of services that are currently in downtime.

NUMHSTUP

number of hosts UP.

NUMHSTDOWN

number of hosts DOWN.

NUMHSTUNR

number of hosts UNREACHABLE.

NUMHSTPROB

number of host problems (DOWN or UNREACHABLE).

NUMHSTCHECKED

number of hosts that have been checked since start.

NUMHSTSCHEDULED

number of hosts that are currently scheduled to be checked.

NUMHSTFLAPPING

number of hosts that are currently flapping.

NUMHSTDOWNTIME

number of hosts that are currently in downtime.

NUMHSTACTCHKxM

number of hosts actively checked in last 1/5/15/60 minutes.

NUMHSTPSVCHKxM

number of hosts passively checked in last 1/5/15/60 minutes.

NUMSVCACTCHKxM

number of services actively checked in last 1/5/15/60 minutes.

NUMSVCPSVCHKxM

number of services passively checked in last 1/5/15/60 minutes.

xxxACTSVCLAT

MIN/MAX/AVG active service check latency (ms).

xxxACTSVCEXT

MIN/MAX/AVG active service check execution time (ms).

xxxACTSVCPSC

MIN/MAX/AVG active service check % state change.

xxxPSVSVCLAT

MIN/MAX/AVG passive service check latency (ms).

xxxPSVSVCPSC

MIN/MAX/AVG passive service check % state change.

xxxSVCPSC

MIN/MAX/AVG service check % state change.

xxxACTHSTLAT

MIN/MAX/AVG active host check latency (ms).

xxxACTHSTEXT

MIN/MAX/AVG active host check execution time (ms).

xxxACTHSTPSC

MIN/MAX/AVG active host check % state change.

xxxPSVHSTLAT

MIN/MAX/AVG passive host check latency (ms).

xxxPSVHSTPSC

MIN/MAX/AVG passive host check % state change.

xxxHSTPSC

MIN/MAX/AVG host check % state change.

NUMACTHSTCHECKSxM

number of total active host checks occurring in last 1/5/15 minutes.

NUMOACTHSTCHECKSxM

number of on-demand active host checks occurring in last 1/5/15 minutes.

NUMCACHEDHSTCHECKSxM number of cached host checks occurring in last 1/5/15 minutes. NUMSACTHSTCHECKSxM number of scheduled active host checks occurring in last 1/5/15 minutes. NUMPARHSTCHECKSxM number of parallel host checks occurring in last 1/5/15 minutes. NUMSERHSTCHECKSxM number of serial host checks occurring in last 1/5/15 minutes. NUMPSVHSTCHECKSxM number of passive host checks occurring in last 1/5/15 minutes. NUMACTSVCCHECKSxM number of total active service checks occurring in last 1/5/15 minutes. NUMOACTSVCCHECKSxM number of on-demand active service checks occurring in last 1/5/15 minutes. NUMCACHEDSVCCHECKSxM number of cached service checks occurring in last 1/5/15 minutes. NUMSACTSVCCHECKSxM number of scheduled active service checks occurring in last 1/5/15 minutes. NUMPSVSVCCHECKSxM number of passive service checks occurring in last 1/5/15 minutes. NUMEXTCMDSxM number of external commands processed in last 1/5/15 minutes.

Note: Replace x’s in MRTG variable names with ’MIN’, ’MAX’, ’AVG’, or the

the appropriate number (i.e. ’1’, ’5’, ’15’, or ’60’).

Naemon Stats 1.5.0 Copyright Β© 2013-present Naemon Development Team (www.naemon.io) Copyright Β© 2003-2008 Ethan Galstad (www.nagios.org) License: GPL

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.