OpManager script for Ubuntu

OpManager script for Ubuntu

I would like to create a script monitor that checks for the existence of  /var/run/reboot-required.  If the file exists, the monitor should be in alarm.  If it does not exist, the monitor should be in the cleared state.  I assume this would be a simple script.  How do I do it?

                New to ADSelfService Plus?