SAN Health Utility

Reply
Occasional Contributor
Posts: 18
Registered: ‎10-19-2010

Schedule SAN Health via windows 2008 task schedule

Hi,

I am trying to run SAN Health as a scheduled task on windows 2008 server, but when I run the task I get the below error.

*********

An error has occurred.
1)  Check LAN connectivity and for information entered incorrectly into SAN health
2)  Ensure you are using the latest version of SAN health (www.brocade.com/sanhealth)
3)  Reinstall SAN health and reboot Windows to ensure all libraries are correctly installed
4) If this error continues to occur please send the following information to SHAdmin@brocade.com
a) This error message which has been saved to WorkingDir\Audit Logs\
b) The .SET file used
c) The Windows version and patch level
d) Screenshots of any relevant windows
Error Number: 5
Description: Invalid procedure call or argument
Module: SANHealthV3
Section: Add Switches To The Audit Set
Additional Info: Selecting an Item In The Tree View
Version: 3.2.2
Build Number: DC06052010
INFO-07:00:05> New SAN Audit Set Started Using SAN Health Version 3.2.2

********

I also get (0x41301) in the scheduled task manager as the last running results.

I do know that "C:\Program Files (x86)\Brocade\SAN Health\SANHealth.exe" "E:\SAN Health Audits\Fri\Fri.Set" is correct, due to when i copy and past it to a command prompt windows it works.

I am useing the same username and password as well.

Regards

Craig

Moderator
Posts: 206
Registered: ‎07-21-2009

Re: Schedule SAN Health via windows 2008 task schedule

Hi craig.lockhart,

Per our email conversion, please check the "Run only if logged on" checkbox in the Task Scheduler.  Please let us know if this solves the problem.

Regards,

HealthDude

Occasional Contributor
Posts: 18
Registered: ‎10-19-2010

Re: Schedule SAN Health via windows 2008 task schedule

Hi,

  

I dis change that but still did not work, i have associate the SET file with the sanhealth.EXE file. double clicking the set file or execute it from the dos prompt it works. but as soon as i make it a scheduled task and execute it or run it as a scheduled time. i still get the same above error.

Regards

craig

New Contributor
Posts: 3
Registered: ‎08-12-2011

Re: Schedule SAN Health via windows 2008 task schedule

Hi  Craig

We had to remove " from the Add arguments field, it seems that Windows 2008 automatically add " around the arguments

We have later changed it so we have the SAN Health command in a bat file

Regards

Michael

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.

Download FREE NVMe eBook