Doing the make install in /usr/ports/net-mgmt/nsca and the file, nsca.cfg-sample, is installed to /usr/local/etc directory. I copied it over to nsca.cfg in /usr/local/etc/nagios.cfg and edited it properly. Looked in the rc.d startup script for proper line to add to rc.conf. Noticed the path is pointed to /usr/local/etc/nagios/nsca.cfg.
I think that the sample file should be installed into /usr/local/etc/nagios.
There could be a valid reason not to do that if nagios directory does not exist due to no install of nagios.
It took me about 10 mins to find the nsca.cfg-sample after I did make install clean. I did not have access to my large buffer to notice the results of make install clean to know exactly where it was installed.
Instead I created the nsca.cfg from scratch and stumbled onto this nsca.cfg-sample by accident while looking in /usr/local/etc/ directory.
How-To-Repeat: cd /usr/ports/net-mgmt/nsca
ls /usr/local/etc/ | grep nsca
Over to maintainer (via the GNATS Auto Assign Tool)
mm 2007-12-25 19:38:41 UTC
FreeBSD ports repository
net-mgmt/nsca Makefile pkg-plist
net-mgmt/nsca/files pkg-message.client.in pkg-message.in
- Change install location of default configuration files
- Add pkg-message information for client and server installs
- Bump PORTREVISION
Revision Changes Path
1.15 +18 -2 ports/net-mgmt/nsca/Makefile
1.1 +9 -0 ports/net-mgmt/nsca/files/pkg-message.client.in (new)
1.1 +9 -0 ports/net-mgmt/nsca/files/pkg-message.in (new)
1.3 +4 -3 ports/net-mgmt/nsca/pkg-plist
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
Commited, with changes. Thanks!