Submit a ticketCall us

WebinarUpcoming Webinar: How Help Desk and Remote Support Pays for Itself

Learn how help desk software can simplify ticketing management, allow you to track hardware and software assets, and accelerate the speed of IT support and service delivery. Gain insights on how remote support tools allow your IT team to maximize their efficiency and ticket resolution by expediting desktop troubleshooting, ultimately helping keep end-users happy and productive.

Register here.

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