[Nagiosplug-devel] NSCA 2.4 patch

admin at jpk236.com admin at jpk236.com
Tue May 3 15:53:04 CEST 2005


Here is a patch a buddy of mine put together which allows the nsca.cfg 
for the nsca daemon to allow hostnames, along with IPs, in the 
allowed_hosts field.  It uses the gethostbyname and the inet_ntoa system 
functions.

The patch was coded to work the FreeBSD ports version of nsca-2.4. 
However, even though the patch is not portable, the modification itself is.

Author :: Brian Gillis
Patch :: http://www.thegillis.net/examples/nagios/nsca.gillis.patch

Installation ::
#> cd /usr/ports/net-mgmt/nsca
#> wget http://www.thegillis.net/examples/nagios/nsca.gillis.patch
#> make extract
#> patch -p1 < nsca.gillis.patch
#> make install



  - Justin Kulikowski
	[ http://www.jpk236.com ]
	




More information about the Devel mailing list