How do you modify the $NOTIFICATIONTYPE$ system macro

When receiving notifications on a mobile phone, the subject line is very long. I would like to shorten the notification responses (PROBLEM, RECOVERY, ACKNOWLEDGMENT) to (PRB, RCV, ACK). Where/How do I modify the $NOTIFICATIONTYPE$ macro?

Nagios 3.0.3

Hi!

I don’t think there is a direct way to do that (like with a config file or else).

But, as nagios is open source, you could try to modify it by yourself.
NOTE: I didn’t try to do it, so I’m not sure of what follows :):
In the source files, you could edit the file cgi/notifications.c … I hope you’re good in C :slight_smile: