Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
cluckinchicken
bycluckinchicken, February 21, 2012
I get this when I try to run it. Any ideas?
sh: /bin/awk: not found
sh: /bin/awk: not found
SNMPv2-SMI::enterprises.789.1.5.4.1.3.: Unknown Object Identifier (Sub-id not found: enterprises -> )
SNMPv2-SMI::enterprises.789.1.5.4.1.4.: Unknown Object Identifier (Sub-id not found: enterprises -> )
Use of uninitialized value $dfBT in division (/) at ./check_netapp-du line 62.
Use of uninitialized value $dfBU in division (/) at ./check_netapp-du line 67.
Illegal division by zero at ./check_netapp-du line 70.
sh: /bin/awk: not found
sh: /bin/awk: not found
SNMPv2-SMI::enterprises.789.1.5.4.1.3.: Unknown Object Identifier (Sub-id not found: enterprises -> )
SNMPv2-SMI::enterprises.789.1.5.4.1.4.: Unknown Object Identifier (Sub-id not found: enterprises -> )
Use of uninitialized value $dfBT in division (/) at ./check_netapp-du line 62.
Use of uninitialized value $dfBU in division (/) at ./check_netapp-du line 67.
Illegal division by zero at ./check_netapp-du line 70.
bycluckinchicken, January 30, 2012
I could run from the CLI fine, but when Nagios made the call, I would get a Null result.
After some research, I changed the script at the top to show the path of my plugins directory, and all was well!
use lib qw( / );
After some research, I changed the script at the top to show the path of my plugins directory, and all was well!
use lib qw( / );