| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- ###############################
- # Makefile for NRPE
- #
- # Last Modified: 10-14-2003
- ###############################
- # Source code directories
- SRC_BASE=./src/
- SRC_INCLUDE=./include/
- all:
- cd $(SRC_BASE); $(MAKE) ; cd ..
- @echo ""
- @echo "*** Compile finished ***"
- @echo ""
- @echo "If the NRPE daemon and client compiled without any errors, you"
- @echo "can continue with installation. The NRPE daemon and client"
- @echo "binaries are located in the src/ subdirectory."
- @echo ""
- @echo " ** If this is your monitoring host **"
- @echo ""
- @echo " - Copy the check_nrpe client to the directory that"
- @echo " contains your Nagios plugins."
- @echo " - Create a command definition in your Nagios config"
- @echo " file for the NRPE client. See the README file for"
- @echo " more info on doing this."
- @echo ""
- @echo " ** If this host will be running the NRPE daemon **"
- @echo ""
- @echo " - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios"
- @echo " or wherever you feel it fits best."
- @echo " - Copy the sample nrpe.cfg config file to /etc,"
- @echo " /usr/local/nagios or wherever you feel it fits best."
- @echo " - Modify the /etc/services file and configure NRPE to"
- @echo " run under inetd, xinetd, or as a standalone daemon."
- @echo " See the README file for more info on doing this."
- @echo ""
- nrpe:
- cd $(SRC_BASE); $(MAKE) ; cd ..
- check_nrpe:
- cd $(SRC_BASE); $(MAKE) ; cd ..
- clean:
- cd $(SRC_BASE); $(MAKE) $@ ; cd ..
- rm -f core
- rm -f *~ */*~
- distclean: clean
- cd $(SRC_BASE); $(MAKE) $@ ; cd ..
- rm -f config.log config.status config.cache nrpe.cfg nrpe.xinetd subst $(SRC_INCLUDE)/config.h init-script init-script.debian init-script.freebsd
- rm -f sample-config/*.cfg sample-config/*.xinetd
- rm -f Makefile
- devclean: distclean
|