Ladies and gentlemen, I have a service running on nagios server and I would like to submit passive test results from a client script.
I see that nagios has an interface to submit those results: https://my.nagios.com/nagios/cgi-bin/cmd.cgi? cmd_typ=30&host=my.host.com&service=nagios+test+service& I go there and I see a form. All it takes is to fill this form and then clic submit. So I figured out that if I embed the form fields in URL and then load the URL then I will effectively submit the form. So I do: https://my.nagios.com/nagios/cgi-bin/cmd.cgi? cmd_typ=30&host=my.host.com&service=nagios+test +service&plugin_state=3&plugin_output=pluginOuttput&performance_data=test&btnSubmit=Commit I load this page - and nothing happens. How do you submit passive test results to nagios from scripts? Tom ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
