Page 1 of 1

[Nagios-devel] NSCA 2.4 patch

Posted: Wed May 04, 2005 7:28 am
by Guest
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
should be.

Author :: Brian Gillis
Patch :: http://www.thegillis.net/examples/nagio ... llis.patch

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



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







This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]