Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Server & Application Monitor (SAM) > 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.

More instructions are available here:

http://httpd.apache.org/docs/2.2/mod/mod_status.html

 

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

 

 

Last modified
21:56, 30 Nov 2016

Tags

Classifications

Public