Do we have the Monitoring Plugin or Custom Executable or Java executable Development Guide lines

While we want to include the any custom executable to be returning some desired , output and exit status to the Application to ingest the data its giving and display it in the monitoring .
we do not have any guidelines in the help manual what to return to the the application .
Can we get it .