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