Messages seen in the connector.log of the VMWare agent are as follows:
2011-06-08 13:55:43,947 [5] ERROR VirtualESXAgent.DataEnvelope - Failed to send VMW:VMWMetrics to http://foglight:8080/foglight-xml-adapter/tree-data with Error : ProtocolError The remote server returned an error: (413) Data file to long: 50120638, max: 50000000.
XML-HTTP Agent Adapter
The XML-HTTP Agent Adapter enables agents to post data in XML format over HTTP.
Follow the steps below to solve the issue:
- Open web.xml, which is located in $FMS_HOME/cartridge/XmlHttpAgentAdapter-*.car, component XmlHttpAgentAdapter-5_2_4\WebApp-\foglight-xml-agent-adapter.war, file WEB-INF\web.xml
- Adjust the "maxContentLength" parameter to 90000000
Note: You will need to unzip the .car file, then unzip the .war file, edit the web.xml file and then re-package the cartridge manually (using zip).
- After modified the cartridge, disable the XMLHttpAdgent adapter from vFoglight console: "Administration | Cartridge Inventory"
- Stop the Foglight Management Service
- Delete $FMS_HOME\state\cartridge.exploded\XmlHttpAgentAdapter-
- Delete $FMS_HOME\cartridge\XmlHttpAgentAdapter folder and xmlhttpagentadapter.manifent files
- Start the Foglight Management Service and "Install/Activate" the modified XML HttpAdapter.car from the "Cartridge Inventory"
- Restart the Foglight Management Service one more time.
- Verify the connector log of the agent, that the errors no longer appear.
Please ignore the version numbers in the instructions, this should work for all versions...
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Nutzungsbedingungen Datenschutz Cookie Preference Center