• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

config/H24-Aug-2016-3,8883,257

.gitignoreH A D24-Aug-201672 87

CHANGESH A D24-Aug-20169.9 KiB343183

LICENSEH A D24-Aug-2016754 1711

Makefile.inH A D03-May-20221.5 KiB5738

READMEH A D24-Aug-20162.2 KiB8955

TODOH A D24-Aug-2016206 105

VERSIONH A D24-Aug-201613 21

cmds.cH A D24-Aug-201613 KiB513435

cnagios.1H A D24-Aug-20162.3 KiB6766

cnagios.1.mdocH A D24-Aug-20162.3 KiB7170

cnagios.cH A D24-Aug-20167.7 KiB285234

cnagios.h.inH A D24-Aug-20164.2 KiB156125

cnagios.helpH A D24-Aug-2016913 2421

cnagios.plH A D24-Aug-20162.8 KiB10653

cnagiosrcH A D24-Aug-2016480 2214

configureH A D24-Aug-201693 KiB3,2712,626

configure.inH A D24-Aug-20164.8 KiB185156

debug.cH A D24-Aug-2016417 2414

dotfile.cH A D24-Aug-20169.2 KiB329253

draw.cH A D24-Aug-201616.3 KiB523410

help.cH A D24-Aug-2016652 4328

perl.cH A D24-Aug-20162.6 KiB12698

read.cH A D24-Aug-20167.1 KiB273229

readv1.cH A D24-Aug-20169.7 KiB258214

readv23.cH A D24-Aug-201619.4 KiB551458

update.cH A D24-Aug-2016499 3016

version.hH A D24-Aug-201623 21

README

1
2
3 Welcome to Cnagios!
4
5 Cnagios is a full-screen terminal interface for viewing Nagios HOST
6 and SERVICE objects, and the durations of their current states.  It's
7 lightning fast because it's written in C using the curses library.
8 And it's super flexible because it uses the perl C library to shorten
9 and alter host, service and plugin output and filter the displayed
10 HOSTs or SERVICEs.
11
12 Download...
13
14   https://github.com/dannywarren/cnagios/releases
15
16 To use Cnagios, you'll need Unix, nagios, perl and the curses (or
17 ncurses) libraries.
18
19 To configure, build and install Cnagios, do...
20
21   ./configure
22   make
23   make install
24
25 If you want to install cnagios and it's man page in /usr/local then
26 do "make install2".
27
28 To run Cnagios, add "/usr/local/nagios/bin" to your PATH (or copy
29 cnagios into /usr/bin) and do...
30
31   cnagios
32
33 If you don't like the full-color display, try...
34
35   cnagios -b
36
37 To launch Cnagios from your window manager, configure it to run
38 color Cnagios in a wide xterm terminal with no scroll bar... my
39 favorite invocation is...
40
41   xterm +sb -geom 100x35 -rv -e \
42    /usr/local/nagios/bin/cnagios -s a -A 4h
43
44 To modify the default/start-up configuration of cnagios, edit
45 the /usr/local/nagios/etc/cnagiosrc and/or ~/.cnagiosrc file(s).
46
47 You can also create permanent text (grep like) filters or negative
48 (grep -v like) filters by editing the /usr/local/nagios/etc/cnagiosrc
49 and/or ~/.cnagiosrc file(s).  These filters are perl regular expressions.
50 For example, the entry...
51
52   f3 text =~ /IMAP|SMTP/
53
54 and hitting the "F3" key will cause cnagios to only display objects
55 matching "IMAP" or "SMTP".
56
57 To modify host, service and plugin output, edit the perl code in...
58
59   /usr/local/nagios/etc/cnagios.pl
60
61 Refer to...
62
63   https://github.com/dannywarren/cnagios/blob/master/cnagios.pl
64
65 for lots of examples.
66
67 --
68
69 steve
70 director of computing
71 physics department
72 university of wisconsin
73
74 --
75
76 Steve died in his prime, on May 24, 2013.
77
78 http://www.news.wisc.edu/21829
79
80 dan bradley
81 physics department
82 university of wisconsin
83
84 --
85
86 Moved source from noc.hep.wisc.edu to github with the permission of Dan Bradley.
87
88 https://github.com/dannywarren/cnagios
89