Critical web checks can be due to several factors:
- That the Pandora FMS server does not have access to the URL of the web page.
- The content of the web page has changed and it does not coincide with the module configuration.
- The connection is cut between Pandora FMS server and the web page due to a proxy or a firewall.
- If we want to get more details about the module error, we can add an additional parameter to get error messages, for it we will have to add the following line to the module:
debug /tmp/request.log
We would have a module similar to:
task_begin get https://www.pandorafms.com cookie 1 resource 1 check_string Media Kit debug /tmp/request.log task_end
When the module is executed again, we will have to access to Pandora FMS server through a terminal and get the error in the debug file that it has created in its execution.
/tmp/request.log
Once we identify the error we can take the appropriate actions.