vanheusden.com

NagCon

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


Download

GitHub: https://github.com/folkertvanheusden/NagCon


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'.


Screendump

screendump of nagcon

For contact info, see this page.