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 > 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