![]() |
nagconIntroductionNagcon is a console application interfacing to Nagios which gives you an overview of all services with troubled services.Download
Nagcon connecting over the network to the nagios serviceAdd the following to /etc/services (all on the host 'x' where 'x' is your nagios server):nagstat 33333/tcp # Nagios StatusAdd the following to /etc/inetd.conf: nagstat stream tcp nowait root /usr/sbin/tcpd /usr/local/bin/nagios-statusand create /usr/local/bin/nagios-status: #!/bin/sh /bin/cat /usr/local/nagios/var/status.logwhere /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
Changes0.0.30 some fixes to get Nagios 3.0 support really work0.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![]() LinksYou might be interested in MultiTail: that program enables you to monitor logfiles while viewing the output of httping in a seperate window!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. Something quiet similar: nsc. | ||||||||||||
| ||||||||||||