nagcon

Introduction

Nagcon is a console application interfacing to Nagios which gives you an overview of all services with troubled services.

Download

Download link:nagcon-0.0.30.tgz
nagcon-0.0.26.tgz
nagcon-0.0.18.tgz
nagcon-0.0.17.tgz

Nagcon connecting over the network to the nagios service

Add the following to /etc/services (all on the host 'x' where 'x' is your nagios server):
nagstat         33333/tcp  # Nagios Status
Add the following to /etc/inetd.conf:
nagstat stream  tcp nowait root /usr/sbin/tcpd /usr/local/bin/nagios-status
and create /usr/local/bin/nagios-status:
#!/bin/sh

/bin/cat /usr/local/nagios/var/status.log
where /usr/local/nagios/var/status.log is the file as defined with 'status_file=' in nagios.cfg.
Now with nagcon -F x:33333 one can connect to the nagios server 'x'.

Commercial


Changes

0.0.30 some fixes to get Nagios 3.0 support really work
0.0.26 added Nagios 3.0 support, stability fixes
0.0.18 various optimalisations
0.0.17 "pending state" could cause a segfault
0.0.16 performance optimalisation
0.0.15 one can now set the sort order (thanks Douglas K. Rand)
0.0.14 nagcon can now also parse nagios 1.0 statusfiles! it now can also retrieve status.log-files over the network
0.0.13 fixed an occasional segfault caused by a double free
0.0.12 nagcon would fail if a host become unreachable
0.0.10 fixed an occasional segfault when the status.log could not be read
0.0.9 critical hosts were displayed with the wrong color
0.0.8 hosts that are down were not shown, fixed a segfault (when status.log was truncated), small performance optimalisations
0.0.7 soft/hard state type was ignored, is now fixed
0.0.5 hosts/services with scheduled downtime can now be suppressed
0.0.4 settings can be changed at runtime (press 'h' for help) and column-width can be set from commandline
0.0.3 fixed a memory leak
0.0.2 services of hosts that are down will no longer be displayed (can be enabled)
0.0.1 initial release

Screendump

screendump of nagcon

Links

You might be interested in CoffeeSaint: an application that shows the status of Nagios (version 1 up to 3 and the newer XI) on a screen. It can, if there are no errors, display a Webcam feed. If an error status occurs, it can play a sound. One can configure it to display certain errors/warnings always on top. It is remotely configurable via a built-in Web interface.

If you're interested in the Nagios monitoring software or the Nagios Incident Manager, please follow this link to the Nagios website: it pays the hosting costs for vanheusden.com. Thanks!

check_nagios_summary enables you to do perform distributed monitoring.
NagiosDigger: a web-interface to the historical Nagios logging.
NagIRCBot announces the Nagios status on an IRC channel.
NagTail is like tail on the Nagios status logfile.


Check out my united states Mega Millions lottery winning help page