NSCA 2.4 patch

admin at jpk236.com admin at jpk236.com
Wed May 4 17:28:27 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 
should be.

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 ]




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20




More information about the Developers mailing list