Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
ravikiran189
byravikiran189, April 8, 2015
./check_cpu_perf.sh: line 200: [: -lt: unary operator expected
WHen ever we get this, i just login to the server & run sar, then the data populates & the service checks gets OK.
Is there any resolution for this bug ?
WHen ever we get this, i just login to the server & run sar, then the data populates & the service checks gets OK.
Is there any resolution for this bug ?
Its a good plugin though...But needs some modifications
For Nagios 2.X or 3.X do the following
#use lib "/usr/lib/nagios/ops_plugins" ;
needs to be replaced with
#use lib "/usr/local/nagios/libexec" ;
Thanks
RK
For Nagios 2.X or 3.X do the following
#use lib "/usr/lib/nagios/ops_plugins" ;
needs to be replaced with
#use lib "/usr/local/nagios/libexec" ;
Thanks
RK
Owner's reply
Fixed. The actual version do not use utils.pm. Therefore adaption of the path is obsolete.