Re: Monitoring Wizard - Configuration verification failed
Posted: Thu Sep 08, 2016 2:16 pm
on the ubuntu system:
root@gberger-ubuntu:/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_cpu_stats.sh -w 85 -c 95
/usr/local/nagios/libexec/check_cpu_stats.sh: 140: /usr/local/nagios/libexec/check_cpu_stats.sh: Syntax error: redirection unexpected
on a RHEL6 system:
[root@ehealth-linux ~]# /usr/local/nagios/libexec/check_cpu_stats.sh -w 85 -c 95
CPU STATISTICS OK: user=2.61% system=10.02% iowait=0.00% idle=87.37% | user=2.61% system=10.02% iowait=0.0%;85;95 idle=87.37%
root@gberger-ubuntu:/usr/local/nagios/libexec# /usr/local/nagios/libexec/check_cpu_stats.sh -w 85 -c 95
/usr/local/nagios/libexec/check_cpu_stats.sh: 140: /usr/local/nagios/libexec/check_cpu_stats.sh: Syntax error: redirection unexpected
on a RHEL6 system:
[root@ehealth-linux ~]# /usr/local/nagios/libexec/check_cpu_stats.sh -w 85 -c 95
CPU STATISTICS OK: user=2.61% system=10.02% iowait=0.00% idle=87.37% | user=2.61% system=10.02% iowait=0.0%;85;95 idle=87.37%