Build precise queries to find exactly what you need
Press ESC to close
@cluckinchicken
Favorites0
Views
Projects0
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.
Reviewed 14 years ago
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( / );