Receiving The script that failed was: './A-subcomponents'
Receiving The script that failed was: './A-subcomponents'
Hi,
Trying to install Nagios XI Centos agent an getting:
The script that failed was: './A-subcomponents'
attached is the install.log
Trying to install Nagios XI Centos agent an getting:
The script that failed was: './A-subcomponents'
attached is the install.log
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Receiving The script that failed was: './A-subcomponents
Does this machine not have iptables on it?
If not you could bypass this step by running
If not you could bypass this step by running
Code: Select all
touch installed.firewall
./upgradeRe: Receiving The script that failed was: './A-subcomponents
Thanks so much for your response!
I removed the entire linux-nrpe-agent directory and re-installed and had no issues this time.
What I am seeing now is:
CPU Stats NRPE: Unable to read output
Memory Usage NRPE: Unable to read output
Open Files NRPE: Unable to read output
all the other checks are reporting fine.
I have attached the nrpe.cfg and the libexec ls results.
Thanks for your assistance.
I removed the entire linux-nrpe-agent directory and re-installed and had no issues this time.
What I am seeing now is:
CPU Stats NRPE: Unable to read output
Memory Usage NRPE: Unable to read output
Open Files NRPE: Unable to read output
all the other checks are reporting fine.
I have attached the nrpe.cfg and the libexec ls results.
Thanks for your assistance.
You do not have the required permissions to view the files attached to this post.
Re: Receiving The script that failed was: './A-subcomponents
How was nrpe installed on the remote system? With our agent, or through source? Usually, the nrpe daemon is controlled by xinetd, so you may have to edit the xinetd settings to allow your nagios server to access the daemon remotely. See the following doc for more info:
http://assets.nagios.com/downloads/nagi ... utions.pdf
http://assets.nagios.com/downloads/nagi ... utions.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Receiving The script that failed was: './A-subcomponents
Might be a permissions problem. Can you run the ls again but this time as "ls -l" for the long output?
Also, do you have anything listed in /usr/local/nagios/etc/nrpe? Your current NRPE config looks like it has nothing defined.
Also, do you have anything listed in /usr/local/nagios/etc/nrpe? Your current NRPE config looks like it has nothing defined.
Former Nagios employee
Re: Receiving The script that failed was: './A-subcomponents
here is the ls -l
and the nrpe.conf file
I ran the linux server wizard and copied the nrpe.conf from the same centos 5.9 server in the cluster that has no issues.
and the nrpe.conf file
I ran the linux server wizard and copied the nrpe.conf from the same centos 5.9 server in the cluster that has no issues.
You do not have the required permissions to view the files attached to this post.
Re: Receiving The script that failed was: './A-subcomponents
this is the issue now:
NRPE: Unable to read output on check_nrpe!check_cpu_stats!-a '-w 85 -c 95'
NRPE: Unable to read output on check_nrpe!check_cpu_stats!-a '-w 85 -c 95'
Re: Receiving The script that failed was: './A-subcomponents
Can you run the check from the cli?
Code: Select all
./check_cpu_stats.sh -w 85 -c 95Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Receiving The script that failed was: './A-subcomponents
./check_cpu_stats.sh -w 85 -c 95
./check_cpu_stats.sh: line 139: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 142: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 152: [: 0.00: integer expression expected
./check_cpu_stats.sh: line 156: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 160: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 164: [: 99.80: integer expression expected
CPU STATISTICS OK: user=0.00% system=0.10% iowait=0.10% idle=99.80% | user=0.00% system=0.10% iowait=0.10%;85;95 idle=99.80%
./check_cpu_stats.sh: line 139: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 142: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 152: [: 0.00: integer expression expected
./check_cpu_stats.sh: line 156: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 160: [: 0.10: integer expression expected
./check_cpu_stats.sh: line 164: [: 99.80: integer expression expected
CPU STATISTICS OK: user=0.00% system=0.10% iowait=0.10% idle=99.80% | user=0.00% system=0.10% iowait=0.10%;85;95 idle=99.80%
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Receiving The script that failed was: './A-subcomponents
What version of "check_cpu_stats" are you trying to use, can you provide a link to it's exchange listing? I'd like to try and reproduce this. If you could also attach the plugin itself here that would be great.