Open-AudIT https://www.open-audit.org/phpBB3/ |
|
[help] audit_esxi.sh /bi: not found https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6424 |
Page 1 of 1 |
Author: | shanimal [ Wed Apr 08, 2015 12:59 am ] | ||
Post subject: | [help] audit_esxi.sh /bi: not found | ||
I've used snmp scans for the esxi servers and have never been able to successfully use the audit script. When I try to use the latest version 1.6.2 I get "/bi: not found" errors (see attached screenshot which halts the script, and nothing ever gets uploaded to the server. Any ideas? thanks
|
Author: | Mark [ Wed Apr 08, 2015 12:29 pm ] |
Post subject: | Re: [help] audit_esxi.sh /bi: not found |
What version of ESXi are you running? On line 466 of audit_esxi.sh, can you replace [code]start_time=$(timer)[/code] with [code]start_time=`timer`[/code] Then re-run the script and see if line 466 generates an error. |
Author: | shanimal [ Wed Apr 08, 2015 11:57 pm ] | ||
Post subject: | Re: [help] audit_esxi.sh /bi: not found | ||
Running esxi 5 update 3 aka Releasebuild-1311175 I made the change, the error didn't change
|
Author: | Mark [ Fri Apr 10, 2015 8:50 am ] |
Post subject: | Re: [help] audit_esxi.sh /bi: not found |
That's weird. I can't see why it would do that. If anyone else has any idea's, now would be a nice time to chime in. I "might" be able to run up an image of the same version and test it. |
Author: | shanimal [ Thu Jun 25, 2015 12:22 am ] | ||
Post subject: | Re: [help] audit_esxi.sh /bi: not found | ||
Checking into this further. Looking at the esxi audit script OA_DMIDECODE [code]OA_DMIDECODE=`which dmidecode 2>/dev/null` if [ "$OA_DMIDECODE" = "" ] || [ "$OA_DMIDECODE" = " " ] || [ -z "$OA_DMIDECODE" ]; then if [ -f "/usr/local/sbin/dmidecode" ]; then OA_DMIDECODE="/usr/local/sbin/dmidecode" fi fi[/code] On our esxi 5 hosts the location of sbin is /usr/sbin (not /usr/local/sbin) attached (sbin.JPG) are the files found at /usr/sbin According to ablogpost I found [url]http://nutanix.blogspot.com/2013/06/esxi-kvm-commands-equivalent.html[/url] smbiosDump is an alternative to dmidecode
|
Page 1 of 1 | All times are UTC + 10 hours |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |