We have the requirment to output alarms from the NAS to a XML formatted e-mail.
Our original plan, was to use the emailgtw probe, but thsi only support html profiles, not XML.
There should be a script example in the examples directory called example-xml-alarms. It will when executed produce an xml file with the current alarms in it.
-- This example will use an external library and will save a file '/alarms.xml'-- containing an XML documentrequire ("library/xml-alarms-lib")buf = xml_alarms()if buf ~= "" then file.create ("/alarms.xml", buf )else print "No open alarms, file is not written..."end
Retrieving data ...