Landlording can be very profitable, but it's literally the opposite of passive income. Landlords who are successful over the long term tend to be very active and hands-on in terms of vetting tenants and maintaining properties. You can turn all of that over to a property management company for a fee but many of them will rob you blind via tricks like kickbacks from vendors.
It's not "the opposite of passive income", the opposite is fully 'active' income - directly selling your work for money, like a job. What you mean is that it's not fully passive, as in you can't disappear for years and still have money quietly dripping into your bank account. I would say it's 95% passive income and 5% active income, with a large variance depending on your exact situation. Most of your time is spent passively earning from what you own, and you occasionally need to expend some time and money to maintain your property and manage tenants. But once those are handled, landlords can go many months without needing to do anything but collect money.