Judge Rex Hesseman also sentenced the 27-year-old "Lost" star to 30 days of community service with the Sheriff's Department, stints with the Mothers Against Drunk Driving victim impact panel and the city's hospital and morgue program, plus an alcohol education program, said spokesman Frank Mateljan.
Rodriguez is scheduled to begin her jail term May 31, he said.
The violation stemmed from a December arrest in Honolulu on suspicion of drunk driving, for which she served five days in jail.
The Honolulu arrest violated the three-year probation term Rodriguez was given in Los Angeles in 2004 after pleading no contest to charges of hit-and-run, driving on a suspended license and driving under the influence of alcohol, Mateljan said.
Rodriguez's probation was extended until June 2009, he said.
A message left with Rodriguez's attorney, Henry Holmes, was not immediately returned.
Rodriguez's "Lost" character, Ana Lucia, was fatally shot two weeks ago.