Add macros


#1

Hello all
i need to edit or add new macros for nagios to use … but i coudn`t find where the macros definitions are? can any one help ? thank u


#2

Go to your nagios source directory…
src/nagios-1.2/base
You will see a file utils.c
vi utils.c
and search for CONTACTNAME or macros.
Edit away, recompile nagios and with any luck (if you are a c++ programmer) your done.

Good luck.


#3

PS, I don’t think you should do this, unless of course, you are a programmer.
Edited Mon Jun 27 2005, 01:36PM ]