My mother had a half dozen hummingbird feeders, and had something very similar, although commercially prepared.

We used a few drops of dish soap in the water rather than oil, and cleaned them out occasionally.

Worked like a charm.

-jk