The EPEL yum repository for CentOS 7 has ocsinventory-server - which should 'just work' with the stock mariadb. The EPEL repository policy of not overwriting any base distribution packages should make it somewhat safer than installing from the remi repository.