Hopefully I can get some help here. I believe I have my notifications setup correctly. What I am looking for is a way to test my notification setup. I would like to write a script that would take as parameters the host/service name and a timestamp. It would then pass this through Nagios’ notification checks and spit back who will get notified.
I am willing to write this program but I need some help trying to find where the notification checking starts in the Nagios source files. Does anyone know how this works through the source files?