ONTAP Discussions

Snapcenter SCCLI CLI Tool Exit code reference

shocko
254 Views

I'm using Snapcenter 4.6 mainly with the Oracle plugin and developing some automation scripts. Is there a defined list of return/exit codes for the SCCLI tool? I don't see anything mentioned here SnapCenter_Software_4.6_Command_Reference_Guide (netapp.com)

1 ACCEPTED SOLUTION

RossC
184 Views

Hey @shocko 

 

I did some digging around in our docs and couldn't locate what you are looking for. We do however document exit codes/call responses for the Snap Center API. So I am not sure if it might simpler for you to leverage the API instead for your automation needs. More info here - https://docs.netapp.com/us-en/snapcenter/sc-automation/overview_rest_apis.html 

 

You may try contacting Support to see if they have that information, but I suspect support would be checking the same areas I did. 

 

I have also passed along feedback to consider adding the exit code/returns summary to the Command Reference guides. 

View solution in original post

1 REPLY 1

RossC
185 Views

Hey @shocko 

 

I did some digging around in our docs and couldn't locate what you are looking for. We do however document exit codes/call responses for the Snap Center API. So I am not sure if it might simpler for you to leverage the API instead for your automation needs. More info here - https://docs.netapp.com/us-en/snapcenter/sc-automation/overview_rest_apis.html 

 

You may try contacting Support to see if they have that information, but I suspect support would be checking the same areas I did. 

 

I have also passed along feedback to consider adding the exit code/returns summary to the Command Reference guides. 

Public