GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CNAGIOS(1) FreeBSD General Commands Manual CNAGIOS(1)

cnagios - colorized console display for viewing Nagios status information

cnagios [-bdhV] [-A age] [-a age] [-g /perl_regex/] [-i interval] [-l u|d|o|w|c] [-m h|s] [-P rows] [-p rows] [-s n|a] [-v /perl_regex/]

cnagios is a full-screen terminal interface for viewing Nagios HOST and SERVICE objects, and the durations of their current states.

It's quite fast, much faster than the Nagios web interface, because it's written in C using the curses library. And it's very flexible, because it uses hooks directly into the Perl C library to shorten host, service and plugin output, and also filter the displayed HOSTs or SERVICEs.

The following summarizes the options:

-A <age>         filter UP/OKAY objects by age less than <age>
-a <age>         filter objects by age less than <age>
-b               display in black and white
-d               print debug info to stderr
-g /perl_regex/  filter host/service/plugin-output with /perl_regex/
-h               print (this) usage info
-i <integer>     set polling interval to <integer> seconds (default is 90)
-l <u|d|o|w|c>   display objects with UP/DOWN/OK/WARNING/CRITICAL status
-m <h|s>         display HOST objects or SERVICE objects
-P <integer>     set header padding to <integer> (default is 2)
-p <integer>     set row/column padding to <integer> (default is 1)
-s <n|a>         sort objects by-name or by-age
-V               print version and exit
-v /perl_regex/  negative filter host/service/plugin-output with /perl_regex/
fi

<inst_dir>/etc/cnagios.pl  Perl hooks for shortening/altering output
<inst_dir>/etc/cnagiosrc   System-wide startup file
$HOME/.cnagiosrc           User defined startup file

TERM and TERMINFO will be used to control the display, as per ncurses(3.)

cnagios has a very venerable history. It's a clone of the "Internet Rover" display that was used to monitor NSFNET (the progenitor to the Internet) as early as 1987.

Nagios

cnagios was written by Steve Rader at the University of Wisconsin Physics Department. It is not part of the official Nagios distribution.
February 5, 2008

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.