How to change a nagios vaiable value(MACRO value)

How can i change nagios variable which mentioned under commands.cfg file. I need to modify the value of a field . For example nofiy-by-mail section HOSTSTATE
field outout i am reciving as UP and DOWN , it should be something else which i am defining . Is there any way to modify the value of this macros.Please ssist

Thanks in advance.

define a different macro and use that… HOSTSTATE shouldn’t be redefined.

nagios.sourceforge.net/docs/3_0/macros.html

Thanks for your reply let me try this …