Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Apache template error: Cannot connect to localhost

Apache template error: Cannot connect to localhost

Overview

When using the Apache Template, you receive the following error:

Cannot connect to localhost.

Environment

All SAM versions

Resolution

Check if mod_status is enabled.To do this, follow the instructions found at:

http://serverfault.com/questions/328...tus-is-enabled (© 2018 Stack Exchange Inc, available at https://serverfault.com, obtained on October 15, 2018)

More instructions are available here:

http://httpd.apache.org/docs/2.2/mod/mod_status.html (© 2018 The Apache Software Foundation, available at http://httpd.apache.org, obtained on October 15, 2018)

 

Also, if Server-Status page is on a non-standard port (80), set the Monitor's Command Line as follows:

 

Perl ${Script} {IP or Hostname}:{Port}

 

***Replace {IP or Hostname} with actual IP or Hostname.

***Replace {Port} with actual port

 

Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment.  You elect to use third party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.

 

Last modified

Tags

Classifications

Public