Submit a ticketCall us

Bridging the ITSM Divide
Integrated help desk and remote support software for faster resolution

Join us on Wednesday, November 29, 2017 at 11 a.m. CT, as we discuss the benefits of effectively integrating your help desk software with remote support solutions to help increase the efficiency of IT administration, improve communication, and decrease mean time to resolution (MTTR) for IT issues of all sizes. This directly impacts end-user satisfaction and your business’ bottom line. Register Now.

Home > Success Center > Server & Application Monitor (SAM) > SAM Apache template Perl Error unable access to xxx

SAM Apache template Perl Error unable access to xxx

Updated: October 19, 2017

Overview

When setting up the Apache Perl template according to these instructions, you receive the following message during testing:

Testing on node '10.xx.xxxxxxxxxxxxxx.xxx' failed with 'Down' status ('Down' might be different if script exits with a different exit code).
unable access to xxx
Output: =====================================================
perl /tmp/APM_1445605608.pl $ixxxx xxx 
Message: unable access to xx
Statistic: 0
"; print "Statistic: 0\n"; exit 

Environment

  • SAM All versions

Cause

The body of the scripts must be modified to input your custom port as it does not support redirection.

Resolution

  1. Edit the Apache template.
  2. Expand the component monitors used in the SAM template.
  3. Edit the script body of each component and add after the $hostname: your custom port.

Example, if you have a custom port of 4400 you would replace: 
$url = "$hostname/server-status?auto&match=www&errors=0";
with:
$url variable: $url = "$hostname:4400/server-status?auto&match=www&errors=0";

 

Last modified

Tags

Classifications

Public